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 happens next when the device switches between portrait and landscape?
Add Jar/Library Files as Dependency in Android Studio
Symmetric vs Asymmetric Encryption in Android Server - RRutors
What is Context?
Permission denied for window type 2010 in Marshmallow device
How to start a new activity on button click
What is the Different Between val and var in Kotlin?
Check List for Generate Signed APK Android
What is Application?
What is the difference between match_parent and fill_parent?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
How do i load image from drawable folder in Jetpack Compose?
How to get screen size (width,height) in Android?
How do I generate random numbers in Dart?
How to get a contact image using a phone number in android?
What is "shared preferences" in Android ?
How to find Android Device UDID or unique ID?
How to get an image resource by it's name in android?
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
How to convert milli seconds to hours, minutes and seconds in Android?
How to Exit android app on back pressed?
How to stop EditText focus at Activity startup in Android?
How to copy database from assets folder in android using kotlin
How To Set Text Color Programmatically Android TextView?
What is ANR? How to avoid and resolve it?
How to save activity State in Android?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to reduce APK package size?
ERR_ACCESS_DENIED in Android Webview with sdk 30
How to convert DP to Pixel and Pixel to Dp?
What is NetworkOnMainThread Exception?
How to avoid multiple button click at same time in android?
Hide/Disable soft keyboard on Activity launch: Android
Fix Android Emulator Kill Error When Running Your App
How to check Android version?
How do I check in SQLite whether a table exists?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
Extract Date and Time from Long Type Variable - RRutors
Fix Play Store Rejection Due to SMS Permission - RRutors
What are Android Versions available?