pharshdev / sms_user_consent

Flutter plugin that implements Android's SMS User Consent API
MIT License
9 stars 26 forks source link

Playstore Policy violation and crash fixes #7

Open abdulrehmank7 opened 2 years ago

abdulrehmank7 commented 2 years ago

Updates: 🆕 Updated all the dependencies used for android framework. 🆕 Migrated flutter to latest version. 🐛 Added SEND_PERMISSION flag in register BroadcastReciever method. This will prevent google play policy violation. 🐛 Removed depreciated jcenter() and replaced with mavenCentral(). 🐛 Updated target SDK version. 🐛 Added try catch block for exception handling in onRecieve method. This will prevent app crashing.

Note: The above changes are tested on production app and all changes are working as expected.

abdulrehmank7 commented 2 years ago

@pharshdev please merge this PR as many people will face the policy violation issue, but they will not understand how to fix this issue. As it happened to me, it took me weeks to find out that the policy issue is due to this plugin.

chris-10 commented 2 years ago

This PR is a lifesaver. @pharshdev please merge it.

abdulrehmank7 commented 2 years ago

This PR is a lifesaver. @pharshdev please merge it.

Not sure if this plugin is still maintained or not! I have created this PR a month ago, still no response.

OlegBezr commented 1 year ago

@pharshdev, it would be great if you could accept the PR - your package is pretty popular on pub, it's nice to keep it updated