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);
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
What is Intent? What is the difference between an implicit intent and an explicit intent?
What is "shared preferences" in Android ?
FCM Not Receiving Notifications in Android - RRutors
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Fix Behavior Subclass BottomSheetBehavior Exception - RRutors
Android Studio project R can't find
Check List for Generate Signed APK Android
How to Generate signed apk with android studio
Decompile APK Files: How to Get Source Code - RRutors Guide
What are Android Versions available?
How to stop EditText focus at Activity startup in Android?
What is Application?
What is Android?
How to check Android version?
What happens next when the device switches between portrait and landscape?
What is the difference between match_parent and fill_parent?
How to install/ uninstall apk by command line ADB
How to get a contact image using a phone number in android?
Explain Fragment Life Cycle
How to reduce APK package size?
How to Use Deprecated Handler() in Android - RRutors Guide
Invoke-customs are only supported starting with android 0 --min-api 26
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
How to copy database from assets folder in android using kotlin
What is ANR? How to avoid and resolve it?
Set Activity to Fullscreen Mode in Android - RRutors
How to start a new activity on button click
How can i comment inside xml file in android studio?
How to get complete address from latitude and longitude?
How to avoid multiple button click at same time in android?
Permission denied for window type 2010 in Marshmallow device
ERR_ACCESS_DENIED in Android Webview with sdk 30
Add Jar/Library Files as Dependency in Android Studio
How To Set Text Color Programmatically Android TextView?
What is the Different Between val and var in Kotlin?
Fix Duplicate Files in APK Build.gradle Issue - RRutors
What is Android Fragments?
How do I check in SQLite whether a table exists?
How to find Android Device UDID or unique ID?