react-native-sms icon indicating copy to clipboard operation
react-native-sms copied to clipboard

[Android] Not being redirected back to app after sending an SMS

Open soliloquyx opened this issue 5 years ago • 6 comments

After successfully sending an sms, I'm currently not being automatically redirected to my app. For that, I have to push the back button. Surely this is something that should be built-in to this library, is it not?

If so, how to implement?

(I am testing on Samsung Galaxy S8)

soliloquyx avatar Feb 07 '20 14:02 soliloquyx

Hi,

Did you tried with the android permission READ_SMS and without the option allowAndroidSendWithoutReadPermission ?

UnableHead avatar Mar 26 '20 10:03 UnableHead

Hi,

Did you tried with the android permission READ_SMS and without the option allowAndroidSendWithoutReadPermission ?

Unfortunately, our app doesn't qualify as a default texting/calling app, so we can't use the READ_SMS permission.

soliloquyx avatar Mar 26 '20 12:03 soliloquyx

Is there any to redirect back to the main app once a message is sent in the event that the READ_SMS permission is not enabled?

smangat2017 avatar Apr 27 '20 01:04 smangat2017

Hey @smangat2017 did you find any solution for this?

brunomartinezciompi avatar Jun 19 '20 00:06 brunomartinezciompi

Unfortunately not @brunodlabs!

smangat2017 avatar Jun 19 '20 02:06 smangat2017

i have a similar problem, when i send sms the app is minimized, tried with the android permission READ_SMS and without the option allowAndroidSendWithoutReadPermission but it did not helpful

kotolapki avatar Aug 18 '21 16:08 kotolapki