According to google "You may only request permissions that are necessary to implement critical current features or services in your application. You may not use permissions that give access to the user or device data for undisclosed, unimplemented, or disallowed features or purposes" If your app needs to read SMS for SMS-based user verification / OTP verification please use SMS Retriever API which does not need any SMS permission and your app can still read SMS for OTP verification Google play has a new policy for sensitive permissions such as call and SMS If the core functionality of your app is not SMS, then you do not need to request for that permission. you can send the SMS using the default SMS app on the device. use Intent.ACTION_VIEW like the code shown below. Then remove those permissions in your manifest file String intro="Write Message";
String phoneNumber="1234567890"
Uri sms_uri = Uri.parse("smsto:" +phoneNumber);
Intent sms_intent = new Intent(Intent.ACTION_VIEW, sms_uri);
sms_intent.setData(sms_uri);
sms_intent.putExtra("sms_body", intro);
startActivity(sms_intent);
What is the Different Between val and var in Kotlin?
Hide/Disable soft keyboard on Activity launch: Android
How to Use Deprecated Handler() in Android - RRutors Guide
How To Set Text Color Programmatically Android TextView?
What is "shared preferences" in Android ?
How to get a contact image using a phone number in android?
Fix Android Emulator Kill Error When Running Your App
How to check Android version?
What is Android Fragments?
How to install/ uninstall apk by command line ADB
What is ANR in android?
What is Context?
Set Activity to Fullscreen Mode in Android - RRutors
Permission denied for window type 2010 in Marshmallow device
Extract Date and Time from Long Type Variable - RRutors
Android Studio project R can't find
How to save activity State in Android?
Open PDF in Google Drive with Intent in Android - RRutors
What happens next when the device switches between portrait and landscape?
What is Android?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to avoid multiple button click at same time in android?
How do I generate random numbers in Dart?
How to Exit android app on back pressed?
How to Generate signed apk with android studio
How to copy database from assets folder in android using kotlin
What is Intent? What is the difference between an implicit intent and an explicit intent?
How to validate email address in Android with Kotlin?
FCM Not Receiving Notifications in Android - RRutors
How to get complete address from latitude and longitude?
How to start a new activity on button click
How do I check in SQLite whether a table exists?
What is the difference between match_parent and fill_parent?
How to find Android Device UDID or unique ID?
How to get an image resource by it's name in android?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
How to convert milli seconds to hours, minutes and seconds in Android?
Check List for Generate Signed APK Android
Add Jar/Library Files as Dependency in Android Studio
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON