fusioncharts / react-native-fusioncharts

Simple and Lightweight React Native component for FusionCharts JavaScript Charting Library
https://fusioncharts.github.io/react-native-fusioncharts
MIT License
78 stars 36 forks source link

New License Activation Process with v3.15.3+ using Expo #108

Open WilbertJanney opened 3 years ago

WilbertJanney commented 3 years ago

FusionCharts have changed how the license is activated for v 3.15.3+. I am using 3.16.0. I tried following the instructions at the official documentation page, but I don't see where to put my key when using Expo. I have it working with the trial version at least with the instructions from https://github.com/fusioncharts/react-native-fusioncharts/issues/2.

Official Documentation

AyanBhadury commented 3 years ago

@WilbertJanney Please drop a mail to support@fusioncharts.com with your license details.

WilbertJanney commented 3 years ago

@WilbertJanney Please drop a mail to support@fusioncharts.com with your license details.

I emailed them, but they gave me generic React Native instructions. I'm trying to figure out how to make it work with Expo without having to copy over the files from the node modules folder. I might just have to do that if I can't find a way to activate it with less files included in our project.

AyanBhadury commented 3 years ago

@WilbertJanney Please share with me the ticket id, so that I can have a quick look, please note you need to copy the lib files to the assets folder to render the chart in react native, only fusioncharts react-native component could be imported from node modules as of now.

WilbertJanney commented 3 years ago

@WilbertJanney Please share with me the ticket id, so that I can have a quick look, please note you need to copy the lib files to the assets folder to render the chart in react native, only fusioncharts react-native component could be imported from node modules as of now.

My ticket is 533075. I got it to work in Expo with a watermark without having to copying over the files from the node modules so I thought I could activate the license without having to do that. Are you saying I am going to have to import the files, then add the key to the end of the fusioncharts.js file to the copied over file?

AyanBhadury commented 3 years ago

@WilbertJanney Please share with me the ticket id, so that I can have a quick look, please note you need to copy the lib files to the assets folder to render the chart in react native, only fusioncharts react-native component could be imported from node modules as of now.

My ticket is 533075. I got it to work in Expo with a watermark without having to copying over the files from the node modules so I thought I could activate the license without having to do that. Are you saying I am going to have to import the files, then add the key to the end of the fusioncharts.js file to the copied over file?

correct @WilbertJanney

WilbertJanney commented 3 years ago

@WilbertJanney Please share with me the ticket id, so that I can have a quick look, please note you need to copy the lib files to the assets folder to render the chart in react native, only fusioncharts react-native component could be imported from node modules as of now.

My ticket is 533075. I got it to work in Expo with a watermark without having to copying over the files from the node modules so I thought I could activate the license without having to do that. Are you saying I am going to have to import the files, then add the key to the end of the fusioncharts.js file to the copied over file?

correct @WilbertJanney

Well, it looks like I found another solution without having to copy over the assets from the node modules folder. After running this script: "build:assets": "fc-build-assets --fc-template ./assets/fusioncharts-tpl.html"

I then opened the generated fusioncharts.html and inserted the key at the end of the first Githubissues.

  • Githubissues is a development platform for aggregating issues.