-
Release key need to be added and do some regular steps as per react -native guidelines https://reactnative.dev/docs/signed-apk-android
-
Instead of creating aab we will create apk
-
Create assets directory inside Android like below
/Users/tareq/code/threls/react-native/sdk/weavr-react-native/example/android/app/src/main/assets
4.Bundle assets using the following command
npx react-native bundle --platform android --dev false --entry-file index.tsx --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
5. Use the following command to generate apk now from android directory