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

React Native webview rendering blank screen #247

Closed vawong closed 8 months ago

vawong commented 2 years ago

Picture of my code Screen Shot 2021-09-20 at 7 33 22 PM

My tvWidget isn't rendering and just displays as a blank screen. Above is a screenshot of the code I'm using to render. I have the charting library repo downloaded and referenced correctly as well so I'm not sure what the issue is.

NeverGone97 commented 2 years ago
  • Framework/library: React Native

Picture of my code Screen Shot 2021-09-20 at 7 33 22 PM

My tvWidget isn't rendering and just displays as a blank screen. Above is a screenshot of the code I'm using to render. I have the charting library repo downloaded and referenced correctly as well so I'm not sure what the issue is.

U remove safeview and text , and show only webview run for u.

NeverGone97 commented 2 years ago

when i reload or go to other class when go back, webview rendering blank screen help me

vawong commented 2 years ago

Removing SafeAreaView and Text shouldn't affect anything. Just tried it and the same errors pop up. I'm receiving "Did not receive response to shouldStartLoad in time" errors.

vawong commented 2 years ago

I also get No object exists at the desired reference. Please help with this. The example should work in this repo, not prove more problems.

NeverGone97 commented 2 years ago

When i run example without safearea it working

vawong commented 2 years ago

Is your code exactly the same? I'm running it and am still getting a blank screen.

vawong commented 2 years ago

When I run the exact example, it says that the target does not exist.

NeverGone97 commented 2 years ago

you open index.html in asset android check it and debug

vawong commented 2 years ago

Ah, I’m on iOS.

On Tue, Sep 21, 2021 at 21:08 NeverGone97 @.***> wrote:

you open index.html in asset android check it and debug

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tradingview/charting-library-examples/issues/247#issuecomment-924500065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRMPW6F2YXRA23SZJ7X4GLUDET7FANCNFSM5EOTVQMA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

NeverGone97 commented 2 years ago

image Are u follow it?

vawong commented 2 years ago

Yes I am. I added charting_library files in my project's xcodeproj, ran ios, and am getting an error that looks like this: Screen Shot 2021-09-23 at 2 39 21 PM

I'm fairly sure I'm getting the same errors as this issue: https://github.com/tradingview/charting-library-examples/issues/231 and https://github.com/tradingview/charting-library-examples/issues/213, which I'm still seeing is open and unresolved.