Did you manage to make this work? If so would you advise me?
I too experience the same problem both in ios and android.
Thanks a lot.
-Lidya
F
Frederick Chung
said
almost 10 years ago
OH! I find the solution.
If I hide the AR view before going to background mode, after the application reactived, no need to call "app.wikitudePlugin.close();" and reload the world, just call "app.wikitudePlugin.show();" is enough.
HAHA!
Thanks.
F
Frederick Chung
said
almost 10 years ago
Hi,
First, I solved the crash problem when re-active from background mode.
Need to add the following. document.addEventListener("pause", this.onDevicePause, false); document.addEventListener("resume", this.onDeviceResume, false);
Frederick Chung