Hi Karsten,
Thx for reporting the finding. You can download an updated version of the Wikitude iOS SDK JS API here. Please let me know if that works for you.
Best regards,
Andreas
Hi Karsten,
I made a stupid mistake when comparing authorisation states. Please try the SDK available here.
I tried it myself and as far as I understood your setup correctly, it should work.
Best regards,
Andreas
Best regards,
Karsten
Karsten Isakovic
Hello,
our application needs to use LocationAlwaysUsage for location updates in background.
Both NSLocationAlwaysUsageDescription and NSLocationWhenInUseUsageDescription are set. In the application settings the user can select between 'always', 'in use' and 'deny'. The wikitude view only works when the user changes to 'in use' but not when on 'always'.
I double-checked that the 'always' right is aquired and granted before the
WTAuthorizationRequestManager is called:
When myState equals kCLAuthorizationStatusAuthorizedAlways the
WTAuthorizationRequestManager returns the error code
We use the Wikitude IOS JavaScript API SDK 6.1.0, our test hardware is
an iphone 6 with IOS 10.3.1 and an iphone 5 with IOS 10.2