Files
supabase/apps/docs/content
石川 壱朗andChris Chinchilla 895ecb8c53 docs: replace deprecated "Linking.useURL" with "useLinkingURL" (#43966)
"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>
2026-03-23 10:57:39 +00:00
..