-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin should use CordovaInterface.getThreadPool(). #192
Comments
hey @demobiel, Thanks for reporting the issue. Feel free to contribute, it should be fairly easy to implement. |
Hi dbaq, I think I actually reported 2 issues: because of that I looked into the log and saw this error, but apparently it is only a warning. I think I can solve the second one, and I am willing to contribute, however I have no idea why this falls down each time to error. Adding the intent into the manifest works, but of course this will not get it on the Google store... |
I tried all possible versions of SDK and Phonegap versions, as well as different phones, and constantly get an error "User has denied permission" |
To make it work with PhoneGap, you need to add the See #198 |
When I try to run sms.requestPermission() I got immediately the error callback. I am never asked if I would allow to send SMS or not.
I run the following code:
And so I get an alert "about to ask permission", and immediately "[Warn] Permission not accepted".
I followed all the tips on this issue: #189,
but no success.
When I inspect the catlog, I see the following line:
03-07 10:14:43.963 6498 6605 W PluginManager: THREAD WARNING: exec() call to Sms.request_permission blocked the main thread for 41ms. Plugin should use CordovaInterface.getThreadPool().
I am using cordova 7.1.1 and latest version of the plugin.
Kind regards
Andries
The text was updated successfully, but these errors were encountered: