Change Mainpage and geolocation activewatch and position changed event

Answered
1
0

Hi.
First question:
Its normal that geolocation events survive when I change Application.MainPage? Because it doesn’t stops in my tests

Second question:
Should positionchanged event stops when set ActiveWatch = false? Because never stops in my tests, even if is false on page load…

Thanks in advance!

  • You must to post comments
Best Answer
1
1

You are correct, there is a bug in Geolocation.js _applyActiveWhatch(). I have attached the fixed file in case you want to recompiled the extension.

For the MainPage, when you switch pages, the previous one is still valid and it may received events. You can either stop ActiveWatch, after fixing the bug 🙂 or dispose the page.

Attachment
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.