mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
"Linking.useURL()" has been deprecated in Expo. This updates the example to use the recommended "useLinkingURL()" hook, which provides the same functionality for handling initial and subsequent deep links. ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? docs update ## What is the current behavior? The Expo example code uses "Linking.useURL()", which is now marked as deprecated in Expo SDK 50+ and produces a TypeScript warning. ## What is the new behavior? The example now uses the recommended "useLinkingURL()" hook from "expo-linking". This prevents deprecation warnings for developers adopting this example. The functionality (handling initial and subsequent deep links) remains exactly the same. ## Additional context Expo Linking documentation: https://docs.expo.dev/versions/latest/sdk/linking/ Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>