Hi,
This same issue was reported some time ago and we already have a fix that will be part of our next version: 9.14.0. The new version will come out soon.
Best regards,
Aitor.
Please,
when can we expect for 9.14 version to be released? It has passed a lot of time since this was reported.
Can-devs
Hi,
we have a problem with latest Wikitude SDK 9.13.
On Android app when we want to start video drawable in fullscreen (Video Drawables Wikitude SDK Xamarin 9.13.0 Documentation)
the android app crashes. This worked fine in previous Wikitude versions.
We are using JavaScriptAPI SDK from Xamarin android app.
Probably in Android version 12 and higher, there are some changes that causes this, as android context is probably NULL when calling AR.context.startVideoPlayer(url) from JavaScriptAPI.
On lower android version phones (android 10) this is working without issues.
We have tried several other options when sending current android context to ArchitectView creation but without luck on this code: new ArchitectView(Platform.CurrentActivity);
Exception:
Unable to start activity ComponentInfo{*PACKAGE_NAME*/com.wikitude.tools.activities.MediaPlayerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.WindowInsetsController com.android.internal.policy.DecorView.getWindowInsetsController()' on a null object reference
Stack trace:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.citus.bookmedia.mobile/com.wikitude.tools.activities.MediaPlayerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.WindowInsetsController com.android.internal.policy.DecorView.getWindowInsetsController()' on a null object reference
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4325)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)