Multi-platform mobile app built with React Native.
Client of almapp/uc-maps
Clone this repository:
git clone https://github.com/almapp/uc-maps-mobile.git
cd uc-maps-mobileMake sure you have installed react-native-cli and rnpm:
npm install -g react-native-cli rnpmProject dependencies:
npm installTo run on Android, first you need a valid Google Maps API Key. Then put it in android/app/src/main/AndroidManifest.xml:
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="API_KEY"/>The current API KEY only works on signed
com.almapp.ucmapsapps.
Start the development server with:
npm startTo run on an Android device, first you need the Android SDK and allow development options on the device. Then:
npm run androidTo run on an iOS emulator:
npm run iosFollow this steps to publish the app:
https://facebook.github.io/react-native/docs/signed-apk-android.html
Set the API KEY and then run:
cd android
./gradlew assembleReleaseTest on device with:
./gradlew installReleaseThe signed .apk is located in:
app/build/outputs/apk/app-release.apk- Open
ios/UCMaps.xcodeprojwith XCode. - Uncomment
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; - Select
Generic iOS Device - Go to
Product -> Archive
The final file should appear on the Organizer.

