Skip to content

Instantly share code, notes, and snippets.

@vovkasm
Created June 24, 2019 20:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vovkasm/aefe3e7e1f6b3266dc70d6c403ea9d73 to your computer and use it in GitHub Desktop.
Save vovkasm/aefe3e7e1f6b3266dc70d6c403ea9d73 to your computer and use it in GitHub Desktop.
Sample minimal readme for RN project.

MyProject

Prereqs

  • java, ant
  • Xcode
  • ruby

Install deps

  • npm ci (node: rn cli etc...)
  • bundle install (ruby: fastlane)

Development

Requirements

  • npm i -g react-devtools

Run iOS

  • react-devtools (start devtools electron app)
  • npm run xcode (starts xcode and opens workspace)
  • npm start (start packager)

Testing

Deeplinks on Android

adb shell am start -W -a android.intent.action.VIEW -d myprojdev://sample.com/events/search com.sample.MyProjectDev

Или для продакшн конфигурации

adb shell am start -W -a android.intent.action.VIEW -d myproj://sample.com/events/search com.sample.MyProject

Deeplinks on iOS

Просто открыть deep link в Safari

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment