Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.65 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.65 KB

Kitsu Mobile


This is our mobile repository. It contains the React Native app.
Check out the meta, client, server and api docs repositories.


Installation

Prerequsites

  • yarn
  • watchman
  • react-native-cli
    • yarn global add react-native-cli

Instructions

If you run OSX then download the iOS FacebookSDK and unzip the archive to ~/Documents/FacebookSDK

  1. Run yarn install
  2. Run react-native link
  3. Because of weird bug, react native does not have btoa and atob functions, but it is needed in auth library, for that we need to import btoa and atob in that library. (this is temporary solution, I will create PR to support react-native to that library). For now, you can run the app by enabling Remote debug mode, and app will work as it should.

Debugging

Known Issues ⚠️

  1. Packager fails to resolve aliases at first run. Do yarn start:reset instead of yarn start at first launch. Same applies when running the app with react-native run-ios or react-native run-android. Kill the packager and type yarn start:reset