Skip to content
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

This plugin is not working in Android 7 nougat #4

Open
webpkm opened this issue Feb 16, 2017 · 1 comment
Open

This plugin is not working in Android 7 nougat #4

webpkm opened this issue Feb 16, 2017 · 1 comment

Comments

@webpkm
Copy link

webpkm commented Feb 16, 2017

Hi, I am using this plugin for the Auto read OTP in Android platform and it's working fine till Android 6. In Android 7 it;s not working.
Please help on this.

Code which I have written is:

smsInboxPlugin.startReception(function (msg) {
$("otp_input_id").val(parseInt(msg)); // After Successful SMS read fill that OPT in
smsInboxPlugin.stopReception(function () {
debugger;
console.log("stopReception :: Correctly stopped");
}, function () {
console.log("Error while stopping the SMS receiver");
});

}, function () {
console.log("Error while receiving messages");
});

@fthkrtl
Copy link

fthkrtl commented Jun 1, 2018

give your app sms read permission

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants