You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be awesome to support deviceOrientationAndMotionGrantType as it is done with mediaCapturePermissionGrantType, otherwise every single time that you open/close the app the permit is required.
It would be awesome to support
deviceOrientationAndMotionGrantType
as it is done withmediaCapturePermissionGrantType
, otherwise every single time that you open/close the app the permit is required.See: https://developer.apple.com/documentation/webkit/wkuidelegate/3795606-webview
This was already reported in the issue "Motion sensor permissions are asked repetitively":
#2942
That issue was closed including a PR with a "solution" that was not merged:
#2944
I can confirm that a patch for
RNCWebViewImpl.m
with the PR code works and the if we pass "grant", the popup is not shown.I would like to know what was missing (there is some note of the author about using same prop
mediaCapturePermissionGrantType
) or something else?Should be revive that and push forward?
CC @ThorstenBux
Posible implementation:
The text was updated successfully, but these errors were encountered: