My application needs to download an XML file from a server once a user signs in. But it needs a default XML to work with in case the user hasn’t downloaded one yet. Is there any way to include a default XML in my application bundle, then copy it to Expo.FileSystem.documentDirectory
when the app first launches?
You could try using a bundled asset. See https://docs.expo.io/versions/latest/guides/offline-support#bundle-your-assets-inside-your-standalone-binary
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.