mobile-app
See your city's air pollution measured in daily cigarettes. iOS/Android.
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 33 committers (3.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.0%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
See your city's air pollution measured in daily cigarettes. iOS/Android.
Basic Info
- Host: GitHub
- Owner: shootismoke
- License: gpl-3.0
- Language: TypeScript
- Default Branch: master
- Homepage: https://shootismoke.app
- Size: 10.3 MB
Statistics
- Stars: 506
- Watchers: 12
- Forks: 122
- Open Issues: 20
- Releases: 0
Topics
Metadata Files
README.md
Shoot! I Smoke
Know how many cigarettes you smoke based on the pollution of your location
:iphone: Try it on Expo
This app is bootstrapped with Expo, you can download the Expo app on the App Store or Play Store, and enter the url provided below. We have 2 release channels:
| Release Channel | Version | Description | Url |
| ----------------------------------------------------------------------------------------- | ------- | --------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
| Production | v1.8.10 | Same version as Shoot! I Smoke on the App Store and Play Store. | https://exp.host/@shootismoke/mobile-app?release-channel=production-v1.8.10 |
| Staging | v1.8.10 | Latest version currently in development: newest features, may contain bugs. | https://exp.host/@shootismoke/mobile-app |
:hammer: Build it yourself
Run the following commands:
```bash
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:
- 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 eas.json. If you want to use your own API tokens, then in eas.json's env field, add your own values. For those that are optional, you can just put null (without quotes).
| Name | | Service | Url | Comments |
| ----------------- | ----------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------- | -------- |
| GEOAPIFYAPIKEY | Geoapify geocoding | https://geoapify.com | Required. Get your own and populate it in .env |
| BACKENDSECRET | Shoot! I Smoke Backend | https://github.com/shootismoke/backend | Required. Pre-filled with a staging token. |
| AQICNTOKEN | World Air Quality Index | http://aqicn.org/api/ | Required. You can use the public one in eas.json for development. |
| SENTRYPUBLICDSN | Sentry Bug Tracking | https://sentry.io | Optional. |
| AMPLITUDEAPIKEY | 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. |
:raising_hand: Contribute
If you find a bug, or if you have an idea for this app, please file an issue here. We really appreciate feedback and inputs! For code contribution, you can start with these easy tasks.
More information on contributing here.
:microscope: Tests
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.
Releases
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.
```bash
IOS
eas build -p ios eas submit -p ios
Android
eas build -p android eas submit -p android ```
:newspaper: License
GPL-3.0. See LICENSE file for more information.
:star: Credits
Created with pride by Marcelo & Amaury.
A huge thanks to the following contributors for their amazing work:
Owner
- Name: Sh**t! I Smoke
- Login: shootismoke
- Kind: organization
- Email: hi@shootismoke.app
- Website: https://shootismoke.app
- Repositories: 5
- Profile: https://github.com/shootismoke
See your city's air pollution measured in daily cigarettes. Web/iOS/Android.
GitHub Events
Total
- Issues event: 1
- Watch event: 22
- Fork event: 4
Last Year
- Issues event: 1
- Watch event: 22
- Fork event: 4
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Amaury Martiny | a****y@p****m | 270 |
| dependabot-preview[bot] | 2****] | 214 |
| Amaury Martiny | a****y@g****m | 134 |
| Amaury | 1****m | 63 |
| dependabot[bot] | 4****] | 9 |
| Lucien Blunk-Lallet | l****t@g****m | 4 |
| Nick | 9****t | 4 |
| Giacomo Lombardi | l****2@g****m | 2 |
| James Pearson | m****l@j****o | 2 |
| Marcelo Risse | m****e@g****m | 2 |
| OlgaMorales | 4****s | 2 |
| Vikrant Negi | v****7@g****m | 2 |
| Sarthak Pranesh | s****8@v****n | 2 |
| Ademílson F. Tonato | 5****o | 1 |
| Brad Christie | b****h@s****t | 1 |
| Elizabeth Gonzalez | 4****2 | 1 |
| s2moon98 | 5****8 | 1 |
| mmsw1597 | 5****7 | 1 |
| jorgerivero3 | r****5@g****m | 1 |
| idanyman | i****n@g****m | 1 |
| Yevhenii Melnyk | m****i@g****m | 1 |
| Sathia | s****4@g****m | 1 |
| Roberto Ortega | b****t@g****m | 1 |
| Po Chun, Lu | S****7 | 1 |
| Pierre Veissi | p****i@g****m | 1 |
| Per Lilja | p****a@g****m | 1 |
| Mate Papp | m****p@i****m | 1 |
| LeaGoarant | 5****t | 1 |
| Kay | s****y@g****m | 1 |
| Kartik Budhiraja | 3****a | 1 |
| and 3 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 89
- Total pull requests: 863
- Average time to close issues: 3 months
- Average time to close pull requests: 9 days
- Total issue authors: 24
- Total pull request authors: 37
- Average comments per issue: 2.48
- Average comments per pull request: 0.76
- Merged pull requests: 466
- Bot issues: 0
- Bot pull requests: 605
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- amaurym (61)
- jamespearson (2)
- rlewicki (2)
- PIB275 (2)
- vikrantnegi (2)
- marceloscoelho (2)
- kartik-budhiraja (1)
- GarethRWhite (1)
- Sirius207 (1)
- gugacavalieri (1)
- lucienbl (1)
- nicolasmaia (1)
- xoorath (1)
- ngdangtu-vn (1)
- Ali-TM-original (1)
Pull Request Authors
- dependabot-preview[bot] (577)
- amaurym (209)
- dependabot[bot] (28)
- lucienbl (4)
- DragonSpirit (4)
- marcelorisse (3)
- vikrantnegi (2)
- kartik-budhiraja (2)
- jamespearson (2)
- mmsw1597 (2)
- sarthakpranesh (2)
- OlgaMorales (2)
- lomby92 (2)
- adi-mohan (1)
- s2moon98 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 46
proxy.golang.org: github.com/shootismoke/mobile-app
- Documentation: https://pkg.go.dev/github.com/shootismoke/mobile-app#section-documentation
- License: gpl-3.0
-
Latest release: v1.8.14
published almost 5 years ago
Rankings
Dependencies
- @amaurym/config ^1.3.5 development
- @types/detox ^17.14.0 development
- @types/jest ^26.0.20 development
- detox ^18.6.2 development
- detox-expo-helpers ^0.6.0 development
- jest ^26.6.3 development
- jest-expo ^40.0.0 development
- ts-jest ^26.5.1 development
- typescript ~4.0.0 development
- @dooboo-ui/native-switch-toggle ^0.7.0
- @expo/react-native-action-sheet ^3.8.0
- @react-native-async-storage/async-storage ^1.14.1
- @react-native-community/masked-view 0.1.10
- @react-navigation/native ^5.9.3
- @react-navigation/stack ^5.14.3
- @shootismoke/ui ^0.8.8
- @types/i18n-js ^3.8.0
- @types/react-native ~0.63.2
- date-fns ^2.17.0
- expo ^40.0.1
- expo-analytics-amplitude ~9.0.0
- expo-av ~8.7.0
- expo-detox-hook ^1.0.10
- expo-localization ~9.1.0
- expo-notifications ~0.8.2
- expo-status-bar ~1.0.3
- i18n-js ^3.8.0
- react 16.13.1
- react-native https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz
- react-native-gesture-handler ~1.8.0
- react-native-maps 0.27.1
- react-native-reanimated ~1.13.0
- react-native-safe-area-context 3.1.9
- react-native-screens ~2.15.2
- react-native-scroll-into-view ^1.0.3
- react-native-size-matters ^0.4.0
- react-native-view-shot 3.1.2
- sentry-expo ^3.0.4
- truncate ^2.1.0
- 1701 dependencies
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/setup-node v2 composite
- expo/expo-github-action v7 composite
- actions/checkout v1 composite