Comments (4)
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.
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.
no @gabwesth
from react-native-chartjs.
@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.
@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)
- Nothing show while i have build an APK HOT 3
- Why does 'Native component for "RNCWebView" does not exist' error come out? HOT 5
- iOS: Error evaluating injectedJavaScript HOT 4
- It's possible to use Chart.helpers and Chart.elements for customization and drawing? HOT 1
- Problem: IOS real device HOT 5
- Problem in production
- Update Real-Time Line Chart Dynamically HOT 1
- iOS warning scalesPageToFit HOT 1
- Android warning with Expo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-chartjs.