Hi all!
I am writing on an APP, that makes use of SmsMessage.composeasync.
My problem is that I need to register if the user has cancelled out, og pressed send in SMS window.
Is there any way to do this?
Regards,
Morten
Hi all!
I am writing on an APP, that makes use of SmsMessage.composeasync.
My problem is that I need to register if the user has cancelled out, og pressed send in SMS window.
Is there any way to do this?
Regards,
Morten
Hi @MortenBangOlin-4743 ,what do you mean by words I need to register if the user has cancelled out, og pressed send in SMS window ? Could you elaborate on it?
Hello @JessieZhang-2116
Thanks for your message.
What I mean is, that I need to know, if the user has pressed send, or cancelled out of the SMS message, I present. My APP needs to know this, as I have toggle buttons, that need to be switched off or on, dependning on the users having actually send the SMS, that is presented through SmsMessage.
Regards,
Morten
No, not yet :(
I'm pretty sure, it can be done in Xcode, as I have seen APPs, that can do this.
I simply can't figure out how to get the info back from the task
Hello,
Welcome to our Microsoft Q&A platform!
What I mean is, that I need to know, if the user has pressed send, or cancelled out of the SMS message, I present. My APP needs to know this, as I have toggle buttons, that need to be switched off or on, dependning on the users having actually send the SMS, that is presented through SmsMessage.
For this, you can easily find out by whether or not you press the Send button.
If I understand correctly, when you click the send button, you can enable the toggle button, otherwise, disable it.
And there is an article about this, you can check it here: Send SMS Using Xamarin.Essentials .
Hope it can help you.
Best Regards,
Jessie Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi Jessie!
I'm so sorry for not returning. No disrespect.
Thanks for your answer. My problem is, though, that the SMS feature in Essentials is a void task, which prevents me from knowing if the user actually pressed Send in the IOS SMS editor itself. I have seen other APPs being able of this, and I suspect, that they use a module of some sort native to the different OS'es
Regards,
Morten
7 people are following this question.