|Production||v1.8.10||Same version as Shoot! I Smoke on the App Store and Play Store.||
|Staging||v1.8.10||Latest version currently in development: newest features, may contain bugs.||
Run the following commands:
# Clone this repo git clone https://github.com/shootismoke/mobile-app && cd shoot-i-smoke # Install dependencies yarn install # Copy secrets cp .env.example .env # Run the app with Expo yarn start
The Expo packager will show, and you can either:
All required API tokens are already pre-filled in
eas.json. If you want to use your own API tokens, then in
env field, add your own values. For those that are optional, you can just put
null (without quotes).
|GEOAPIFY_API_KEY||Geoapify geocoding||https://geoapify.com||Required. Get your own and populate it in
|BACKEND_SECRET||Shoot! I Smoke Backend||shootismoke/backend||Required. Pre-filled with a staging token.|
|AQICN_TOKEN||World Air Quality Index||http://aqicn.org/api/||Required. You can use the public one in
|SENTRY_PUBLIC_DSN||Sentry Bug Tracking||https://sentry.io||Optional.|
|AMPLITUDE_API_KEY||Amplitude Analytics||https://amplitude.com||Optional. Note: we never track PII.|
|Google Maps for iOS||https://developers.google.com/maps/documentation/ios-sdk/start||Optional in development.|
|Google Maps for Android||https://developers.google.com/maps/documentation/android-api/||Optional in development.|
More information on contributing here.
The codebase unfortunately isn't much covered by tests. Check out the
*.spec.ts files in the project for tests. If you're interested to help out, have a look at issue #19.
The app released on the App Store and Play Store is always the one on the
production branch. We use EAS Update to remotely update the app when necessary. In general, this means that the semver patch version is bumped.
For major updates that don't work via EAS Update (such as an Expo SDK version bump), a new app binary is created using the commands below. In general, this means that the semver minor version is bumped.
# IOS eas build -p ios eas submit -p ios # Android eas build -p android eas submit -p android
GPL-3.0. See LICENSE file for more information.
A huge thanks to the following contributors for their amazing work: