Files
Jeremy MengandGitHub 26ab6c14e9 [samples] Remove Expo from the appconfig React Native sample (#25327)
- Update README steps to remove Expo and use react-native directly
- Add a version with just bare react-native
- Remove the Expo version
2023-03-24 17:29:43 +00:00

9 lines
335 B
TypeScript

import '@azure/core-asynciterator-polyfill'
import 'react-native-url-polyfill/auto';
import 'react-native-get-random-values';
import 'text-encoding-polyfill';
const getRandomValues = global.crypto.getRandomValues;
import * as crypto from 'isomorphic-webcrypto';
global.crypto = crypto;
global.crypto.getRandomValues = getRandomValues;