I need to import a GPX file into my React application for downloading. However, I have encountered some problems and can't find solutions. I can't use RNFS from react-native-fs because it is not recognized by Expo. I also can't simply import, require, or fetch any .gpx file because .gpx files are not recognized by React Native.
If someone has a solution for this problem, I would appreciate your assistance.
I try :
- RNFS
- import
- require
- fetch