Testing codes for LifeLine app (MAJOR PROJECT)
Search destination | Pick destination |
---|---|
Pick route to destination | Route to destination |
---|---|
Add Obstruction | Delete Obstruction |
---|---|
- react-navigation-4.x
- Code to navigate between screens using React Navigation v4.x
- For comparing with navigation using react-native-router-flux
- Decided to use this
- react-native-router-flux
- Code to navigate between screens using React Native Router Flux v4.x
- envVar
- Trying to read the data stored in .env file using process.env. FAILED
- react-native-dotenv
- Read data from .env file using a module react-native-dotenv
- Followed instructions this link
- mapboxMap
- Codes for Mapbox Map
- searchLocation
- Search the for location using Mapbox GL JS Geocoding API
- mapboxSDK
- Searching for locations using Mapbox SDK JS
- Trace route from user current location to the selected destination
- pickLocation
- Allowing the user to pick a location on Map and trace a route to that location
- changeUI
- Making a more Google Maps app like UI
- Adding small animation
- addObstruction
- Add and remove obstruction marker on map
- add (edited) - Icons made by dmitri13 from www.flaticon.com
- addButton (edited) - Icons made by Pixel perfect from www.flaticon.com
- back - Icons made by Roundicons from www.flaticon.com
- cross - Icons made by Those Icons from www.flaticon.com
- finish (edited) - Icons made by Kiranshastry from www.flaticon.com
- pickMap (edited) - Icons made by Good Ware from www.flaticon.com
- pin (edited) - Icons made by Freepik from www.flaticon.com
- search - Icons made by Freepik from www.flaticon.com
- trash (edited) - Icons made by Freepik from www.flaticon.com
- use (edited) - Icons made by Freepik from www.flaticon.com
- marker (edited) used in destinationMarker, obstructionMarker and pickedLocationMarker - Icons made by Those Icons from www.flaticon.com
- block (edited) used in obstructionMarker - Icons made by DinosoftLabs from www.flaticon.com
- flag used in destinationMarker- Icons made by Freepik from www.flaticon.com
Tested on ANDROID only
- on Android 5.1.1
- MapboxGL.Camera.setCamera() doesn't always work
- MapboxGL.Camera.fitBounds() zooms out every time it is called eventually causing error
- MapboxGL.MapView.onPress() is not fired after ShowRouteInfo is rendered i.e. only it is only fired once
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.