Closed cristianoccazinsp closed 1 year ago
Probably this line here: https://github.com/Agontuk/react-native-geolocation-service/blob/master/ios/LocationProvider.swift#L41
Should be using safe unwrapping (e.g., use a non-null local variable).
PR that should prevent the issue: https://github.com/Agontuk/react-native-geolocation-service/pull/370
@Agontuk any updates? We need this asap as we see many crashes due to this.
@Agontuk can we close this and do a new release with the merged PR?
new version released, sorry for the delay
Environment
Platforms
iOS
Versions
Please add the used versions/branches
Description
Arbitrary crash in production from swift code.
Reproducible Demo
Regular use as documented:
Crash log:
Expected Results
No crash
@Agontuk any ideas? We've got a user that keeps getting this every time location access is attempted. Any nil checks missing?