10000 [FSSDK-10316] crypto and text encoder polyfill addition for React native · optimizely/javascript-sdk@f85f51f · GitHub
[go: up one dir, main page]

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export {}

lib/index.react_native.ts

Lines changed: 3 additions & 0 deletions
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)
0