Recevoir un sms avec Appinventor pour piloter une maquette de portail (Receive an SMS with Appinventor to drive a gate model )

Je souhaite piloter l'ouverture d'une maquette de portail à artir de l'envoi d'un sms contenant le texte "Ouvrir". Cela fonctionnait parfaitement il y a 3 ans et là j'ai un problème, avez vous une idée ?
Merci beaucoup
Bruno Dien
5-Fiche coup de pouce - Piloter un portail avec SMS_Brique Lego_Bluetooth_Application Android_AppInventor.pdf (295.6 KB)

A guess is security changes made by Google in the past two years require you modify your code.

You also may need to use Companion 2.66u instead of 2.66

Merci pour votre réponse.
J'ai mis à jour le companion, voilà le message d'erreur :
Error 908 : The permission RECEIVE_SMS has been denied. Please enable it in the settings app.

D'avance merci.

Did you try doing that Minou? On your Android, go to Settings>Apps and try to allow permission RECEIVE_SMS

or set ReceivingEnabled

If set to 1 (OFF) no messages will be received. If set to 2 (FOREGROUND) or 3 (ALWAYS) the component will respond to messages if it is running. In the case of 2 (FOREGROUND), messages received while the app is not running are discarded. In the case of 3 (ALWAYS), messages receive while the app is not running will show a notification. Selecting the notification will bring up the app and signal the MessageReceived event. Messages received when the app is dormant will be queued, and so several MessageReceived events might appear when the app awakens. As an app developer, it would be a good idea to give your users control over this property, so they can make their phones ignore text messages when your app is installed.

Did you build the apk to test?