diff options
Diffstat (limited to 'StoneIsland/plugins/phonegap-plugin-push/docs/PHONEGAP_BUILD.md')
| -rw-r--r-- | StoneIsland/plugins/phonegap-plugin-push/docs/PHONEGAP_BUILD.md | 29 |
1 files changed, 3 insertions, 26 deletions
diff --git a/StoneIsland/plugins/phonegap-plugin-push/docs/PHONEGAP_BUILD.md b/StoneIsland/plugins/phonegap-plugin-push/docs/PHONEGAP_BUILD.md index 7f460738..8a95d6a1 100644 --- a/StoneIsland/plugins/phonegap-plugin-push/docs/PHONEGAP_BUILD.md +++ b/StoneIsland/plugins/phonegap-plugin-push/docs/PHONEGAP_BUILD.md @@ -4,20 +4,19 @@ - [Including the plugin](#including-the-plugin) - [Adding Resources](#adding-resources) - [IntelXDK Support](#intelxdk-support) -- [Ionic Cloud Build](#ionic-cloud-build) ## PhoneGap Build Support -> PhoneGap Build now support version 1.9.0 of the plugin. +> Currently PhoneGap Build does not support version 1.9.0 of the plugin. Updates are being made to PGB to support the latest release. ### Including the plugin -Including this plugin in a project that is built by PhoneGap Build is as easy as adding (replacing `123456789` with your own, that is): +Including this plugin in a project that is built by PhoneGap Build is as easy as adding: ```xml <preference name="android-build-tool" value="gradle" /> <plugin name="phonegap-plugin-push" source="npm"> - <param name="SENDER_ID" value="123456789" /> + <param name="SENDER_ID" value="<Your Sender ID>" /> </plugin> ``` @@ -92,25 +91,3 @@ f. you probably need to install the required gem (`gem install pushmeup`) g. send the notification (`ruby pushAPNS.rb`) 10. See notification on device! - -## Ionic Cloud Build - -Users have reported issues with Ionic Cloud Build. Apparently there are some differences in the way variables are handled. If your app has an issue where the `PushNotification` object can't be found try the following. - -1. Remove the inclusion of `phonegap-plugin-push` from config.xml. That is delete lines that look like this: - -``` -<plugin name="phonegap-plugin-push" spec="~1.9.1"> - <variable name="SENDER_ID" value="xxx"/> -</plugin> -``` -2. Add the following lines into `package.json` in the `cordovaPlugins` array. - -``` -{ - "variables": { - "SENDER_ID": "xxx" - }, - "locator": "phonegap-plugin-push" -} -``` |
