Skip to content

Commit

Permalink
Add note that the SDK uses the onboarding library (MetaMask#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandratran authored Apr 12, 2023
1 parent df0d72c commit 23aa777
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wallet-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ const sidebar = {
"how-to/register-method-names",
"how-to/access-provider",
"how-to/secure-dapp",
"how-to/use-onboarding-library",
"how-to/set-icon",
"how-to/use-onboarding-library",
"how-to/migrate-api",
],
},
Expand Down
6 changes: 6 additions & 0 deletions wallet/how-to/use-onboarding-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ description: Simplify the MetaMask onboarding experience for your users.

# Use the MetaMask onboarding library

:::caution important
We recommend using [MetaMask SDK](use-sdk/index.md), which incorporates the functionality of the
MetaMask onboarding library.
You don't need to set up the onboarding library if you use the SDK.
:::

Sending users away from your dapp to install MetaMask presents challenges.
You must inform the user to return to your dapp and refresh their browser after the installation.
Your dapp detects the user's newly installed MetaMask extension only after that refresh.
Expand Down

0 comments on commit 23aa777

Please sign in to comment.