New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SendMessageDirect fails on Android 12 #2741
Comments
@ewpatton Any updates on this? |
@ewpatton Any updates on this? I want to use this to send text messages to a small group I'm in, in the event of another hurricane or a tornado. So, time is of the essence if I'm going to use it this season. Otherwise, if it looks like it might be awhile, I'll go a different route. Thanks! |
@gr3453m0nk3y @jeff9315 You can try out the PR I submitted on this temporary server and verify whether or not it addresses the issue: http://nb190a-bugfixes.ai2-ewpatton-temp.appspot.com/ |
It works. The issue of the sendMessageDirect a runtime error can be fixed building by the temporary server. |
@ewpatton i cant open this site( http://nb190a-bugfixes.ai2-ewpatton-temp.appspot.com) error message:403. That’s an error. Your client does not have permission to get URL / from this server. That’s all we know. How can I access the temporary server ? |
@hamedhosseini55 Try using HTTPS and seeing if the problem persists. Sometimes HTTP proxies can interfere with accessing App Inventor but they tend to not cause as much trouble when switching to HTTPS. |
@ewpatton thank you for your answer. Is it possible to send you the .aia file and you convert it to apk format for me?thanks |
@ewpatton finally i could open it. and i built .apk and it works without any problems and compatible with android 12 thanks. |
Fixed in release nb191 |
Describe the bug
From the forum: Using the Texting.SendMessageDirect block fails on Android 12 due to the need to specify a mutability flag in the PendingIntent, but we don't do so.
Affects
Expected behavior
Using the SendMessageDirect block should work correctly without causing a runtime error on Android 12.
Steps to reproduce
An example is provided in the post.
The text was updated successfully, but these errors were encountered: