UNPKG

amazon-cognito-identity-js

Version:

Amazon Cognito Identity Provider JavaScript SDK

9 lines (8 loc) 538 B
"use strict"; exports.__esModule = true; exports["default"] = void 0; var _reactNative = require("react-native"); var getRandomBase64 = _reactNative.NativeModules.ExpoRandom ? _reactNative.NativeModules.ExpoRandom.getRandomBase64String : _reactNative.NativeModules.RNAWSCognito ? _reactNative.NativeModules.RNAWSCognito.getRandomBase64 : function () { throw new Error('Could not find a native getRandomBase64 implementation. Validate that amazon-cognito-identity-js is linked.'); }; var _default = exports["default"] = getRandomBase64;