Home
last modified time | relevance | path

Searched refs:ExpoRandom (Results 1 – 16 of 16) sorted by relevance

/expo/packages/expo-random/build/
H A DRandom.js3 import ExpoRandom from './ExpoRandom';
36 if (ExpoRandom.getRandomBytes) {
37 return ExpoRandom.getRandomBytes(validByteCount);
39 else if (ExpoRandom.getRandomBase64String) {
40 const base64 = ExpoRandom.getRandomBase64String(validByteCount);
58 if (ExpoRandom.getRandomBytesAsync) {
59 return await ExpoRandom.getRandomBytesAsync(validByteCount);
61 else if (ExpoRandom.getRandomBase64StringAsync) {
62 const base64 = await ExpoRandom.getRandomBase64StringAsync(validByteCount);
H A DExpoRandom.d.ts.map1 {"version":3,"file":"ExpoRandom.d.ts","sourceRoot":"","sources":["../src/ExpoRandom.ts"],"names":[]…
H A DExpoRandom.js.map1 …ExpoRandom.js","sourceRoot":"","sources":["../src/ExpoRandom.ts"],"names":[],"mappings":"AAAA,OAAO…
H A DExpoRandom.web.d.ts.map1 {"version":3,"file":"ExpoRandom.web.d.ts","sourceRoot":"","sources":["../src/ExpoRandom.web.ts"],"n…
H A DExpoRandom.web.js.map1 …ExpoRandom.web.js","sourceRoot":"","sources":["../src/ExpoRandom.web.ts"],"names":[],"mappings":"A…
H A DRandom.js.map1 …ExpoRandom from './ExpoRandom';\n\nconst warnIsDeprecated = (functionName: string) =>\n console.w…
H A DExpoRandom.js12 return NativeModules.ExpoRandom;
/expo/packages/expo-random/src/
H A DRandom.ts4 import ExpoRandom from './ExpoRandom';
48 if (ExpoRandom.getRandomBytes) {
49 return ExpoRandom.getRandomBytes(validByteCount);
50 } else if (ExpoRandom.getRandomBase64String) {
51 const base64 = ExpoRandom.getRandomBase64String(validByteCount);
69 if (ExpoRandom.getRandomBytesAsync) {
70 return await ExpoRandom.getRandomBytesAsync(validByteCount);
71 } else if (ExpoRandom.getRandomBase64StringAsync) {
72 const base64 = await ExpoRandom.getRandomBase64StringAsync(validByteCount);
H A DExpoRandom.ts12 return NativeModules.ExpoRandom;
/expo/packages/expo-random/src/__tests__/
H A DRandom-test.native.ts1 import ExpoRandom from '../ExpoRandom';
5 ExpoRandom.getRandomBase64StringAsync.mockImplementationOnce(async () => '');
8 expect(ExpoRandom.getRandomBase64StringAsync).toHaveBeenLastCalledWith(0);
12 ExpoRandom.getRandomBase64StringAsync.mockImplementationOnce(async () => 'r6ip');
18 ExpoRandom.getRandomBase64StringAsync.mockImplementation(async () => '');
H A DRandom-test.ts1 import ExpoRandom from '../ExpoRandom';
14 expect(ExpoRandom.getRandomBytesAsync).lastCalledWith(Math.floor(value));
19 ExpoRandom.getRandomBytesAsync = null;
21 expect(ExpoRandom.getRandomBase64StringAsync).toHaveBeenCalled();
/expo/packages/expo-random/ios/
H A DExpoRandom.podspec6 s.name = 'ExpoRandom'
/expo/docs/pages/modules/
H A Dautolinking.mdx69 "podName": "ExpoRandom",
73 "swiftModuleNames": ["ExpoRandom"],
/expo/apps/bare-expo/ios/
H A DPodfile.lock224 - ExpoRandom (13.4.0):
882 - ExpoRandom (from `../../../packages/expo-random/ios`)
1130 ExpoRandom:
1352 ExpoRandom: ae54b3769440ee9dfefac777ce6263a9be10173b
/expo/packages/jest-expo/src/preset/
H A DexpoModules.js555 ExpoRandom: [ property
777 ExpoRandom: {}, property
/expo/ios/
H A DPodfile.lock2310 - ExpoRandom (13.4.0):
3152 - ABI47_0_0ExpoRandom (from `./versioned/sdk47/ExpoRandom`)
3262 - ABI48_0_0ExpoRandom (from `./versioned/sdk48/ExpoRandom`)
3376 - ABI49_0_0ExpoRandom (from `./versioned/sdk49/ExpoRandom`)
3500 - ExpoRandom (from `../packages/expo-random/ios`)
3732 :path: "./versioned/sdk47/ExpoRandom"
3948 :path: "./versioned/sdk48/ExpoRandom"
4172 :path: "./versioned/sdk49/ExpoRandom"
4404 ExpoRandom:
4951 ExpoRandom: ae54b3769440ee9dfefac777ce6263a9be10173b