Skip to content

Instantly share code, notes, and snippets.


Junhao Chen ArthurInTheShell

View GitHub Profile
View gist:9c26f88b58e2e00c17138c8dfbec3bbb
./gradlew assembleRelease
adb install (apk) [under directory sdk/platform-tools]
View gist:acf0ce50108df2ea90a3b8b643f31c0e
behaviour on android should be null to avoid conflicts
View gist:0d7f5e4219bbb9d5948391a57bcc4176
cd android && ./gradlew clean && cd ../
ArthurInTheShell / gist:af85e030631c63a214c1497601078339
Created Jun 7, 2018
Fix some dependency problems in react native
View gist:af85e030631c63a214c1497601078339
watchman watch-del-all
npm cache clean --force && npm install
clean the cache and reinstall all the packages
ArthurInTheShell / gist:577ce5a07d66e5b2ab430eb1697dbb18
Created Jun 7, 2018
Example of extending a Navigator in React Native
View gist:577ce5a07d66e5b2ab430eb1697dbb18
In case you don't see the vital line 53, [flex:1] is very important
Thanks for Brent Vaten for this code.
You can’t perform that action at this time.