-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Platform support #379
Comments
Change made |
A question on this: As stated in Issue #405, I am trying to use this plugin in combination with Meteor 1.1, which is still on cordova-android 3.6.4. Because the latest version 1.4.5 added a requirement for cordova-android 4.0.0, the build failed. So I tried version 1.4.4, but got the error message below. I tracked down the change to plugin.xml to understand why this restriction had been added and found this issue here. You state that the change was made because Gradle requires 4.0.0. On the homepage of the Telerik push notification plugin (https://github.com/Telerik-Verified-Plugins/PushNotification) I read that it is also using Gradle, but this would be available since cordova-android 3.6.0. So I am wondering if my error message is related to Gradle (I don't know this technology), or anything else is going wrong with my build? It's missing a file named local.properties. Here's the full message:
|
@derwaldgeist That doesn't look like anything related to gradle issues. Actually, that's a completely new issue on cordova for me. In the subject of supporting them, gradle builds have existed in cordova since early cordova-android 3.x.y (3.6.3 to be precise) versions, but they were very unstable and incomplete. I wouldn't trust them before 4.0.0 for a serious build with plugins like phonegap-plugin-push or any facebook plugin. That's mainly the reason we bumped the requirements. Also, cordova-android 3.x.y is already on maintenance lifecycle, and will be deprecated soon, as per the "3 release deprecation policy", so unfortunately (or fortunately) you shouldn't hang on to it much longer. |
@fredgalvao Thanks a lot for your quick and detailed reply. So I assume this error is more related to Meteor. I will try an update to Meteor 1.2 now, but this had caused so many problems due to other reasons that I tried to postpone it as long as possible. Obviously, now is the time to get started :-) |
@derwaldgeist it actually looks like an ant build issue which confirms that the plugin is not compatible with the older cordova-android. |
Thanks for your replies. I updated my Meteor app to Meteor 1.2 in the meantime (which uses a more recent Cordova plugin), and the plugin is working now. |
This thread has been automatically locked. |
We have no specification on what version we support for any of the supported platforms, and the cordova version specified is very old (23 Jul 2013).
I was digging, and found that gradle support, which we count on, started being mentioned at
cordova 3.6
. However, we state inplugin.xml
that we only require it to be higher than 3.0.0.Digging deeper, the docs state that gradle started being used as the main build system only on
cordova-android@4.0.0
.Is this assumption safe? Shouldn't we bump them to the following?
The text was updated successfully, but these errors were encountered: