Skip to content

Instantly share code, notes, and snippets.

@nottyo
Created April 25, 2022 06:24
Show Gist options
  • Save nottyo/4e48558da22aa1351887dd1363791090 to your computer and use it in GitHub Desktop.
Save nottyo/4e48558da22aa1351887dd1363791090 to your computer and use it in GitHub Desktop.
isInLineInAppBrowser
const { userAgent } = navigator;
const isInLineInAppBrowser = !liff.isInClient() && userAgent.includes('Line');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment