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 "shared preferences" in Android ?
Permission denied for window type 2010 in Marshmallow device
What is Android?
FCM Not Receiving Notifications in Android - RRutors
What is Application?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
What is ANR? How to avoid and resolve it?
How do I generate random numbers in Dart?
What is NetworkOnMainThread Exception?
How To Set Text Color Programmatically Android TextView?
What are the notifications available in android?
How to reduce APK package size?
How to get screen size (width,height) in Android?
How to install/ uninstall apk by command line ADB
What happens next when the device switches between portrait and landscape?
Add Jar/Library Files as Dependency in Android Studio
How to Exit android app on back pressed?
Open PDF in Google Drive with Intent in Android - RRutors
How to save activity State in Android?
How to Get bitmap from drawable: Android
How to get a contact image using a phone number in android?
Fix Android Emulator Kill Error When Running Your App
How to find Android Device UDID or unique ID?
ERR_ACCESS_DENIED in Android Webview with sdk 30
What is Android Fragments?
Decompile APK Files: How to Get Source Code - RRutors Guide
Set Activity to Fullscreen Mode in Android - RRutors
Key Points to remember while develop the Android Application.
How to Use Deprecated Handler() in Android - RRutors Guide
How to stop EditText focus at Activity startup in Android?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Fix Duplicate Files in APK Build.gradle Issue - RRutors
Fix Play Store Rejection Due to SMS Permission - RRutors
How to convert DP to Pixel and Pixel to Dp?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
What is Intent? What is the difference between an implicit intent and an explicit intent?
How can i comment inside xml file in android studio?
How to get an image resource by it's name in android?
How to Generate signed apk with android studio
How do i load image from drawable folder in Jetpack Compose?