tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.33k stars 744 forks source link

Cannot run React Native example - screen is blank #314

Open nadavdrewe opened 1 year ago

nadavdrewe commented 1 year ago

Describe the bug

Screen is blank running react native android example here: .https://github.com/tradingview/charting-library-examples

To Reproduce

import { WebView } from 'react-native-webview';

Clone the repo, swap out the webview for the correct component (or it won't work) and follow the steps, copy the files over into /assets folder. BTW: the project will not actually even run out of the box, I suggest you update the example.

Expected behavior

The chart appears on the screen.

Screenshots

image

Additional context

The index file is being hit - my own test files render correctly - the charting library does NOT. There are no errors in the console.

image

image

I have set up a repo with the updated example, I can give you access.

Thx