@qubic-js/detect-inapp
v1.4.1
Published
detect browser or in-app information for mobile
Downloads
208
Keywords
Readme
Detect InApp
detect browser or in-app information for mobile
Code Example
import InApp from 'detect-inapp';
const inapp = new InApp(navigator.userAgent || navigator.vendor || window.opera);
Installation
yarn add detect-inapp
API Reference
inapp.isMobile
inapp.isDesktop
inapp.isInApp
inapp.browser
values: 'messenger', 'facebook', 'line', 'twitter', 'wechat', 'miui', 'instagram', 'chrome', 'safari', 'ie', 'firefox'
License
MIT License