Trustroots.org mobile app built with Expo.io and React Native.
Install for Android via Play Store or download APK.
Currently the app merely wraps Trustroots.org site in a WebView
component and provides push notifications.
npm install expo-cli --global
npm ci
in project directorycp Settings-example.js Settings.js
(and modify contents if needed)npm start
If you prefer emulator instead of using physical phone check out instructions form Expo site.
Note that emulator cannot process push notifications.
Type expo start --ios
or expo start --android
to open the application in emulators.
By default app is configured to load site from https://www.trustroots.org
in the WebView, but you can change this to load your local version.
Before you start, install and run Trustroots on your local machine.
To load your local version:
http://YOUR-IP-ADDRESS:3000/
in your browser.Settings.js
and set BASE_URL
to http://YOUR-IP-ADDRESS:3000/
.Note that if you want to use https or different port, you need to configure those from Trustroots's configuration files.
MIT