Passing credentials to expo-file-system

Please provide the following:

  1. SDK Version: 32
  2. Platforms(Android/iOS/web/all): Android, react-native

We use a graphql basequery with rtk-query. In the basequery, I use credentials: "include" and this works fine. I’m able to get the cookie and it’s used for all requests.

The problem is when I try to access a simple endpoint outside of rtk-query. I use FileSystem.uploadAsync in expo to upload files. However, it does not recognize the cookie that I already obtained by logging in via rtk-query.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.