Author Topic: Losing connection with switching apps in iOS  (Read 7929 times)

marioair

  • Full Member
  • ***
  • Posts: 104
  • Total likes: 8
  • welcome to the PilotAware forum
    • View Profile
Losing connection with switching apps in iOS
« on: June 19, 2019, 09:04:56 pm »
I was wondering if you can help - I'm being bounced between various people to find the answer!

I have SD using PilotAware as GPS source all running on Ipad Mini ios12

If i minimise skydemon (switch apps or go to home screen) after about 5 mins (reproducible consistently and even at home when not flying) it will lose the GPS/Wifi from PaW. It comes up with the "no signal received for some time..." message

I'm pretty sure its a PaW problem, as when i use the IPAD internal GPS and switch SD to background, SD still works fine, so I think its something to do with the wifi connection to PaW

I dont know what you relationship is with the SD team but can you tag team a solution?

Ian Melville

Re: Losing connection with switching apps in iOS
« Reply #1 on: June 20, 2019, 06:47:56 am »
Which version of SD and which iPad Mini?

marioair

  • Full Member
  • ***
  • Posts: 104
  • Total likes: 8
  • welcome to the PilotAware forum
    • View Profile
Re: Losing connection with switching apps in iOS
« Reply #2 on: June 20, 2019, 08:39:40 am »
I can't make it that easy for you :-)

Ipad mini 4
iOS 12.3.1
SD 3.12.6.183

I've tried it on Iphone 6s, iOs 12.2 and it seems fine.

Paul_Sengupta

Re: Losing connection with switching apps in iOS
« Reply #3 on: June 20, 2019, 10:33:14 am »
While maybe not being consistent behaviour between Apple devices, I'd have thought this was expected behaviour. When an app is put in the background, it'll eventually be stopped from using up battery and comms resources, so its Wifi access will be cut off. Personally I'd have thought that putting the app in the background would cut off the Wifi access from it fairly quickly, so 5 minutes is quite a long time to have a background app still communicating over Wifi!

marioair

  • Full Member
  • ***
  • Posts: 104
  • Total likes: 8
  • welcome to the PilotAware forum
    • View Profile
Re: Losing connection with switching apps in iOS
« Reply #4 on: June 20, 2019, 11:07:36 am »
Perhaps. You can flag it to always use location in background but suppose it may not do the same with WiFi
However it works fine on on the iPhone
« Last Edit: June 20, 2019, 11:28:56 am by marioair »

Admin

Re: Losing connection with switching apps in iOS
« Reply #5 on: June 21, 2019, 07:55:52 am »
Hi Mario
I don’t believe this is a PAW problem, we continue sending the data to the ipad so long as it continues to accept the data

What 3rd party connection method are you using in SD

The fact that it works on some devices also rules out PAW I think

Have you posted this on the SD forum?

Thx
Lee

marioair

  • Full Member
  • ***
  • Posts: 104
  • Total likes: 8
  • welcome to the PilotAware forum
    • View Profile
Re: Losing connection with switching apps in iOS
« Reply #6 on: June 21, 2019, 08:14:04 am »
I’m using the pilot aware option in SD 3rd party connection settings

Admin

Re: Losing connection with switching apps in iOS
« Reply #7 on: June 21, 2019, 02:21:25 pm »
OK, so this is sending UDP Packets to the iPad - irrespectively
so SD either stops listening, or the iPad blocks the data, as the app is asleep

can you please post on the SD forum, and provide a link here ?

Thx
Lee

Grem

Re: Losing connection with switching apps in iOS
« Reply #8 on: June 21, 2019, 03:09:34 pm »
I get the same problem using an iPad mini 3, IOS 12.3.1 and SD 3.12.7.  I suspect the problem is, as suggested, with the IOS switching off the Wifi connection to SD when its in the background.

marioair

  • Full Member
  • ***
  • Posts: 104
  • Total likes: 8
  • welcome to the PilotAware forum
    • View Profile
Re: Losing connection with switching apps in iOS
« Reply #9 on: June 21, 2019, 06:41:49 pm »
Can anyone check on iPhone of it does the same - I’m sure it worked fine but I can check again.

I’ve posted on SD forum but so far they’re not being helpful.
http://forums.skydemon.aero/Topic28784.aspx#28794


There’s a setting in IOS called “Background App Refresh” which looks like it should “solve” the issues but SD doesn’t shown up as an app you can select for it in the settings pages.

Grem

Re: Losing connection with switching apps in iOS
« Reply #10 on: June 30, 2019, 11:44:34 am »
SD shows up as an app in my iPad mini 3 settings list, but even with Location services set to "always", SD still loses the PA Wifi input when I switch to PA radar. My iPad doesn't have an internal GPS and I wonder whether choosing "Use PilotAware" rather than "Use Location Services" on the SD menu that appears when I press "Go Flying"  means that SD doesn't look for a signal from "Location Services"?  I have a GNS2000 standalone GPS so next time I'll try connecting that via Bluetooth as well as the PA Wifi, and see what happens.


marioair

  • Full Member
  • ***
  • Posts: 104
  • Total likes: 8
  • welcome to the PilotAware forum
    • View Profile
Re: Losing connection with switching apps in iOS
« Reply #11 on: June 30, 2019, 11:59:55 am »
I have progressed this with SD support and they’ve stated that because the iPad connects to PaW over WiFi they cannot do anything about it (WiFi Connection killed by IOS when in background mode)

So ball back in PaW court to look for a workaround?

http://forums.skydemon.aero/FindPost28794.aspx

brinzlee

Re: Losing connection with switching apps in iOS
« Reply #12 on: June 30, 2019, 12:57:18 pm »
The answer is not to minimize SkyDemon.....then it won't happen.....Most people will always keep this app running primary....

marioair

  • Full Member
  • ***
  • Posts: 104
  • Total likes: 8
  • welcome to the PilotAware forum
    • View Profile
Re: Losing connection with switching apps in iOS
« Reply #13 on: June 30, 2019, 01:24:03 pm »
Yes.
But fairly annoying problem when it does happen. In particular I fly with other IFR related apps too!

Paul_Sengupta

Re: Losing connection with switching apps in iOS
« Reply #14 on: July 01, 2019, 01:30:19 am »
Get another tablet and run them side by side...