question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Interact with phonegap-plugin-push

See original GitHub issue

I’m submitting a … (check one with “x”) [ ] question [x] any problem or bug report [ ] feature request

If you choose ‘problem or bug report’, please select OS: (check one with “x”) [x] Android [ ] iOS

cordova information: (run $> cordova plugin list)

cordova-plugin-googlemaps 2.1.1 "cordova-plugin-googlemaps"
phonegap-plugin-push 2.1.1 "PushPlugin"

Current behavior: A problem occurred evaluating root project ‘android’.

Failed to apply plugin [class ‘com.google.gms.googleservices.GoogleServicesPlugin’] For input string: “+”

Expected behavior: That the build does not fail

Screen capture or video record: N/A

Related code, data or error log (please format your code or data):

Related issue on push plugin repo: https://github.com/phonegap/phonegap-plugin-push/issues/2086

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
wf9a5m75commented, Dec 8, 2017

If this plugin still specify +, but your plugin specify 11.4.0, Gradle uses 11.4.0 to this plugin automatically. What is the problem?

0reactions
macdonstcommented, Dec 11, 2017

@wf9a5m75 the problem is that any plugin that relies on the GoogleServicesPlugin gradle plugin to process the google-services.json file like my push plugin or any plugin that provides FCM capabilities will fail when it encounters the +. That is the reason why we want to give users the ability to specify what version of Google Services to use so their builds do not fail.

Not trying to change your mind, just wanted to answer your question. I took the weekend off.

Read more comments on GitHub >

github_iconTop Results From Across the Web

phonegap/phonegap-plugin-push: Register and ... - GitHub
This plugin offers support to receive and handle native push notifications with a single unified API. This does not mean you will be...
Read more >
phonegap-plugin-push - npm
Start using phonegap-plugin-push in your project by running `npm ... There are 12 other projects in the npm registry using phonegap-plugin-push.
Read more >
PhoneGap Plugin for Push Notifications With Cordova and Ionic
Register and receive push notifications on your Ionic apps using the Cordova plugin: phonegap-plugin-push. Read for how to install on supported platforms.
Read more >
Sending Push Notifications with the Phonegap Push Plugin in ...
We will need to make some tweaks to the plugin to get it working with iOS, but it does actually still work by...
Read more >
Phonegap Push Plugin | Implementing in iOS and ... - eduCBA
Even if the user tries to use FCM for both iOS and Android, a difference is seen in the payload required by the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found