Skip to content

Commit f85f51f

Browse files
[FSSDK-10316] crypto and text encoder polyfill addition for React native
1 parent 4909efb commit f85f51f

6 files changed

+1272
-1247
lines changed

__mocks__/fast-text-encoding.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {}

lib/index.react_native.ts

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ import { createHttpPollingDatafileManager } from './plugins/datafile_manager/rea
2929
import { BrowserOdpManager } from './plugins/odp_manager/index.browser';
3030
import * as commonExports from './common_exports';
3131

32+
import 'fast-text-encoding';
33+
import 'react-native-get-random-values';
34+
3235
const logger = getLogger();
3336
setLogHandler(loggerPlugin.createLogger());
3437
setLogLevel(LogLevel.INFO);

0 commit comments

Comments
 (0)