treebohotels/leaf-ui

React Native not working

bdombro opened this issue · 0 comments

Describe the bug
After spending 2+ hours troubleshooting, I still cannot get yarn native to work. For starters, expo v32 is no longer supported by expo-cli. I tried upgrading to v33 and v34 using expo upgrade 33, but then encountered error,

image

I then tried creating a Basestyles.native.js, and then got "Unexpected token" on

image

I'm unsure how to fix this.

To Reproduce
Steps to reproduce the behavior:

  1. Clone repo
  2. yarn & yarn native

Expected behavior
The app to work on RNative

Smartphone

  • Device: iPhone X 12.4 simulator

Library

  • leaf-ui: d479ca6
  • node: 10
  • npm: 6.9.0

Additional Context
Add any other context about the problem here.