This is a migrated thread and some comments may be shown as answers.

Different plugins for different OS

1 Answer 40 Views
Command-Line Interface
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ste
Top achievements
Rank 1
Ste asked on 01 Jun 2016, 02:58 PM

Hi,
we are using AppsFlyer plugin, whose latest version is compatible with Phonegap/Cordova >= 4.3.x.
Unfortunately, as you know, currently in both Telerik's latest framework
versions Cordova for iOS does not meet the minimum requirements for AppsFlyer:
4.0.0 (Android 4.1.1, iOS 3.8.0 WP 3.8.0-2)
5.0.0 (Android 5.1.0, iOS 4.0.1 WP 3.8.2) - Experimental

I tried to use the previous AppsFlyer version, built against Phonegap/Cordova >= 3.0.3, but it doesn't build on Android for some reason (it does on iOS).

Would it be possible to use two different versions of the AppsFlyer plugin, one when building on Android and another one for building on iOS?
How can I set up that?

Thanks

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 06 Jun 2016, 01:23 PM
Hi Ste,

I checked the AppsFly plugin and it seems that its latest version refers to a Cordova engine > 4.3 which is expected to break the iOS build as Cordova for iOS 4.3 is still not released (you can further check this here).

Additionally, you can also see what the engine tag does, here.

This said, I believe that the plugin needs to be refactored and this line changed to:
<engines>
    <engine name="cordova-android" version=">=4.3.0"/>
    <engine name="cordova-ios" version=">=4.0.1"/>
</engines>

I hope this helps.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Command-Line Interface
Asked by
Ste
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or