Skip to main content

ServiceDiscovery

Overview

Namespace containing ServiceDiscovery utilities

Functions

getAsyncStorage

Import

You can import the entire package and access the function:


_10
import * as fcl from "@onflow/fcl-react-native"
_10
_10
fcl.ServiceDiscovery.getAsyncStorage()

Or import the namespace directly:


_10
import { ServiceDiscovery } from "@onflow/fcl-react-native"
_10
_10
ServiceDiscovery.getAsyncStorage()

Returns


_10
{ can: boolean; get: (key: string) => Promise<any>; put: (key: string, value: any) => Promise<void>; }


Rate this page