ServiceDiscovery
Overview
Namespace containing ServiceDiscovery utilities
Functions
getAsyncStorage
Import
You can import the entire package and access the function:
_10import * as fcl from "@onflow/fcl-react-native"_10_10fcl.ServiceDiscovery.getAsyncStorage()
Or import the namespace directly:
_10import { ServiceDiscovery } from "@onflow/fcl-react-native"_10_10ServiceDiscovery.getAsyncStorage()
Returns
_10{ can: boolean; get: (key: string) => Promise<any>; put: (key: string, value: any) => Promise<void>; }