I've already binded InvokedUrl function on the backend and I use document.location = 'architectsdk:// in Javascript at the "onEnterFieldOfVision" event. Why it sometime works fine, but sometime the InvokedUrl not fired. Help me how to fix this problem.
A
Andreas Schacherbauer
said
over 7 years ago
Hi, When changing the document location too quickly, the underlying web view might get confused and does not forward the change to our SDK. The vision trigger might get called a lot, so either use a timeout before changing the location or check the time between two consecutive calls to onEnterFieldOfVision.
Noppol Pilukruangdet