We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After applying an Expo OTA (Over-the-Air) update, Supabase authentication fails.
Updates.reloadAsync()
Network request failed - AuthRetryableFetchError
import AsyncStorage from '@react-native-async-storage/async-storage'; const supabaseInstance = createClient<Database>(supabaseUrl, supabaseAnonKey, { auth: { storage: AsyncStorage, autoRefreshToken: true, persistSession: true, detectSessionInUrl: false, }, });
await Updates.reloadAsync()
const { data, error } = await supabase.auth.setSession({ access_token: tokens.access_token, refresh_token: tokens.refresh_token, });
or any other subsequent supabase call yields this error: Network request failed - AuthRetryableFetchError
The same tokens work correctly if not OTA downloaded.
The session should persist across OTA updates, just like it does when the app is closed and reopened normally.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Describe the bug
After applying an Expo OTA (Over-the-Air) update, Supabase authentication fails.
Updates.reloadAsync()
, the session cannot be restored automatically or manually using stored tokens.Network request failed - AuthRetryableFetchError
To Reproduce
await Updates.reloadAsync()
;or any other subsequent supabase call yields this error:
Network request failed - AuthRetryableFetchError
The same tokens work correctly if not OTA downloaded.
Expected behavior
The session should persist across OTA updates, just like it does when the app is closed and reopened normally.
Screenshots
System information
The text was updated successfully, but these errors were encountered: