/hltb-mobile-app

Mobile app for How Long To Beat website

Primary LanguageHTML

HLTB Mobile App

hltb Version React native Version

This is a open-source, unofficial, and non-commercial mobile app for How Long To Beat.

Requirements

  • 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.

Installation

Install dependencies using yarn or npm

yarn install

or

npm install

Start bundling server

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

Production APK

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