Giter Club home page Giter Club logo

Comments (4)

gawema avatar gawema commented on August 15, 2024

Hey,

I have created the project with expo init and used the react-native-charts-js...
Its running fine in Android Emulator but when building a signed APK for the application it throws the following error.
ee

Can anyone help out what is the issue?

Thanks in Advance

Hi @kalyanipullela , I am having the same issue, did you perhaps find a solution??
Thanks a lot in advance! :)

from react-native-chartjs.

kalyanipullela avatar kalyanipullela commented on August 15, 2024

no @gabwesth

from react-native-chartjs.

Moon-009 avatar Moon-009 commented on August 15, 2024

@gabwesth @kalyanipullela

I'm sorry to read this late. I have a little long time no develop mobile apps. About this ,I need some time to test.

from react-native-chartjs.

Moon-009 avatar Moon-009 commented on August 15, 2024

@kalyanipullela @gabwesth Happy to tell that I found the solution. According to https://stackoverflow.com/questions/37102662/external-html-asset-not-bundled-by-react-native-in-production-build-for-use-by-w, I put the index.html under the assets directory and change the source configuration as
source = {{uri: 'file:///android_asset/index.html'}}
in the "index.js", It works fine. The asset directory is under android/app/src/main, if it doesn't exist, you need create it manually.
This works just for android release situation.

from react-native-chartjs.

Related Issues (10)

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.