Mongolia Health Portal - Mobile is developed using in Flutter for visualizing data for health services and pharmacies in Mongolia. This will allow an immersive and consistent experience across any device: mobile, tablet or web.
git clone https://github.com/c2m2-asia/mongolia-health-portal-mobile
The default base url is set to Mongolia Health Portal's API base url. If you are trying the API for different city, replace the value of string API_BASE_URL
in strings.dart
. The link to API documentation can be found here.
Run flutter run
while you have a device connected to the computer or an emulator running and now you can run it.
The features currently available in the mobile client are:
- Map-based data visualization for Health services
- Search data for health services and pharmacies
- Filter data based on different scope
- Bookmark/Saving the selected data
- Share the selected data across multiple platforms
- Turn by turn navigation
We recommend you to go through the packages below for better understanding of the code flow, especially if you are new to the packages been used:
- flutter_map (https://pub.dev/packages/flutter_map)
- Hive db (https://pub.dev/packages/hive)
- Riverpod (https://pub.dev/packages/riverpod)
- Dio (https://pub.dev/packages/dio)
- flutter_mapbox_navigation(https://pub.dev/packages/flutter_mapbox_navigation)
This app uses flutter_mapbox_navigation library for Turn by turn navigation which requires a Mapbox access token.
Add your token in string.xml
file of your android apps res/values/ path as below:
<string name="mapbox_access_token" translatable="false">PASTE_YOUR_TOKEN_HERE</string>
Add your token in Info-Debug.plist
and Info-Release.plist
as below:
<key>MGLMapboxAccessToken</key>
<string>PASTE_YOUR_TOKEN_HERE</string>
If you'd like to contribute for other cities, clone the repository and push your changes to data-portal-cityname
branch. You may also fork the repository and contribute to this open source data portal Mobile client.
- Issue tracker: https://github.com/c2m2-asia/mongolia-health-portal-mobile/issues
- In case of sensitive bugs like security vulnerabilities, please contact [email protected] directly instead of using issue tracker. We value your effort to improve the security and privacy of this project!
- Related projects:
- Mongolia Health Portal - Web Client: https://github.com/c2m2-asia/mongolia-health-portal-client
This project is a part of the C2M2 project with Kathmandu Living Labs and Public Lab Mongolia as project partners.
This project is licensed under the MIT license, Copyright (c) 2019 Maximilian Stoiber.