Giter VIP home page Giter VIP logo

Comments (5)

SlicedSilver avatar SlicedSilver commented on June 2, 2024 1

Have you copied all the files to correct directories?
https://github.com/tradingview/charting-library-examples/tree/master/react-native#how-to-start---android

The files are copied to different directories for iOS and Android.

To get a more concrete answer on what the issue is, you should connect the developer tools to the web view and see what the errors are (you may need to refresh the page).

from charting-library-examples.

Remato avatar Remato commented on June 2, 2024 1

Hi Mark, I managed to solve it!

For the next people who are going to integrate charting-library with Android and are testing in a simulator, when using Webview make sure to add the androidLayerType property

If it's set to hardware like me

androidLayerType="hardware"

just change it to:

androidLayerType="software"

this should fix the problem.

from charting-library-examples.

kiran-bhalerao avatar kiran-bhalerao commented on June 2, 2024

Datafeeds is undefined

from charting-library-examples.

vanditmehta avatar vanditmehta commented on June 2, 2024

getting same issue

from charting-library-examples.

Remato avatar Remato commented on June 2, 2024

I have the same problem, it works normally on iOS, but on android it doesn't work.

When I change my HTML to something like

<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	</head>

	<body>
             <h1>Hello World</h1>
	</body>
</html>

it works perfectly on Android, but the example doesn't work. @SlicedSilver Do you know what it could be?

I don't know if there is any permission, or if there is any additional HTML tag

from charting-library-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.