I eject my EXPO app and android folder have the following structure host.exp.exponent. At the AndroidManifest.xml I have two names of the package name.
The first is "host.exp.exponent" generates when app is ejected
The second is 'com.company.appname' from build.gradle (based on the expo app.json)
I create the api_key for 'com.company.appname' and implement to api_key.txt, but I'have an error - ADM Error INVALID_SENDER - Unable to parse API Key for package 'com.company.appname'. Did you forget to embed it?
<!-- ADM --> <amazon:enable-feature android:name="com.amazon.device.messaging" android:required="false"/> <service android:name="host.exp.exponent.ADMMessageHandler" android:exported="false" /> <receiver android:name="host.exp.exponent.ADMMessageHandler$Receiver" android:permission="com.amazon.device.messaging.permission.SEND" > <intent-filter> <action android:name="com.amazon.device.messaging.intent.REGISTRATION" /> <action android:name="com.amazon.device.messaging.intent.RECEIVE" /> <category android:name="com.company.appname"/> </intent-filter> </receiver>