charting-library-examples icon indicating copy to clipboard operation
charting-library-examples copied to clipboard

React Native webview rendering blank screen

Open vawong opened this issue 3 years ago • 11 comments

  • 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.

vawong avatar Sep 21 '21 14:09 vawong

  • 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 avatar Sep 21 '21 19:09 NeverGone97

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

NeverGone97 avatar Sep 21 '21 19:09 NeverGone97

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 avatar Sep 21 '21 19:09 vawong

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.

vawong avatar Sep 21 '21 19:09 vawong

When i run example without safearea it working

NeverGone97 avatar Sep 21 '21 19:09 NeverGone97

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

vawong avatar Sep 21 '21 19:09 vawong

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

vawong avatar Sep 21 '21 19:09 vawong

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

NeverGone97 avatar Sep 22 '21 01:09 NeverGone97

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.

vawong avatar Sep 22 '21 02:09 vawong

image Are u follow it?

NeverGone97 avatar Sep 22 '21 02:09 NeverGone97

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.

vawong avatar Sep 23 '21 18:09 vawong