This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
watchman watch-del-all | |
rm -rf node_modules && npm install | |
rm -rf $TMPDIR/react-* | |
rm -rf $TMPDIR/haste-map-react-native-packager-* | |
react-native link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ | |
cd android && ./gradlew assembleDebug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//SOURCE: https://developers.google.com/maps/documentation/ios-sdk/urlscheme | |
func startNavigation(dropLocation: CLLocation, startLocation: CLLocation?) { | |
let dCoordinate = dropLocation.coordinate | |
let dLatitude = dCoordinate.latitude | |
let dLogitude = dCoordinate.longitude | |
let baseURL = "comgooglemaps-x-callback://" | |
var navigationURL: String? |
NewerOlder