Pushwoosh / pushwoosh-phonegap-plugin

Pushwoosh PhoneGap Build Plugin
Other
110 stars 139 forks source link

pgb build failed with new pushwoosh plugin version #262

Closed estudio143 closed 6 years ago

estudio143 commented 7 years ago

Phonegap Build failed trying to create iOS version with pushwoosh plugin.

wfhm commented 7 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?

esnaz143 commented 7 years ago

http://www.estudio143.com/clientes/00appadmin/wp-content/uploads/2017/09/build_log.rtf

mekemike commented 7 years ago

Also having this issue, I'm using an older plugin version for it to work..

dodontommy commented 7 years ago

@mekemike what version are you using and how are you implementing an older version? I am having this issue too

theblanchard commented 7 years ago

@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" />

dodontommy commented 7 years ago

Thanks! I found that in the docs right after I posted that response, hah.

Manmade commented 7 years ago

<plugin name="pushwoosh-cordova-plugin@7.0.5" source="npm" /> is working for me.

anibalsanchez commented 6 years ago

It still works with:

<plugin name="pushwoosh-cordova-plugin@7.0.8" source="npm"/>
keenly commented 6 years ago

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?

wfhm commented 6 years ago

@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.

keenly commented 6 years ago

@wfhm Thank you. I changed from pushwoosh-cordova-plugin to pushwoosh-pgb-plugin. now IOS is working bit the android build is failing.

wfhm commented 6 years ago

@keenly Could you please provide us with Android build log? Is there any error description in it?

keenly commented 6 years ago

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.

wfhm commented 6 years ago

@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.

wfhm commented 6 years ago

@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.