requestPermission does not exist
See original GitHub issueHi,
since a few days, the App doesn’t ask for the SMS permissions anymore. (android) I deleted it and did fresh installs on my phone. Before that, it asked on runtime for the permission. Now it doesn’t.
this.sms.hasPermission().then((has_permission) => { console.log(has_permission);
returns a false
.
My idea was, to ask explicit for the permission. In the docs, this function "requestPermission " is mentioned. I did a fresh install and that function doesn’t exist. When I check the permission of the app in the settings SMS is disabled.
Many Thanks, Lars
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
DeviceMotionEvent Request Permission with Typescript
i tried casting request permission like this (DeviceMotionEvent.requestPermission() as any) but it stays the same. Since it's not a module i ...
Read more >PushNotifications.requestPermissions is not a function #2688
Bug Report. Using @capacitor/ios 2.0.0 and trying to ask for push notification permission, an error appear in XCode console.
Read more >FileSystemHandle.requestPermission() - Web APIs | MDN
The requestPermission() method of the FileSystemHandle interface requests read or readwrite permissions for the file handle.
Read more >Push Notifications Capacitor Plugin API
Request permission to receive push notifications. On Android it doesn't prompt for permission because you can always receive push notifications. On iOS, the ......
Read more >ActivityCompat - Android Developers
null if no content URIs are associated with the event or if permissions could not be granted. requestPermissions. public static void ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am on vacation until August 1st. I’ll push a new npm version when I come back. Thanks.
On Thu, Jul 19, 2018, 9:25 AM Juri Strumpflohner notifications@github.com wrote:
I just published a new version on NPM.