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

deleteSMS not working from 5.0 + any solution? #67

Open
hawk2017 opened this issue May 8, 2017 · 4 comments
Open

deleteSMS not working from 5.0 + any solution? #67

hawk2017 opened this issue May 8, 2017 · 4 comments

Comments

@hawk2017
Copy link

hawk2017 commented May 8, 2017

No description provided.

@hawk2017 hawk2017 changed the title deleteSMS not working from 5.0 + any solution? i'm using this feature to send and delete message automatically deleteSMS not working from 5.0 + any solution? May 8, 2017
@hawk2017
Copy link
Author

hawk2017 commented May 8, 2017

i'm using this feature to received and delete automatically in specific number.

@c006
Copy link

c006 commented Jun 25, 2017

cordova 7.0.1
android 6.2.3

         if (SMS) SMS.deleteSMS({
                _id: _id
            }, function (n) {
                console.log('Msg Delete Ok');
                deleteMessage(_array);
            }, function (err) {
                deleteMessage(_array);
                console.log(JSON.stringify(err));
            });
          }

The message does not delete for me either.

@floatinghotpot
Copy link
Owner

As Google has enhanced the security policy of Android since 4.4+, only the system default SMS app is allowed to write (including delete) messages. So, no other solution.

@riadapsis
Copy link

How can I make the app default using your plugin? My app is not showing at the list when I go to the setting to change default app for SMS. Please help me.

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

4 participants