Closed estudio143 closed 6 years ago
Hi @estudio143,
The plugin works for Phonegap/Cordova CLI, so we believe it is related to Phonegap Build not being updated to support XCode 9, which is required for the latest version of the plugin.
Meanwhile, could you please provide us with your build logs?
Also having this issue, I'm using an older plugin version for it to work..
@mekemike what version are you using and how are you implementing an older version? I am having this issue too
@tommybstitch You can specify a previous version in your config.xml file. I'm currently using this:
<gap:plugin name="pushwoosh-pgb-plugin" source="npm" version="7.0.6" />
Thanks! I found that in the docs right after I posted that response, hah.
<plugin name="pushwoosh-cordova-plugin@7.0.5" source="npm" />
is working for me.
It still works with:
<plugin name="pushwoosh-cordova-plugin@7.0.8" source="npm"/>
IOS phonegap build fails for 7.0.7+ here too. (7.0.6 is working).
and I believe this is issue is preventing push notifications on IOS 11 devices. (ref. https://stackoverflow.com/questions/46881252/ios-11-push-notifications-do-not-work-with-pushwoosh). is this the case for everyone else too?
@estudio143 @esnaz143 @mekemike @tommybstitch @theblanchard @Manmade @anibalsanchez @keenly
Good news everyone! We've added a separate branch which supports XCode 8.3.3 used by Adobe on their build servers, so it should be working correctly now:
https://github.com/Pushwoosh/pushwoosh-phonegap-plugin/tree/7.1.0_xcode8_3_3
You can use a direct Github URL or pushwoosh-pgb-plugin to add it to your project.
@wfhm Thank you. I changed from pushwoosh-cordova-plugin to pushwoosh-pgb-plugin. now IOS is working bit the android build is failing.
@keenly Could you please provide us with Android build log? Is there any error description in it?
Thanks @wfhm android build log.txt
the best i've managed is to build with the 7.0.8 version:
I've also been getting notifications on my iphone (ios 11.2.1) today without having updated the apps at all. so that's good i hope.
@keenly
The reason build is failing is that the latest version of the plugin requires Java 8, which is sadly not seemingly supported by Adobe on their build servers yet, just as it is with XCode 9. We will investigate it and I'll update you once there is any news.
@keenly pushwoosh-pgb-plugin now supports Java 7 (starting with 7.2.2 version). If the issue is not resolved with it, you can use pushwoosh-cordova-plugin@7.2.2, however please note that this solution will only work for Android, iOS build will fail in this case due to the reasons described above.
Phonegap Build failed trying to create iOS version with pushwoosh plugin.