addMiniApp
Prompts the user to add the app.
A user discovers an app from their social feed, adds it, and then sees it from their apps screen
Usage
import { sdk } from '@farcaster/miniapp-sdk'
await sdk.actions.addMiniApp()
Return Value
void
Errors
RejectedByUser
Thrown if a user rejects the request to add the Mini App.
InvalidDomainManifestJson
Thrown when an app does not have a valid farcaster.json
.