Thanks for replying. I did add the script source of the ionic-native-transitions.js to my index.html file right after the cordova.js file. I even copied that one file into my project folder and yet the same problem persisted. The one file would suffice correct or should I copy the whole dist folder? Sorry for being a newbie here. Thanks again for your help.
What about this: https://github.com/shprink/ionic-native-transitions#cordovaionic
have you installed the cordova plugin?
Here is a screenshot of my project with all plugins installed and the lib for ionic-native-transitions inside my js sub-folder.
Based on this I did execute thisā¦
ionic plugin add https://github.com/Telerik-Verified-Plugins/NativePageTransitions#0.5.5
As well as thisā¦
ionic plugin add cordova-plugin-wkwebview
then add the module as a dependency of your app
Are you really trying to see native transitions on the browser? Native transitions only work on device (iOS and Android)
Okay that makes total sense now. I apologize for misunderstanding. I tried it in both iOS and Android and the plugin is working perfectly. Thank you so much for this and good job on making this plugin. I appreciate a lot and your help. Thank you.
Hello @Shprink,
Sorry to bother you again. I was able to get the transitions working properly but it seems it had a side-effect in calling outside APIs like a web service running from a server. I found out that removing the cordova-plugin-wkwebview as well as the cordova-web-server solved the problem particularly in iOS. When these two are in my project, my xcode compilation errors out saying I need to turn off BitCode property from my Build Settings and when I do that, my app is unable to reach out to ourside APIs. But when these two plugins are removed, I was able to call outside APIs.
I know that in your documentation these components are needed to eliminate the flickering effect on iOS 9 and up so I followed it but it creates a problem to my API calls.
Any ideas?
Thank you again.
Try disabling this security: https://github.com/shprink/wordpress-hybrid-client/blob/develop/hooks/after_prepare/030_modify_plist.sh
I let you google it.
Hi Shprink, Iām trying to use yuor plugin and it works, but it takes the snapshot of destination page and slides that one (instead of the one thatās generating the event).
Have you any suggestion to fix this problem? You need further details?
Thanks.
Do not overwrite the default options to test.
Thanks for your hint, but Iām not overwriting defaultsā¦
Im adding āionic-native-transitionsā to angular.module and configuring like this:
.config(function($ionicNativeTransitionsProvider){
$ionicNativeTransitionsProvider.setDefaultTransition({
type: āslideā,
direction: āleftā
});
$ionicNativeTransitionsProvider.setDefaultBackTransition({
type: āslideā,
direction: ārightā
});
})
these are the only things I have to do to have slide transitions on default events and on back button, right?
Another question: I installed either the telerikās plugin from cordova and your ionic-native-transitions from bowerā¦ is this right?
Testing on iPhone with iOS 9.3.
Thanks again!
Also tried to install WKWebView from Telerik but Iām using cordova-ios@4 and itās not functioning (does not compile)ā¦ so I tried WKWebView-Engine but it loops and crashes (maybe some isue or unsuppotted feature).
Soā¦ I think there is no solution to this problem, right?
Thank you so much,
IDK man, sorry I do not have the time to check. Feel free to create an issue on the repo, maybe someone will help.
Thanksā¦ solved using wkwebview-engine-localhost as said here https://github.com/shprink/ionic-native-transitions/issues/96