react-native-charts-wrapper icon indicating copy to clipboard operation
react-native-charts-wrapper copied to clipboard

Library doesnt work on expo

Open bassamseif opened this issue 3 years ago • 1 comments

Expected Behavior

Using expo, the example from readme should initialize correclty

Actual Behavior

The example from readme outputs the error

"RNLineChart" was not found in the UIManager

Steps to Reproduce the Problem

Following the guide in readme

expo

  1. expo init demo
  2. cd demo
  3. expo install react-native-charts-wrapper
  4. eas build

Change App.js according to the example from readme

bassamseif avatar Aug 30 '22 16:08 bassamseif

I'm facing the same problem. It says "RNLineChart was not found in UI manager".

AslamHamdi avatar Sep 12 '22 07:09 AslamHamdi

I'm having a similar problem here too

IMG_285E35855016-1

cairoramos7 avatar Sep 23 '22 19:09 cairoramos7

Try V0.5.10, it works on my iOS simulator by following expo steps in Example/README.

wuxudong avatar Sep 24 '22 15:09 wuxudong

To reproduce the issue use the Expo Go app for iOS without the native build:

> expo start
Open the app on Expo Go

This doesn't work if you have a native part. You must build the native app before like this:

> yarn global add eas-cli
> cd Example
> yarn install
> eas build -p ios --profile development
login to your expo.dev account
wait in queue for the app to be built
download application-xxx.tar.gz
extract the .tar.gz
drag application to ios simulator

Then you can develop the javascript:

> expo start --dev-client
Use Expo Go or open the app Example

hexadecy avatar Sep 26 '22 17:09 hexadecy

I have the same problem.

Simulator Screen Shot - iPhone 14 Pro Max - 2023-02-25 at 17 50 31

R-Art-project avatar Feb 25 '23 23:02 R-Art-project