added simple build script to create the react native bundle before the buildozer APK build

This commit is contained in:
Akinwale Ariwodola 2017-12-28 17:25:25 +01:00
parent 6eee4a9b99
commit 070d36317b
4 changed files with 8 additions and 3 deletions

View file

@ -5,7 +5,7 @@ class InfoComponent extends React.Component {
render() {
return (
<View style={styles.container}>
<Text style={styles.title}>LBRY Info</Text>
<Text style={styles.title}>LBRY UI</Text>
</View>
);
}

5
build.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
cd app
react-native bundle --platform android --dev false --entry-file index.js --bundle-output ../src/main/assets/index.android.bundle --assets-dest ../src/main/res/
cd ..
buildozer android debug

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
DNT­×1UžÉø;ŽÀÍ
fzvόκ9©φ¥yFΓ“Ο}‘ά³θ