Android AR View : iframe not working on local files
A
Amaury Belin
started a topic
over 5 years ago
I have a strange bug on Android regarding iframes in the Architect View. When I try to load a local file within an iframe in such context, the app loses focus and Android try to open something with an external app: "com.google.android.apps.viewer.PdfViewerActivity" (??)
Nothing is loaded in the iframe as a result.
The same iframe works perfectly when I move it to the initial cordova webview. This behavior does not appear on iOS.
To reproduce this, just add this line to any AR World of the plugin sample :
I observed the problem on a moto G with android 5 and a LG G4 on android 6.
1 Comment
Wikitude Technical Support
said
about 5 years ago
Hi Amaury,
thank you for reporting this issue, I was able to reproduce it on an Android 5 phone and was able to find the origin of this issue but will have to investigate further to be able to fix it.
Amaury Belin
I have a strange bug on Android regarding iframes in the Architect View. When I try to load a local file within an iframe in such context, the app loses focus and Android try to open something with an external app: "com.google.android.apps.viewer.PdfViewerActivity" (??)
Nothing is loaded in the iframe as a result.
The same iframe works perfectly when I move it to the initial cordova webview. This behavior does not appear on iOS.
To reproduce this, just add this line to any AR World of the plugin sample :
I observed the problem on a moto G with android 5 and a LG G4 on android 6.