Skip to content

Commit

Permalink
[docs] Update startAsync() deprecated callout in Expo AuthSession f…
Browse files Browse the repository at this point in the history
…or SDK 48 (expo#27406)

# Why

<!--
Please describe the motivation for this PR, and link to relevant GitHub
issues, forums posts, or feature requests.
-->

Update deprecated callout for `startAsync()` to specify what hook to
migrate to (in this case `useAuthRequest()`).



# How

<!--
How did you build this feature or fix this bug and why?
-->

Update SDK 48 docs since this is the last versioned doc that mentions
`startAsync()`.

# Test Plan

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

Run docs locally and visit:
http://localhost:3002/versions/v48.0.0/sdk/auth-session/#authsessionstartasyncoptions

## Preview

![CleanShot 2024-03-04 at 01 12
35](https://github.com/expo/expo/assets/10234615/c814a310-5b80-4839-8b67-08f1eecca140)

# Checklist

<!--


Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->

- [x] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
  • Loading branch information
amandeepmittal authored Mar 6, 2024
1 parent e1b6418 commit 01b9c0a
Showing 1 changed file with 1 addition and 1 deletion.
Loading

0 comments on commit 01b9c0a

Please sign in to comment.