Good afternoon! Help me figure out the program. Created the Android application APK (.apk) works, but does not voice call and send SMS when you install the Android 11. (On the emulator is working correctly), while this app works on Android 10, 9, 8.
To simplify created a new project (cleared), just call and sending SMS. This project also does not enter the call and SMS mode when installed on Android 11, while this application works on Android 10, 9, 8.
I tried different codes, it doesn't work on android 11, but on android 10, 9, 8 it works fine. Just does not switch to SMS sending mode or call mode. Android 11 blocks the operation of the program, sending SMS and calls.
The application for Android APK (.apk) created from the project in May 2021 works on Android 11 correctly, and calls and sends SMS, and created from the same project in October 2021 does not work on Android 11.
Be aware that if you want to test SendMessageDirect and MakePhoneCallDirect blocks in the companion you must use the version of the companion ending in u. Google made us remove these permissions from the version published in the Play Store but they are still available in the version from the website via the Help > Companion Information menu item.
My project works fine in companion, but does not work on Android 11. If anyone has a project working on Android 11 that calls and sends SMS, please send it to the mail removed by Mod . I will be very grateful. Everything I've tried so far doesn't work on Android 11.
It's a pity for the lost 10 months, but the program created in May 2021 does not work on Android 11. The program does not switch to SMS sending mode and call mode. Attempts to make the program work were unsuccessful. The "APK" file created in May 2021 works fine on Android 11, and the one created in October no longer works (the project is the same). The developers did something with the "ap inventor" application, it stopped creating a working "APK". You will have to study and switch to Android Studio, which will require additional time.
@aagolov Google changed how intents can be used on Android 11. See Intent for sending text messages no longer working on Android 11 - Stack Overflow
. ActivityStarter is the way App Inventor uses intents because "APK" file created in May 2021 works fine on Android 11, and the one created in October no longer works (the project is the same). This is a Google issue, not AI2 and probably arises in Google restrictions in what is allowed in Android 11 and involves the manifest.
You must probably use the SendMessageDirect block in Companion 2.62 instead of ActivityStarter or the SendMessage. Follow the advice in the documentation. If you do that, you probably can get sms to work on Android 11. Show us what you try.