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);
How To Set Text Color Programmatically Android TextView?
What is NetworkOnMainThread Exception?
ERR_ACCESS_DENIED in Android Webview with sdk 30
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
How to install/ uninstall apk by command line ADB
How do I check in SQLite whether a table exists?
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Extract Date and Time from Long Type Variable - RRutors
Fix Play Store Rejection Due to SMS Permission - RRutors
How to avoid multiple button click at same time in android?
How to get complete address from latitude and longitude?
What are the notifications available in android?
How to reduce APK package size?
How to check Android version?
What are Android Versions available?
Open PDF in Google Drive with Intent in Android - RRutors
Fix Duplicate Files in APK Build.gradle Issue - RRutors
FCM Not Receiving Notifications in Android - RRutors
What is ANR in android?
How do i load image from drawable folder in Jetpack Compose?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
What is Application?
Fix Android Emulator Kill Error When Running Your App
How to save activity State in Android?
How to convert DP to Pixel and Pixel to Dp?
What is Android?
How to get an image resource by it's name in android?
How to Generate signed apk with android studio
Hide/Disable soft keyboard on Activity launch: Android
How to get a contact image using a phone number in android?
What happens next when the device switches between portrait and landscape?
How to Exit android app on back pressed?
What is the Different Between val and var in Kotlin?
How do I generate random numbers in Dart?
Explain Fragment Life Cycle
How to convert milli seconds to hours, minutes and seconds in Android?
Check List for Generate Signed APK Android
Key Points to remember while develop the Android Application.
How can i comment inside xml file in android studio?
How to stop EditText focus at Activity startup in Android?