Send code via sms

I will be very direct. When my user requests his quote, an SMS will be sent to the selected provider with the quote code, which is the first three letters of the user, and a random number that will be stored in firebase with all the quote information, including images.

Code to generate the budget number

Code send sms
image

error 908: the permission send_sms has been denied. please enable it inn the settings app

Can anyone give me a suggestion how or how he can receive this quote number

Phone number must start with country code.

Are doing in companion? Try building an APK and open it. Don’t use the companion. Install a your app’s APK

Use ask for permission block, and ask this permission, if user denied close application

Or you can use activity starter

check up here,