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 validate email address in Android with Kotlin?
How to add jar/library files as a dependency in Android studio gradle file
Explain Fragment Life Cycle
How To Set Text Color Programmatically Android TextView?
How to stop EditText focus at Activity startup in Android?
'constructor Handler()' is deprecated. Deprecated in Java, How to use Handler() class in And
How to install/ uninstall apk by command line ADB
How to Get bitmap from drawable: Android
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
What is Context?
Permission denied for window type 2010 in Marshmallow device
How do i load image from drawable folder in Jetpack Compose?
What is Application?
Hide/Disable soft keyboard on Activity launch: Android
What is the difference between match_parent and fill_parent?
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
What is NetworkOnMainThread Exception?
What is Android?
What is ANR? How to avoid and resolve it?
ERROR Android emulator gets killed when I try to run my application and choose an emulator it ret
How to get an image resource by it's name in android?
How to get a contact image using a phone number in android?
Intent for Drive PDF Viewer - How to open PDF in Google Drive with intent
Key Points to remember while develop the Android Application.
Android FCM not receiving notifications when app is removed from background
How can i comment inside xml file in android studio?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Is There A Way To Get The Source Code From An APK File? (or) How to decompile apk?
How to copy database from assets folder in android using kotlin
How to save activity State in Android?
What happens next when the device switches between portrait and landscape?
How to extract date and time from Long type variable in Kotlin on Android "
Google play store rejected my app due to SMS permission I removed SMS permission from the manifes
Android Activity FullScreen - How to set activity to fullscreen mode in Android?
Android Studio project R can't find
Error: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path
Invoke-customs are only supported starting with android 0 --min-api 26
What are the notifications available in android?
Check List for Generate Signed APK Android
How to reduce APK package size?