This project is retired! I don't have an Android phone anymore and the updates are very time consuming.
I recommend using the mobile version of https://howlongtobeat.com in your browser
This is a open-source, unofficial, and non-commercial mobile app for How Long To Beat.
- node (v13.13.0)
- npm (v6.4.1) or Yarn (v1.22.10)
- react-native (v0.63.4)
Take a look at React native Getting started page.
Install dependencies using yarn or npm
yarn install
or
npm install
Now you can run the packager using yarn or npm
yarn start
or
npm start
Finally, while you keep this packager running, you can run the app on iOS or Android device.
npx react-native run-ios
npx react-native run-android
If the local assets are not appearing in the production APK, try running this:
npx react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
This is how to build and test the signed APK:
npx react-native run-android --variant=release