Hi,
im trying to play with the Apple WatchBackgroundRefresh Demo App before upgrading my own WatchApp with the new BackgroundRefresh features.
Apple DemoCode:
With watchOS3 Beta 2 (Xcode 8 Beta2) i got the Demo running but the WKURLSessionRefreshBackgroundTask never got called (tested with different URLs, but the WKApplicationRefresh seems to work).
After upgrading to watchOS3 Beta3 (Xcode 8 Beta3) the handle(_ ) constantly gets called with WKApplicationRefreshBackgroundTask after sending the App into Background, even without scheduling a BackgroundRefresh ? The WKURLSessionRefreshBackgroundTask never gets called either.
Anyone got this working ?
Best regards Marco
Sorry to see that folks are running into issues here.
A few things...
1. On the Simulator (Watch), it appears that this is not working correctly and we are investigating the issue.
2. On device, the sample code works but you must add the app to the Dock first. Additionally, URLSession tasks have a decently wide window in which to fire although, in our testing, the tasks are generally being served within ~10 minutes.
I hope that helps. Sorry for the confusion.