fusioncharts / react-native-fusioncharts

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

expo dependencies? #134

Open robotkala opened 3 years ago

robotkala commented 3 years ago

Hello, as I am not developing with expo I was wondering why does the library depend on these modules:

    "expo-status-bar": "~1.0.3",
    "expo-media-library": "~10.0.0",
    "expo-notifications": "^0.8.2",
    "expo-sharing": "^8.5.0"

Especially I am interested in expo-notifications. When deploying the app to Apple's App Store, they are telling me that I am registering with the Apple Push Notification service and I need to configure many things regarding that. Since I am not using notifications in my app, this dependency is creating many questions and issues.

Thank you

AyanBhadury commented 3 years ago

@robotkala : For react native uni modules expo dependency is required you can read more here : https://docs.expo.dev/bare/installing-unimodules/

robotkala commented 3 years ago

I am asking why does FusionCharts need expo notifications for its functionality?

AyanBhadury commented 3 years ago

@robotkala FusionCharts does not need expo notifications, you can refer to my sample package.json : https://github.com/AyanBhadury/bare_react_native_charts/blob/main/package.json

Repo link : https://github.com/AyanBhadury/bare_react_native_charts

stee1ix commented 2 months ago

@AyanBhadury I am using a bare react native project and was on 4.1.2. I'm trying to upgrade to 5.2.3 but I'm seeing errors having expo libraries. Do I have to install anything other that react-native-fusioncharts?