Skip to content

Instantly share code, notes, and snippets.

View mahipalsingh7's full-sized avatar
🏠
Working from home

Mahipal Singh mahipalsingh7

🏠
Working from home
View GitHub Profile
@mahipalsingh7
mahipalsingh7 / Important Links
Created December 15, 2019 09:04
Important Links
@mahipalsingh7
mahipalsingh7 / How to Upgrade the Reactnative to ~0.60
Created September 4, 2019 12:52
How to Upgrade the Reactnative to ~0.60
How to Upgrade the Reactnative to ~0.60
STEp 1: take complete Project Backup run below cmds
// delete watchman
$ watchman watch-del-all
// delete temporary files
If you have the long hash key 7f60edcee25f65794b75d4dfefed6fe4758781c1, just get the first 7 chars 7f60edc. It's the default for GitHub.
use commads
cd ./projectpath
git checkout 7f60edc
git branch
should be on respective brnach
run git pull [email protected]:xxxx/xxx.git
Source link: https://stackoverflow.com/questions/31374085/installing-adb-on-macos
# Option 1 - Using Homebrew
This is the easiest way and will provide automatic updates.
1. Install [homebrew](http://brew.sh/)
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Install adb
For android
Supportive Links :
https://facebook.github.io/react-native/docs/native-modules-setup
https://facebook.github.io/react-native/docs/native-modules-ios
https://facebook.github.io/react-native/docs/native-modules-android
Native Modules · React Native
https://facebook.github.io
Steps to add native application in
Supportive Links :
https://facebook.github.io/react-native/docs/native-modules-setup
https://facebook.github.io/react-native/docs/native-modules-ios
https://facebook.github.io/react-native/docs/native-modules-android
https://github.com/BondGoat/react-native-native-video-player/issues/4#issuecomment-281138998
Native Modules · React Native
https://facebook.github.io
Pull Code
—Terminal
Step 1. git clone <ssh key> //create an empty folder
step 2. cd created folder
step3. git branch
step4. git checkout <branch name>
step5. git pull brnach <ssh key>
PUsh Code On GITLAB
example url - [email protected]:xxxx/xxxx.git
—Terminal
Step 1. Change directory to main project folder
step 2. git init
step 3. git remote set “url” - - add origin
[email protected]:xxxx/xxxx.git
step 4. git remote add origin [email protected]:xxxx/xxxx.git
step 5. git add .
PUsh Code On Github
example url - [email protected]:xxxxdev/projectname.git
—Terminal
step 1. Change directory to main project folder
step 2. git init
step 3. git add .
step 4. git commit -m "inital commit"
step 5. git remote add origin [email protected]:xxxxdev/projectname.git
step 6. git remote -v
step 7. git checkout ios. //checkout branch
React Native Redux Example Tutorial
help Link: https://appdividend.com/2018/08/04/react-native-redux-example-tutorial/
We start our project by installing React Native CLI globally on the Mac. You can skip the following command if you have already installed.
#1: Install React Native.
Type the following command.
npm install -g react-native-cli
Okay, now for creating a new application, type the following command.