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 convert milli seconds to hours, minutes and seconds in Android?
Is There A Way To Get The Source Code From An APK File? (or) How to decompile apk?
How to Get bitmap from drawable: Android
Google play store rejected my app due to SMS permission I removed SMS permission from the manifes
ERR_ACCESS_DENIED in Android Webview with sdk 30
What is Context?
What happens next when the device switches between portrait and landscape?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
What are symmetric and asymmetric encryption in the way Android interacts with the server?
How to stop EditText focus at Activity startup in Android?
What is Android Fragments?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
ERROR Android emulator gets killed when I try to run my application and choose an emulator it ret
How to validate email address in Android with Kotlin?
Android FCM not receiving notifications when app is removed from background
What is ANR in android?
How to add jar/library files as a dependency in Android studio gradle file
How to get complete address from latitude and longitude?
How do I generate random numbers in Dart?
What is Intent? What is the difference between an implicit intent and an explicit intent?
Key Points to remember while develop the Android Application.
How can i comment inside xml file in android studio?
What is the difference between match_parent and fill_parent?
Android Activity FullScreen - How to set activity to fullscreen mode in Android?
'constructor Handler()' is deprecated. Deprecated in Java, How to use Handler() class in And
How To Set Text Color Programmatically Android TextView?
How to get an image resource by it's name in android?
Hide/Disable soft keyboard on Activity launch: Android
Error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path
How to save activity State in Android?
How do i load image from drawable folder in Jetpack Compose?
How to reduce APK package size?
What are the notifications available in android?
How to check Android version?
Intent for Drive PDF Viewer - How to open PDF in Google Drive with intent
How to avoid multiple button click at same time in android?
Duplicate files during packaging of APK” build.gradle issue: Android Studio
What is "shared preferences" in Android ?
How to copy database from assets folder in android using kotlin
How to convert DP to Pixel and Pixel to Dp?