Sending a text message on an Android phone causes a Runtime Error

I wrote a simple app to send a text message using a phone number fetched from a Google Sheet.

It loads properly on my phone. As a test, I also made it initiate phone calls, and that part works properly, both with .MakePhoneCall and .MakePhoneCallDirect

However, attempting to send a text with .SendMessage seemingly does nothing, and with .SendMessageDirect produces a Runtime Error.

The app is running on a Google Pixel 7 Pro. The texting app is "Messages" version messages.android_20221115_01_RC01.phone_dynamic

The error message reads:

Runtime Error

appinventor.ai_dlbezaire.SendText:
Targeting S+ (version31 and above)
requires that one of FLAG_IMMUTABLE or
FLAG_MUTABLE be specified when creating
a PendingIntent.
Strongly consider using FLAG_IMMUTABLE,
only use FLAG_MUTABLE if some
functionality depends on the PendingIntent
being mutable, e.g. if it needs to be used
with inline replies or bubbles.

Try to export your project and upload it in the server used in here.

Inability to send sms (text messaging) using Companion 2.65 or 2.65u s an issue known to MIT . They have a solution in the test server (see Gordon's post) but have not yet released it to the main server.

Thank you Gordon and Steve. I rebuilt the app using the test server, and it appears to now function correctly.

Do you have any idea when this might be released into the production?