I'm looking to perform network tests every minute for an hour to check whether or not the user has a connection -
Ideally I'd like to get their location every minute (but not 100% necessary) and ping a server. Is this possible by either the user pressing a UIButton "start test" and then if they close the app it still runs?
Or, activate a function when the user is in a location range at a given time? (Looking to perform tests at events)
Or, possibly using a push notification to activate the function? This seems very impractical though.
My research has shown this is typically only available for VOIP or Audio apps, and background fetch based are either restricted in duration or scheduled by the device itself based on the user's behaviour, which I don't want.
Note: The app doesn't necessarily have to be released on the app store, this is just a small project so running it on a few devices will suffice.