See your city's air pollution measured in daily cigarettes. iOS/Android.
:iphone: Try it on Expo
|Production||v1.7.2||Same version as Sh**t! I Smoke on the App Store and Play Store.||
|Staging||v1.7.2||Latest version currently in development: newest features, may contain bugs.||
:hammer: Build it yourself
Run the following commands:
# Clone this repo git clone https://github.com/amaurym/shoot-i-smoke && cd shoot-i-smoke # Install dependencies yarn install # Copy the file that contains secrets cp app.example.json app.json # Run the app with Expo yarn start
The Expo packager will show, and you can either:
- install the Expo app, scan the displayed QR code, and run the app on your mobile phone directly.
- open the Android simulator.
- open the iOS simulator.
Use your own API tokens
All required API tokens are already pre-filled in
app.example.json. If you want to use your own API tokens, then in
app.json, replace all the placeholders with the ones you generated for yourself. For those that are optional, you can just put
null (without quotes).
|Sh**t! I Smoke Backend||https://github.com/shootismoke/backend||Required. Pre-filled with a staging token.|
|World Air Quality Index||http://aqicn.org/api/||Required. You can use the public one in
|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.|
|Sentry Bug Tracking||https://sentry.io||Optional.|
|Amplitude Analytics||https://amplitude.com||Optional. Note: we never track PII.|