why this script doesn't work even when someone sending me a message trough my application?
Welcome Stefan.
Possibly because of how you set or did not set some Texting properties, for example:
If the ReceivingEnabled
property is set to 1 messages will not be received. If ReceivingEnabled
is set to 2 messages will be received only when the application is running. Finally if ReceivingEnabled
is set to 3, messages will be received when the application is running and when the application is not running they will be queued and a notification displayed to the user.
What do you have ReceivingEnabled property to?
See Texting Documentation here>
https://ai2.appinventor.mit.edu/reference/components/social.html#Texting
Also which Android version are you using for your tests?
What happens, if your app is up and running, are you able to receive the message?
Taifun
i set it to always, and now i get error 908. how to fix it?
12 skq1.21101 9.001
oh i get you i'll try to do this
i tried it and it's not worked i can't receive a message
error 908 is a permission error. What is the complete error message?
How? It might depend on the rest of your code blocks. We can't see them.
Ask for that permission during Screen.Initialize
You can find the AskForPermission method in the Screen drawer
Taifun
how to ask that permission during Screen.initialize?