mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-01 11:03:01 +08:00
docs(): minor update
This commit is contained in:
parent
585d4ff37b
commit
8b48d6c275
@ -9,12 +9,12 @@ import { Cordova, Plugin } from './plugin';
|
|||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
* ```typescript
|
* ```typescript
|
||||||
* import { AppAvailability } from 'ionic-native';
|
* import { AppAvailability, Device } from 'ionic-native';
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* let app;
|
* let app;
|
||||||
*
|
*
|
||||||
* if (device.platform === 'iOS') {
|
* if (Device.platform === 'iOS') {
|
||||||
* app = 'twitter://';
|
* app = 'twitter://';
|
||||||
* } else if (device.platform === 'Android') {
|
* } else if (device.platform === 'Android') {
|
||||||
* app = 'com.twitter.android';
|
* app = 'com.twitter.android';
|
||||||
|
Loading…
Reference in New Issue
Block a user