You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a scenario where user can able to open the SMS with a per populated text but without an number. This is situation comes when user can sent SMS to people in their own contact and app don't have any information about receivers. This scenarios comes when user like to send a invite link etc to someone.
I aM using following code and this is working fine in iOS but in android its giving error ERR_NO_NUMBERS
SmsManager.send({ numbers: [] , text: "My SMS text", });
Platform(s) Support Requested
Android
Describe Preferred Solution
If we can remove the empty check(recipientNumbers.isEmpty()) for numbers array, the situation I explained above will work. In SmsManagerPlugin.java at line number 45, if we update code like below, its working fine.
if (recipientNumbers == null) { call.reject(ERR_NO_NUMBERS); return; }
The text was updated successfully, but these errors were encountered:
Describe the Feature
There is a scenario where user can able to open the SMS with a per populated text but without an number. This is situation comes when user can sent SMS to people in their own contact and app don't have any information about receivers. This scenarios comes when user like to send a invite link etc to someone.
I aM using following code and this is working fine in iOS but in android its giving error ERR_NO_NUMBERS
SmsManager.send({ numbers: [] , text: "My SMS text", });
Platform(s) Support Requested
Describe Preferred Solution
If we can remove the empty check(recipientNumbers.isEmpty()) for numbers array, the situation I explained above will work. In SmsManagerPlugin.java at line number 45, if we update code like below, its working fine.
if (recipientNumbers == null) { call.reject(ERR_NO_NUMBERS); return; }
The text was updated successfully, but these errors were encountered: