- It uses https://www.npmjs.com/package/license-checker
- Generate a json file for the list of OSS license by running the following command.
$ license-checker --production --json --out ./licenses.json
$ eas build -p android --profile development
https://docs.expo.dev/submit/android/
$ eas build --profile production --platform android
- Then, a build process is triggered on the EAS.
$ eas build --profile emulator --platform android --local
- "emulator" is a profile defined in eas.json.
- Note: In the first time, we have to upload a binary to Google play console manually. This is the guide for it.
- Icon config noted in https://docs.expo.dev/versions/latest/sdk/notifications/#configurable-properties didn't work.
- According to expo/expo#24844 (comment), they told to update AndroidManifest.xml manually until the issue is fixed.
- Step to edit AndroidManifest.xml is
-
- Run
$ npx expo prebuild -p android
to generate android directory
- Run
-
- Add below in
<application>...</application>
tag.
- Add below in
-
<meta-data android:name="expo.modules.notifications.default_notification_color" android:resource="@color/notification_icon_color"/>
<meta-data android:name="expo.modules.notifications.default_notification_icon" android:resource="@drawable/notification_icon"/>