Skip to content

Instantly share code, notes, and snippets.

@JohnProg
Created April 19, 2020 20:02
Show Gist options
  • Save JohnProg/470d9fcf4e0269ed136371ab335ef2ef to your computer and use it in GitHub Desktop.
Save JohnProg/470d9fcf4e0269ed136371ab335ef2ef to your computer and use it in GitHub Desktop.
React native
- [ ] Install adb on mac
brew install android-platform-tools
adb devices
adb start-server
adb kill-server
adb devices
adb reverse tcp:8081 tcp:8081
// Run
react-native run-android
// Debug url chrome
http://localhost:8081/debugger-ui
// Load popUp menu with options
adb shell input keyevent 82
// uninstall old app
adb uninstall "com.test1app"
https://android.jlelse.eu/preparing-a-reach-native-android-app-for-production-f063413d5633#.mrdkytfs7
// Finally you’ll want to generate your production apk (app-release.apk) with the following commands:
cd android && ./gradlew assembleRelease
./gradlew installRelease
./gradlew installRelease
Material design
https://github.com/binggg/mrn
https://github.com/xotahal/react-native-material-ui
https://github.com/xinthink/rnmk-demo
IOS
react-native run-ios --device "John's iPhone" --configuration Release
no url bundle
sudo xcodebuild -license
https://github.com/electrode-io/electrode-native/blob/4401685c01a048066743614c6c51025ff7c43bde/ern-container-gen/src/generators/android/hull/lib/src/main/java/com/walmartlabs/ern/container/ElectrodeReactContainer.java
https://github.com/facebook/react-native/commit/22efd95be1f0b236eeaaa8a8e6d01e89771c9543#diff-177100ae5a977e4060b54cc2b34c79a7
https://github.com/facebook/react-native/commit/22efd95be1f0b236eeaaa8a8e6d01e89771c9543
fcm
http://nobrok.com/push-notification-using-react-native-and-firebase-part-2/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment