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);
Set Activity to Fullscreen Mode in Android - RRutors
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
What is ANR in android?
What is "shared preferences" in Android ?
INSTALL_FAILED_INVALID_APK: Split lib_slice_9_apk was defined multiple times. It is possible that th
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
How can i comment inside xml file in android studio?
Add Jar/Library Files as Dependency in Android Studio
What is the Different Between val and var in Kotlin?
Extract Date and Time from Long Type Variable - RRutors
What is NetworkOnMainThread Exception?
What is the difference between match_parent and fill_parent?
How to start a new activity on button click
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
Explain Fragment Life Cycle
How to reduce APK package size?
What is Android Fragments?
ERR_ACCESS_DENIED in Android Webview with sdk 30
What is Intent? What is the difference between an implicit intent and an explicit intent?
Open PDF in Google Drive with Intent in Android - RRutors
Fix Duplicate Files in APK Build.gradle Issue - RRutors
How to stop EditText focus at Activity startup in Android?
What happens next when the device switches between portrait and landscape?
Check List for Generate Signed APK Android
FCM Not Receiving Notifications in Android - RRutors
How to save activity State in Android?
How do I check in SQLite whether a table exists?
Decompile APK Files: How to Get Source Code - RRutors Guide
How to copy database from assets folder in android using kotlin
How to Use Deprecated Handler() in Android - RRutors Guide
Hide/Disable soft keyboard on Activity launch: Android
How to find Android Device UDID or unique ID?
How to validate email address in Android with Kotlin?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How to Get bitmap from drawable: Android
How do I generate random numbers in Dart?
How to get complete address from latitude and longitude?
How to avoid multiple button click at same time in android?
Fix Android Emulator Kill Error When Running Your App
Invoke-customs are only supported starting with android 0 --min-api 26