In my testing, navigator.permissions is undefined in the Instagram webview on Android (Chrome 119 UA/Android 14/Pixel 8).
In this scenario, the initializing the SDK throws an error:
|
if (!navigator || !navigator.permissions) { |
|
return reject(new RadarLocationError('navigator.permissions is not available.')); |
|
} |
Could this set the authorization to NOT_DETERMINED instead of throwing?