Telerik-Verified-Plugins / NativePageTransitions

Native transitions like Slide and Flip for iOS, Android and Windows Phone
277 stars 108 forks source link

Compatibility with phonegap-googlemaps-plugin & Crosswalk #66

Open em-ka opened 9 years ago

em-ka commented 9 years ago

Hi, to run phonegap-googlemaps-plugin and Crosswalk together, you have to set:

XWalkPreferences.setValue(XWalkPreferences.ANIMATABLE_XWALK_VIEW, false);

But according to NativePageTransitions docs, you have to set:

<preference name="CrosswalkAnimatable" value="true" /> 

So now it's impossible to run phonegap-googlemaps-plugin and NativePageTransitions with Crosswalk along. Does anybody know, how to resolve it? Thanks.

EddyVerbruggen commented 9 years ago

Can't we just all play along nicely!? What's the result with the maps plugin if you add the preference to config.xml?

em-ka commented 9 years ago

With CrosswalkAnimatable = true the map (and the whole app) is transparent (nothing is visible), with CrosswalkAnimatable = false a slide animation is not visible (app just jumps to next page). Tested on Android 5.1.1.

EddyVerbruggen commented 9 years ago

Since the preference can't be flipped at runtime I think you need to pick one plugin or the other.

It would be interesting to learn why the maps plugin requires it set to false, did you ask already?