Skip to content

Instantly share code, notes, and snippets.

View yagizhanNY's full-sized avatar
🎯

Yağızhan Necat Yakalı yagizhanNY

🎯
View GitHub Profile
@yagizhanNY
yagizhanNY / gist:c6a6d8846facf51247f57341e4648d02
Created February 9, 2024 11:40 — forked from dmandrade/gist:e76a2da8da8a325f3ab9e275da15d5d9
React Native build unsigned apk without development server
# create assets folder in the current project
$ mkdir android/app/src/main/assets
# create bundle script
$ react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
# execute command to run android to create debug apk
$ react-native run-android
# change to android folder