You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Adds support for `.fcscript` files for Fusionchart
106
-
'fcscript'
107
-
);
108
-
module.exports= config;
109
-
110
-
```
111
-
112
-
7. Replace the code in the "App.js" file to receive a desired chart. [Example](https://github.com/fusioncharts/react-native-fusioncharts#quick-start)
113
-
114
-
8. Run the following command:
94
+
6. Run the following command:
115
95
```expo start```
116
96
Expo should create a QR-code in your Command Prompt window.
117
97
118
-
9. Open the Expo Go application on your device – you should have installed it in order to run your FusionCharts app on this device.
98
+
7. Open the Expo Go application on your device – you should have installed it in order to run your FusionCharts app on this device.
119
99
120
-
10. Make sure your device is on the same Wi-Fi network as the computer where you are executing Expo commands.
100
+
8. Make sure your device is on the same Wi-Fi network as the computer where you are executing Expo commands.
121
101
122
-
11. Scan the QR-code with the Expo Go scanner. The application will run on this device. It should display the charts properly.
102
+
9. Scan the QR-code with the Expo Go scanner. The application will run on this device. It should display the charts properly.
123
103
124
-
12. You can make changes to your code while running the application on your device: it should automatically reload after you save the changes.
104
+
10. You can make changes to your code while running the application on your device: it should automatically reload after you save the changes.
125
105
126
106
127
107
## How to create your own application using FusionCharts – with React-Native CLI
128
108
129
-
130
-
131
109
1. Make sure you have the latest versions of Node and JDK installed in your environment. Dependencies for Android and iOS emulators.
132
110
should also be setup properly. Check the official [React Native documentation](https://reactnative.dev/docs/environment-setup) for more details.
133
111
@@ -159,27 +137,6 @@ should also be setup properly. Check the official [React Native documentation](h
159
137
160
138
After installing `react-native-fusioncharts`, follow the steps below:
161
139
162
-
It isrequired to add the .fcscript into the asset extensions section of metro.config.js file, or create that file within your project, and configure it like below:
0 commit comments