This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update plugin to use GCM Cocoapods <framework> reference in plugin.xml (
#1183) * Update plugin to use CocoaPods <framework> references in plugin.xml. Requires cordova-ios 4.3.0 or greater, and cordova-cli 6.4.0 or greater. Add GoogleCloudMessaging CocoaPod v1.2.0 Add GGLInstanceID CocoaPod v1.2.1 Update package.json for cordovaDependencies cordova and cordova-ios Update plugin.xml for cordova and cordova-ios dependencies in <engines> * Update README and INSTALLATION docs for CocoaPods support. * Updated plugin.xml version to 1.9.0
- Loading branch information
Showing
53 changed files
with
41 additions
and
1,192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,9 @@ | |
- [Browser quirks](#browser-quirks) | ||
- [Browser Support](#browser-support) | ||
- [iOS details](#ios-details) | ||
- [XCode](#xcode) | ||
- [Xcode](#xcode) | ||
- [Bitcode](#bitcode) | ||
- [CocoaPods](#cocoapods) | ||
- [Additional Resources](#additional-resources) | ||
|
||
This requires phonegap/cordova CLI 5.0+ | ||
|
@@ -191,9 +192,9 @@ Firefox 46+ | |
|
||
## iOS details | ||
|
||
### XCode | ||
### Xcode | ||
|
||
XCode version 7.0 or greater is required for building this plugin. | ||
Xcode version 7.0 or greater is required for building this plugin. | ||
|
||
### Bitcode | ||
|
||
|
@@ -209,6 +210,25 @@ You have two options. The first is to [disable bitcode as per this StackOverflow | |
cordova platform update [email protected] | ||
``` | ||
|
||
### CocoaPods | ||
|
||
Required `cordova-cli` version: `6.4.0` | ||
|
||
Required `cordova-ios` version: `4.3.0` | ||
|
||
Version `1.9.0` (and above) of this plugin supports [CocoaPods](https://cocoapods.org) installation of the [Google Cloud Messaging](https://cocoapods.org/pods/GoogleCloudMessaging) library. | ||
|
||
If you are installing this plugin using `npm`, and you are using version `6.1.0` or greater of the `cordova-cli`, it will automatically download the right version of this plugin for both your platform and cli. | ||
|
||
If you are on a `cordova-cli` version less than `6.1.0`, you will either have to upgrade your `cordova-cli` version, or install the plugin explicitly: | ||
|
||
i.e. | ||
``` | ||
cordova plugin add [email protected] | ||
``` | ||
|
||
If you are installing this plugin using a `local file reference` or a `git url`, you will have to specify the version of this plugin explicitly (see above) if you don't fulfill the `cordova-cli` and `cordova-ios` requirements. | ||
|
||
## Additional Resources | ||
|
||
The push plugin enables you to play sounds and display different icons during push (Android only). These additional resources need to be added to your projects `platforms` directory in order for them to be included into your final application binary. One way of doing it is to create a hook to do the copying for you on each build. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.