intuit / LocationManager

Easily get the device's current location on iOS.
MIT License
2.56k stars 387 forks source link

launchOptions always nil #119

Open Hitarth2000 opened 5 years ago

Hitarth2000 commented 5 years ago

if ([launchOptions objectForKey:UIApplicationLaunchOptionsLocationKey])
this condition always false as launchOptions = nil . all time. Can u plese suggest what kind of changes need to do for this. ?

malhal commented 7 months ago

I'm only seeing UIApplicationLaunchOptionsLocationKey on simulator and device (17.4) when scene lifecycle is disabled by removing the manifest from the Info.plist.

When scenes are enabled, both the app delegate launchDict and scene delegate launch dict doesn't contain it. They might not have bothered to port it from app delegate to scene delegate.