Hi,
I have an App that automatically connects to a WiFi AP on Android and requires manual connection on iOS.
I needed to handle the OnAppearing and OnDisappearing overrides to start and stop timers or use another method!.
Unfortunately with the Android a page transition occurs on connection to the AP which intern causes the WiFi connected message to popup. This causes the following to occur:-
Connected -> page transition ->
OnAppearing is called, timer started.
WiFi Connected message pops up.
OnAppearing is called again (I am not sure if this is before or after the WiFi message pops up), timer started again ?
OnDisappearing is called, timer stopped.
WiFi Connected message disappears. not sure at which point this occurs either.
At this point the page is on the screen but the timer is not running (it should be).
As the connection is a manual process on the iOS (for the moment) and there is no WiFi connecting message there is no problem (so far).
On the Android the methods are called normally when there is no WiFi message!
Any ideas or alternate way to do this ?
Wayne