You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Bryan Ellis <er...@apache.org> on 2020/08/18 04:46:57 UTC
[DISCUSS] Unarchive & Un-deprecate cordova-plugin-device-orientation
This discussion is to unarchive & un-deprecate the plugin:
cordova-plugin-device-orientation
This plugin is now requires because iOS w/ Custom Schemes does provide the support necessary to use Web APIs.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org
Re: [DISCUSS] Unarchive & Un-deprecate cordova-plugin-device-orientation
Posted by julio cesar sanchez <jc...@gmail.com>.
I guess you mean this issue
https://github.com/apache/cordova-plugin-device-orientation/issues/52
To be clear, the web API still works on iOS 13, but it requires to request
a permission first with DeviceMotionEvent.requestPermission();
But the permission request has a few issues that I have noticed and
reported to Apple.
1.- If using file scheme it will show "" instead of the app name on the
permission request (https://bugs.webkit.org/show_bug.cgi?id=213469), and if
using a custom scheme it will show the hostname (localhost by default.
2.- Even if you provide an usage description for motion, it's not shown on
the webview permission request (
https://bugs.webkit.org/show_bug.cgi?id=213467)
3.- The permission is not remembered, if you allow it, on next app launch
you need to request it again (https://bugs.webkit.org/show_bug.cgi?id=213468
)
El mar., 18 ago. 2020 a las 6:56, Bryan Ellis (<er...@apache.org>) escribió:
> This discussion is to unarchive & un-deprecate the plugin:
>
> cordova-plugin-device-orientation
>
> This plugin is now requires because iOS w/ Custom Schemes does provide the
> support necessary to use Web APIs.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> For additional commands, e-mail: dev-help@cordova.apache.org
>
>