Closed felixwahner closed 8 years ago
Interesting issue - do you have a little app to reproduce this error? Or can you tell me which barcodescanner plugin and which version of this plugin you're using exactly.
We have looked into it a bit more but unfortunately (for us) could not reproduce it with a small example app.
But here are some more infos:
<preference name="CrosswalkAnimatable" value="true" />
Installed plugins:
com.telerik.plugins.nativepagetransitions 0.6.3 "Native Page Transitions"
cordova-plugin-crosswalk-webview 1.6.1 "Crosswalk WebView Engine"
cordova-plugin-fullscreen 1.1.0 "cordova-plugin-fullscreen"
cordova-plugin-splashscreen 3.1.0 "Splashscreen"
cordova-plugin-statusbar 2.1.2 "StatusBar"
cordova-plugin-whitelist 1.2.1 "Whitelist"
ionic-plugin-keyboard 2.0.1 "Keyboard"
phonegap-plugin-barcodescanner 4.1.0 "BarcodeScanner"
Thanks for those details. If the app crashes then you should be able to find the corresponding stacktrace in the Android devicelog. Can you plugin the device in via USB and run adb logcat
? Then reproduce the crash and you should see a stacktrace in the console..
Thats how we got the stacktrace in the first post. Do you need a longer extract?
I'm sorry didn't immediately realize you guys were work together on this. Are you able to make a change to NativePageTransitions.java
in a local build for a quick test?
Sorry, wasn't clear about that ;).
Sure
That comment "We use fixedPixelsTop > 0. If we set it to 0, it works fine." is interesting. Can you update the plugin from the master repo (or replace the latest NativePageTransitions.java
with what you have now) and try again?
Looks good at first glance. Thanks :).
Will test on monday a bit more, and will get back here again.
Sweet, have a good weekend!
Seems to be working. Thanks again :)
When returning from a "camera view / barcodescanner" an exception is thrown and the devices view freezes. The app still responds to touch events (seen in the inspector) but the view on the device doesn't get updated.
This happens even if NativeTransitions are deactivated before switching the state.
This is the exception: