Open imPrathamDev opened 3 months ago
@imPrathamDev, thanks for raising this issue! ππΌ Do you have a suggestion for how to support both expo and non-expo projects? From what we saw, it's possible to use expo-file-system in a non-expo project, however, the other packages we looked at for non-expo projects didn't work on expo.
@imPrathamDev @stnguyen90 I was able to use the SDK in a bare React Native project recently by installing expo (Expo modules are also supported in RN now). You can follow these steps from the official expo docs - https://docs.expo.dev/bare/installing-expo-modules/ After installing expo I installed expo-file-system and Appwrite SDK was working.
Is this Issue Resolved?
π Reproduction steps
I just used this sdk with my bare react native project and encountern the error that this package uses expo-file-system and I have to use expo with my bare react native project, I can't affords using expo in my project because I am using some packages which not support expo. This package should be bare react native first then expo and you should mention in the docs that this package only for expo projects only. I know react native's official docs recommended to using expo so what? there are many comapines using bare react native in production and few using expo in production, because of one package we can't affords using expo.
π Expected behavior
Should works fine with both workflow.
π Actual Behavior
Actual Error:
π² Appwrite version
Different version (specify in environment)
π» Operating system
Windows
𧱠Your Environment
react-native-appwrite = 0.4.0
π Have you spent some time to check if this issue has been raised before?
π’ Have you read the Code of Conduct?