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 NetworkOnMainThread Exception?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
Check List for Generate Signed APK Android
What is Application?
How to convert milli seconds to hours, minutes and seconds in Android?
Key Points to remember while develop the Android Application.
Open PDF in Google Drive with Intent in Android - RRutors
What are the notifications available in android?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
Invoke-customs are only supported starting with android 0 --min-api 26
What is Context?
How to convert DP to Pixel and Pixel to Dp?
How to reduce APK package size?
How to find Android Device UDID or unique ID?
How do I generate random numbers in Dart?
How to install/ uninstall apk by command line ADB
How to get complete address from latitude and longitude?
What is ANR in android?
What is ANR? How to avoid and resolve it?
How to get an image resource by it's name in android?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
Fix Duplicate Files in APK Build.gradle Issue - RRutors
Hide/Disable soft keyboard on Activity launch: Android
Decompile APK Files: How to Get Source Code - RRutors Guide
Fix Play Store Rejection Due to SMS Permission - RRutors
Set Activity to Fullscreen Mode in Android - RRutors
How to Use Deprecated Handler() in Android - RRutors Guide
What is Android?
FCM Not Receiving Notifications in Android - RRutors
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to validate email address in Android with Kotlin?
What is Intent? What is the difference between an implicit intent and an explicit intent?
ERR_ACCESS_DENIED in Android Webview with sdk 30
How do I check in SQLite whether a table exists?
How to get a contact image using a phone number in android?
How to get screen size (width,height) in Android?
How To Set Text Color Programmatically Android TextView?
What are Android Versions available?
How to save activity State in Android?