-
Notifications
You must be signed in to change notification settings - Fork 1.9k
I added the plugin and i got this error while build #424
Comments
Hi mac.. i already have these Updated! |
I see something now.. Play Services are not Installed.. Let me install it! |
its still giving me the same error! |
I am just searching for a plugin that will let me read the Notifications, I am using Parse notifications, Device Registrations etc is done already.. and getting Pushes too.. what i am left is just to read the Push Notifications Payload Data that is recieved from the Parse.com |
Can you suggest me something on that! |
I am using Ionic Framework too |
After removing this plugin it builds fine.. !! |
Seems like you either have a rogue plugin installed alongside, or you have some weird bad plugin installation, for I can see you have other uncommon warnings about duplicate permissions on your AndroidManifest.xml related to push notification receipt. Is it possible you could reinstall the plugin or the android platform? |
@codecrab-studios your build environment can't find GoogleCloudMessaging.INSTANCE_ID_SCOPE which means generally means your Android environment is not setup correctly. You should make sure when this plugin gets added to your project that the build.gradle file includes the Google Play package for GCM. |
I have the same problem, my Android env is setup correctly. I removed the old push plugin and install this one instead. It is not working anymore.
|
Here is my settings:
|
I had to rollback to v1.2.3 to make it work. |
Try removing your platforms directory and re-adding Android to your project. |
I remove everything everytime, it does not change the fact that > 1.2.3 I have the error |
If it can help you the project is open source I could create a branch for you to try |
@shprink you can send me the link but I suspect it won't matter as my build can find that GCM library. I'm pretty sure it is an issue with your environment but add a link here and I will try it. |
If it is not related to these settings:
What are we missing then? |
@shprink It's 100% related to Google Play Services version 28 & Google Repository version 23. When you build the app it can't find Google Play Services (or the correct version) for some reason. Make sure your $ANDROID_HOME environment variable is set to what you expect it to be. |
I am making dozens of apps a year, do not worry $ANDROID_HOME is fine :P |
I had the same error. But in my case it was caused by a short memory of vagrant's VM. I don't know if you are using it @codecrab-studios or @shprink |
Nope, I am on OSX |
I have the same issue. Any idea? I am on OSX. |
Using 1.2.3 till we get the solution |
All, I have two OSX device and I cannot reproduce the error on either so I'm not sure what I can do in this case. My only recommendation at this point is to delete your platforms and plugins directories and re-add the platform and plugins. If anyone comes up with a solution please document it in this issue and I'll add it to the docs. |
I have done that several times, nothing changed. This is definetly a problem with our machine configuration, nothing to do with this plugin. Thanks for your time @macdonst :) |
@shprink when you figure it out please let me know. |
Is there a solution to this issue?. I have same problema. Thanks! |
I am using 1.2.3 : cordova plugin add phonegap-plugin-push@1.2.3 . It works perfectly for me, however i still have that issue with recent versions. |
@gabrielbazan7 I have find solution for build correctly. In my case
After, add plugin facebook, but jeduan fork, add plugin google+ and finally execute ionic build android. This works, but not found google+ plugin because there is google-play-services. If added google-plat-services plugin, display error: https://github.com/phonegap/phonegap-plugin-push/blob/master/docs/INSTALLATION.md#multidex Any idea?. Sorry for my English :) Thanks! |
@codecrab-studios you are using two plugins that both include the same jar. You are better off using the latest code and fixing the issue where your environment can't find the |
I just did some tests:
Test 1: I removed both plugins and the build was fine What should i do now, I need to have Facebook login plugin for sure! |
@codecrab-studios are you using the recommend plugin as per the docs? |
yes i do! |
but i think i removed it earlier ! and just used phonegap-facebook-plugin |
i think i got you now..what you saying.. https://github.com/Wizcorp/phonegap-facebook-plugin - this is the plugin i did add earlier and i think i need to install recommended plugin and I did it... the Build is great now Thanks! |
This thread has been automatically locked. |
The text was updated successfully, but these errors were encountered: