mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:23:10 +08:00
docs(): changed old cli commands (#1644)
Im also removed some V2 tags from Ionic and Angular
This commit is contained in:
parent
328e5de3f3
commit
b4deaaa941
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@ -4,7 +4,7 @@
|
|||||||
#### There are no rules, but here are a few things to consider:
|
#### There are no rules, but here are a few things to consider:
|
||||||
###### Before you submit an issue:
|
###### Before you submit an issue:
|
||||||
* Do a quick search to see if there are similar issues
|
* Do a quick search to see if there are similar issues
|
||||||
* Make sure that you are waiting for `deviceready` to fire before interacting with any plugin. If you are using Ionic 2, this can be done using [the `Platform.ready()` function](http://ionicframework.com/docs/api/platform/Platform/#ready).
|
* Make sure that you are waiting for `deviceready` to fire before interacting with any plugin. If you are using Ionic, this can be done using [the `Platform.ready()` function](http://ionicframework.com/docs/api/platform/Platform/#ready).
|
||||||
* **Check that you are using the latest version of** `ionic-native`, you can install the latest version by running `npm i --save @ionic-native/core@latest`
|
* **Check that you are using the latest version of** `ionic-native`, you can install the latest version by running `npm i --save @ionic-native/core@latest`
|
||||||
|
|
||||||
###### Still having problems? submit an issue with the following details:
|
###### Still having problems? submit an issue with the following details:
|
||||||
|
@ -25,7 +25,7 @@ export const getPromise = (callback: Function): Promise<any> => {
|
|||||||
callback(resolve, reject);
|
callback(resolve, reject);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
console.error('No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular 2 or on a recent browser.');
|
console.error('No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ export interface DeeplinkMatch {
|
|||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* Alternatively, if you're using Ionic 2, there's a convenience method that takes a reference to a `NavController` and handles
|
* Alternatively, if you're using Ionic, there's a convenience method that takes a reference to a `NavController` and handles
|
||||||
* the actual navigation for you:
|
* the actual navigation for you:
|
||||||
*
|
*
|
||||||
* ```typescript
|
* ```typescript
|
||||||
@ -67,7 +67,7 @@ export interface DeeplinkMatch {
|
|||||||
* });
|
* });
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* See the [Ionic 2 Deeplinks Demo](https://github.com/ionic-team/ionic2-deeplinks-demo/blob/master/app/app.ts) for an example of how to
|
* See the [Ionic Deeplinks Demo](https://github.com/ionic-team/ionic2-deeplinks-demo/blob/master/app/app.ts) for an example of how to
|
||||||
* retrieve the `NavController` reference at runtime.
|
* retrieve the `NavController` reference at runtime.
|
||||||
*
|
*
|
||||||
* @interfaces
|
* @interfaces
|
||||||
@ -103,7 +103,7 @@ export class Deeplinks extends IonicNativePlugin {
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* This is a convenience version of `route` that takes a reference to a NavController
|
* This is a convenience version of `route` that takes a reference to a NavController
|
||||||
* from Ionic 2, or a custom class that conforms to this protocol:
|
* from Ionic, or a custom class that conforms to this protocol:
|
||||||
*
|
*
|
||||||
* NavController.push = function(View, Params){}
|
* NavController.push = function(View, Params){}
|
||||||
*
|
*
|
||||||
|
@ -43,7 +43,7 @@ export interface FacebookLoginResponse {
|
|||||||
* Then type in the following command in your Terminal, where APP_ID and APP_NAME are the values from the Facebook Developer portal.
|
* Then type in the following command in your Terminal, where APP_ID and APP_NAME are the values from the Facebook Developer portal.
|
||||||
*
|
*
|
||||||
* ```bash
|
* ```bash
|
||||||
* ionic plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"
|
* ionic cordova plugin add cordova-plugin-facebook4 --variable APP_ID="123456789" --variable APP_NAME="myApplication"
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* After, you'll need to add the native platforms you'll be using to your app in the Facebook Developer portal under your app's Settings:
|
* After, you'll need to add the native platforms you'll be using to your app in the Facebook Developer portal under your app's Settings:
|
||||||
|
@ -43,7 +43,7 @@ export interface ImageResizerOptions {
|
|||||||
* Cordova Plugin For Image Resize
|
* Cordova Plugin For Image Resize
|
||||||
*
|
*
|
||||||
* Requires plugin `info.protonet.imageresizer` - use the Ionic CLI and type in the following command:
|
* Requires plugin `info.protonet.imageresizer` - use the Ionic CLI and type in the following command:
|
||||||
* `ionic plugin add https://github.com/protonet/cordova-plugin-image-resizer.git`
|
* `ionic cordova plugin add https://github.com/protonet/cordova-plugin-image-resizer.git`
|
||||||
*
|
*
|
||||||
* For more info, please see the https://github.com/protonet/cordova-plugin-image-resizer
|
* For more info, please see the https://github.com/protonet/cordova-plugin-image-resizer
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user