UNPKG

react-native-gigya-sdk

Version:
16 lines 408 B
import { NativeModules } from 'react-native'; const { GigyaSdk } = NativeModules; import handleSdkCall from '../internals/handleSdkCall'; export default function () { return new Promise(async (resolve, reject) => { try { const response = await handleSdkCall(GigyaSdk.getAccount()); resolve(response); } catch (e) { reject(e); } }); } //# sourceMappingURL=getAccount.js.map