platform-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.1 • Public • Published

PlatformHelper

@Injectable()
export class PlatformHelper

Library provides @Injectable class that helps to determine either client's platform is mobile and is it IOS or Android platform

PlatformHelper methods

public isMobilePlatform(): Observable<boolean> - returns true if clients platform is mobile platform
public isAndroid(): Observable<boolean> - returns true if clients platform is Android
public isIos(): Observable<boolean> - returns true if clients platform is IOS

Readme

Keywords

none

Package Sidebar

Install

npm i platform-helper

Weekly Downloads

1

Version

1.0.0-beta.1

License

none

Unpacked Size

40.2 kB

Total Files

16

Last publish

Collaborators

  • shark_vik