-1

I'm sending sms from my apps using this method.

 startActivity(new Intent(Intent.ACTION_VIEW, Uri.fromParts("sms", number, null)));

But I did not declare android.permission.SEND_SMS in manifest file. Will it create any problem to published apps? Or is it rejecte from google play store?

2 Answers2

1

Permission is not required for the Implicit Intent. It don't break any permission rule as this is the Implicit Intent.

It will not create any issue at the time of uploading app.

Chirag
  • 56,621
  • 29
  • 151
  • 198
-2

google removed that app from playstore which has mainfiest permisiion for call and sms in january 2019. if you want to use then use normal implicit intent or sms retrival api..

indrajeet jyoti
  • 431
  • 6
  • 8