mirror of
https://github.com/hanzoai/azure-sdk-for-js.git
synced 2026-10-30 19:51:51 +00:00
- Update README steps to remove Expo and use react-native directly - Add a version with just bare react-native - Remove the Expo version
9 lines
335 B
TypeScript
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;
|