Dirk-27 opened a new issue #914:
URL: https://github.com/apache/cordova-ios/issues/914


   ## Problem
   
   Here https://github.com/Dirk-27/cordova-requestPermission-issue is an 
example that illustrates the issue. 
   
   With [email protected] we need to request for permission to access 
deviceMotionEvent. This results in the following dialog being displayed.
   
   
![IMG_C810EC9221E4-1](https://user-images.githubusercontent.com/45331389/85283414-a03d9400-b48d-11ea-9cbc-a9a4ca9d9e58.jpeg)
   
   this also causes apple to reject the app. See #891
   
   
   ### What is expected to happen?
   Like with [email protected]. It should be possible to get DeviceMotions 
without displaying a native dialog since this 
https://bugs.webkit.org/show_bug.cgi?id=203287 is already fixed.
   
   see 
https://github.com/Dirk-27/cordova-requestPermission-issue/tree/cordova-ios-5.1.1.
   
   ### What does actually happen?
   A native dialog is displayed which ask for permission to the user. see 
https://github.com/Dirk-27/cordova-requestPermission-issue
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   Use following commands to build the example 
https://github.com/Dirk-27/cordova-requestPermission-issue
   - `cordova prepare`
   - `cordova build ios`
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to