freerasp-react-native 3.6.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +180 -0
- package/README.md +35 -1
- package/android/build.gradle +1 -1
- package/app.plugin.js +1 -0
- package/bootstrap.js +29 -0
- package/example/package.json +1 -1
- package/ios/TalsecRuntime.xcframework/Info.plist +5 -5
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeDirectory +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeRequirements-1 +0 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeResources +923 -0
- package/ios/TalsecRuntime.xcframework/_CodeSignature/CodeSignature +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curl.h +369 -165
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +9 -7
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +11 -9
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/header.h +74 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +32 -12
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/multi.h +27 -12
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +6 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +3 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/system.h +72 -70
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +29 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/websockets.h +84 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.abi.json +542 -696
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/PrivacyInfo.xcprivacy +69 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +1 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +2 -2
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +369 -165
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +9 -7
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +11 -9
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/header.h +74 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +32 -12
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +27 -12
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +6 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +3 -1
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +72 -70
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +29 -4
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/websockets.h +84 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.abi.json +536 -676
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.abi.json +536 -676
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/PrivacyInfo.xcprivacy +69 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +72 -39
- package/lib/commonjs/definitions.js +11 -15
- package/lib/commonjs/definitions.js.map +1 -1
- package/lib/commonjs/index.js +15 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils.js.map +1 -1
- package/lib/module/definitions.js +11 -15
- package/lib/module/definitions.js.map +1 -1
- package/lib/module/index.js +14 -11
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils.js.map +1 -1
- package/lib/typescript/plugin/src/index.d.ts +11 -0
- package/lib/typescript/plugin/src/index.d.ts.map +1 -0
- package/lib/typescript/plugin/src/pluginConfig.d.ts +21 -0
- package/lib/typescript/plugin/src/pluginConfig.d.ts.map +1 -0
- package/lib/typescript/src/definitions.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/utils.d.ts.map +1 -0
- package/package.json +15 -24
- package/plugin/build/index.d.ts +10 -0
- package/plugin/build/index.js +63 -0
- package/plugin/build/pluginConfig.d.ts +20 -0
- package/plugin/build/pluginConfig.js +2 -0
- package/src/index.tsx +3 -0
- package/example/babel.config.js +0 -17
- package/lib/typescript/definitions.d.ts.map +0 -1
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/utils.d.ts.map +0 -1
- /package/lib/typescript/{definitions.d.ts → src/definitions.d.ts} +0 -0
- /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
- /package/lib/typescript/{utils.d.ts → src/utils.d.ts} +0 -0
package/lib/module/index.js
CHANGED
|
@@ -35,40 +35,43 @@ export const setThreatListeners = async config => {
|
|
|
35
35
|
const [channel, key] = await getThreatChannelData();
|
|
36
36
|
await prepareMapping();
|
|
37
37
|
eventsListener = eventEmitter.addListener(channel, event => {
|
|
38
|
-
var _config$privilegedAcc, _config$debug, _config$simulator, _config$appIntegrity, _config$unofficialSto, _config$hooks, _config$deviceBinding, _config$passcode, _config$secureHardwar, _config$obfuscationIs;
|
|
38
|
+
var _config$privilegedAcc, _config$debug, _config$simulator, _config$appIntegrity, _config$unofficialSto, _config$hooks, _config$deviceBinding, _config$passcode, _config$secureHardwar, _config$obfuscationIs, _config$deviceID;
|
|
39
39
|
if (event[key] === undefined) {
|
|
40
40
|
onInvalidCallback();
|
|
41
41
|
}
|
|
42
42
|
switch (event[key]) {
|
|
43
43
|
case Threat.PrivilegedAccess.value:
|
|
44
|
-
(_config$privilegedAcc = config.privilegedAccess) === null || _config$privilegedAcc === void 0
|
|
44
|
+
(_config$privilegedAcc = config.privilegedAccess) === null || _config$privilegedAcc === void 0 || _config$privilegedAcc.call(config);
|
|
45
45
|
break;
|
|
46
46
|
case Threat.Debug.value:
|
|
47
|
-
(_config$debug = config.debug) === null || _config$debug === void 0
|
|
47
|
+
(_config$debug = config.debug) === null || _config$debug === void 0 || _config$debug.call(config);
|
|
48
48
|
break;
|
|
49
49
|
case Threat.Simulator.value:
|
|
50
|
-
(_config$simulator = config.simulator) === null || _config$simulator === void 0
|
|
50
|
+
(_config$simulator = config.simulator) === null || _config$simulator === void 0 || _config$simulator.call(config);
|
|
51
51
|
break;
|
|
52
52
|
case Threat.AppIntegrity.value:
|
|
53
|
-
(_config$appIntegrity = config.appIntegrity) === null || _config$appIntegrity === void 0
|
|
53
|
+
(_config$appIntegrity = config.appIntegrity) === null || _config$appIntegrity === void 0 || _config$appIntegrity.call(config);
|
|
54
54
|
break;
|
|
55
55
|
case Threat.UnofficialStore.value:
|
|
56
|
-
(_config$unofficialSto = config.unofficialStore) === null || _config$unofficialSto === void 0
|
|
56
|
+
(_config$unofficialSto = config.unofficialStore) === null || _config$unofficialSto === void 0 || _config$unofficialSto.call(config);
|
|
57
57
|
break;
|
|
58
58
|
case Threat.Hooks.value:
|
|
59
|
-
(_config$hooks = config.hooks) === null || _config$hooks === void 0
|
|
59
|
+
(_config$hooks = config.hooks) === null || _config$hooks === void 0 || _config$hooks.call(config);
|
|
60
60
|
break;
|
|
61
61
|
case Threat.DeviceBinding.value:
|
|
62
|
-
(_config$deviceBinding = config.deviceBinding) === null || _config$deviceBinding === void 0
|
|
62
|
+
(_config$deviceBinding = config.deviceBinding) === null || _config$deviceBinding === void 0 || _config$deviceBinding.call(config);
|
|
63
63
|
break;
|
|
64
64
|
case Threat.Passcode.value:
|
|
65
|
-
(_config$passcode = config.passcode) === null || _config$passcode === void 0
|
|
65
|
+
(_config$passcode = config.passcode) === null || _config$passcode === void 0 || _config$passcode.call(config);
|
|
66
66
|
break;
|
|
67
67
|
case Threat.SecureHardwareNotAvailable.value:
|
|
68
|
-
(_config$secureHardwar = config.secureHardwareNotAvailable) === null || _config$secureHardwar === void 0
|
|
68
|
+
(_config$secureHardwar = config.secureHardwareNotAvailable) === null || _config$secureHardwar === void 0 || _config$secureHardwar.call(config);
|
|
69
69
|
break;
|
|
70
70
|
case Threat.ObfuscationIssues.value:
|
|
71
|
-
(_config$obfuscationIs = config.obfuscationIssues) === null || _config$obfuscationIs === void 0
|
|
71
|
+
(_config$obfuscationIs = config.obfuscationIssues) === null || _config$obfuscationIs === void 0 || _config$obfuscationIs.call(config);
|
|
72
|
+
break;
|
|
73
|
+
case Threat.DeviceID.value:
|
|
74
|
+
(_config$deviceID = config.deviceID) === null || _config$deviceID === void 0 || _config$deviceID.call(config);
|
|
72
75
|
break;
|
|
73
76
|
default:
|
|
74
77
|
onInvalidCallback();
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","NativeEventEmitter","NativeModules","Threat","getThreatCount","itemsHaveType","FreeraspReactNative","eventEmitter","eventsListener","onInvalidCallback","getThreatIdentifiers","identifiers","length","getThreatChannelData","data","prepareMapping","newValues","threats","getValues","map","threat","index","value","setThreatListeners","config","channel","key","addListener","event","undefined","PrivilegedAccess","privilegedAccess","Debug","debug","Simulator","simulator","AppIntegrity","appIntegrity","UnofficialStore","unofficialStore","Hooks","hooks","DeviceBinding","deviceBinding","Passcode","passcode","SecureHardwareNotAvailable","secureHardwareNotAvailable","ObfuscationIssues","obfuscationIssues","removeThreatListeners","remove","talsecStart","options","useFreeRasp","actions","response","console","log"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAEEC,kBAAkB,EAClBC,aAAa,QACR,cAAc;AACrB,SACEC,MAAM,QAGD,eAAe;AACtB,SAASC,cAAc,EAAEC,aAAa,QAAQ,SAAS;AAEvD,MAAM;EAAEC;AAAoB,CAAC,GAAGJ,aAAa;AAE7C,MAAMK,YAAY,GAAG,IAAIN,kBAAkB,CAACK,mBAAmB,CAAC;AAChE,IAAIE,cAAmC;AAEvC,MAAMC,iBAAiB,
|
|
1
|
+
{"version":3,"names":["useEffect","NativeEventEmitter","NativeModules","Threat","getThreatCount","itemsHaveType","FreeraspReactNative","eventEmitter","eventsListener","onInvalidCallback","getThreatIdentifiers","identifiers","length","getThreatChannelData","data","prepareMapping","newValues","threats","getValues","map","threat","index","value","setThreatListeners","config","channel","key","addListener","event","_config$privilegedAcc","_config$debug","_config$simulator","_config$appIntegrity","_config$unofficialSto","_config$hooks","_config$deviceBinding","_config$passcode","_config$secureHardwar","_config$obfuscationIs","_config$deviceID","undefined","PrivilegedAccess","privilegedAccess","call","Debug","debug","Simulator","simulator","AppIntegrity","appIntegrity","UnofficialStore","unofficialStore","Hooks","hooks","DeviceBinding","deviceBinding","Passcode","passcode","SecureHardwareNotAvailable","secureHardwareNotAvailable","ObfuscationIssues","obfuscationIssues","DeviceID","deviceID","removeThreatListeners","remove","talsecStart","options","useFreeRasp","actions","response","console","log"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,SAASA,SAAS,QAAQ,OAAO;AACjC,SAEEC,kBAAkB,EAClBC,aAAa,QACR,cAAc;AACrB,SACEC,MAAM,QAGD,eAAe;AACtB,SAASC,cAAc,EAAEC,a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AsB;EAC3E,OAAO7D,mBAAmB,CAAC4D,WAAW,CAACC,OAAO,CAAC;AACjD,CAAC;AAED,OAAO,MAAMC,WAAW,GAAGA,CACzB5C,MAAoB,EACpB6C,OAA0E,KACvE;EACHrE,SAAS,CAAC,MAAM;IACd,CAAC,YAAY;MACX,MAAMuB,kBAAkB,CAAC8C,OAAO,CAAC;MACjC,IAAIC,QAAQ,GAAG,MAAMJ,WAAW,CAAC1C,MAAM,CAAC;MACxC,IAAI8C,QAAQ,KAAK,kBAAkB,EAAE;QACnC7D,iBAAiB,CAAC,CAAC;MACrB;MACA8D,OAAO,CAACC,GAAG,CAACF,QAAQ,CAAC;MAErB,OAAO,MAAM;QACXN,qBAAqB,CAAC,CAAC;MACzB,CAAC;IACH,CAAC,EAAE,CAAC;IACJ;EACF,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAED,eAAe1D,mBAAmB","ignoreList":[]}
|
package/lib/module/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Threat","getThreatCount","getValues","length","itemsHaveType","data","desidedType","every","item"],"sourceRoot":"../../src","sources":["utils.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,eAAe;AAEtC,OAAO,MAAMC,cAAc,
|
|
1
|
+
{"version":3,"names":["Threat","getThreatCount","getValues","length","itemsHaveType","data","desidedType","every","item"],"sourceRoot":"../../src","sources":["utils.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,eAAe;AAEtC,OAAO,MAAMC,cAAc,GAAGA,CAAA,KAAc;EAC1C,OAAOD,MAAM,CAACE,SAAS,CAAC,CAAC,CAACC,MAAM;AAClC,CAAC;AAED,OAAO,MAAMC,aAAa,GAAGA,CAACC,IAAW,EAAEC,WAAmB,KAAK;EACjE,OAAOD,IAAI,CAACE,KAAK,CAAEC,IAAI,IAAK,OAAOA,IAAI,KAAKF,WAAW,CAAC;AAC1D,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import { PluginConfigType } from './pluginConfig';
|
|
3
|
+
export declare const setBuildscriptDependency: (buildGradle: string) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Update `<project>/build.gradle` by adding nexus dependency to buildscript
|
|
6
|
+
*/
|
|
7
|
+
export declare const withBuildscriptDependency: ConfigPlugin;
|
|
8
|
+
export declare const withAndroidMinSdkVersion: ConfigPlugin<PluginConfigType>;
|
|
9
|
+
declare const _default: ConfigPlugin<PluginConfigType>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../plugin/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EAIb,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAQlD,eAAO,MAAM,wBAAwB,gBAAiB,MAAM,WAsB3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,YAcvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,gCASlC,CAAC;;AAgBJ,wBAA2E"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface representing base build properties configuration.
|
|
3
|
+
*/
|
|
4
|
+
export interface PluginConfigType {
|
|
5
|
+
/**
|
|
6
|
+
* Interface representing available configuration for Android native build properties.
|
|
7
|
+
* @platform android
|
|
8
|
+
*/
|
|
9
|
+
android?: PluginConfigTypeAndroid;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Interface representing available configuration for Android native build properties.
|
|
13
|
+
* @platform android
|
|
14
|
+
*/
|
|
15
|
+
export interface PluginConfigTypeAndroid {
|
|
16
|
+
/**
|
|
17
|
+
* Override the default `minSdkVersion` version number in **build.gradle**.
|
|
18
|
+
* */
|
|
19
|
+
minSdkVersion?: number;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=pluginConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pluginConfig.d.ts","sourceRoot":"","sources":["../../../../plugin/src/pluginConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,OAAO,CAAC,EAAE,uBAAuB,CAAC;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC;;SAEK;IACL,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../src/definitions.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,CAAC,EAAE;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,iBAAiB,EAAE,MAAM,EAAE,CAAC;QAC5B,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;KACvC,CAAC;IACF,SAAS,CAAC,EAAE;QACV,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,gBAAgB,CAAC,EAAE,MAAM,GAAG,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,GAAG,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,GAAG,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,GAAG,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC;IACrB,0BAA0B,CAAC,EAAE,MAAM,GAAG,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,GAAG,CAAC;CAC/B,CAAC;AAEF,qBAAa,MAAM;IACjB,KAAK,EAAE,MAAM,CAAC;IAEd,MAAM,CAAC,YAAY,SAAiB;IACpC,MAAM,CAAC,gBAAgB,SAAiB;IACxC,MAAM,CAAC,KAAK,SAAiB;IAC7B,MAAM,CAAC,KAAK,SAAiB;IAC7B,MAAM,CAAC,QAAQ,SAAiB;IAChC,MAAM,CAAC,SAAS,SAAiB;IACjC,MAAM,CAAC,0BAA0B,SAAiB;IAClD,MAAM,CAAC,aAAa,SAAiB;IACrC,MAAM,CAAC,QAAQ,SAAiB;IAChC,MAAM,CAAC,eAAe,SAAiB;IACvC,MAAM,CAAC,iBAAiB,SAAiB;gBAE7B,KAAK,EAAE,MAAM;IAIzB,MAAM,CAAC,SAAS,IAAI,MAAM,EAAE;CA2B7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,yBAAyB,EAC9B,YAAY,EACb,MAAM,eAAe,CAAC;AAGvB,QAAA,MAAQ,mBAAmB,KAAkB,CAAC;AAqC9C,eAAO,MAAM,kBAAkB,mIAiD9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,QAAO,IAExC,CAAC;AAEF,eAAO,MAAM,WAAW,YAAmB,YAAY,KAAG,QAAQ,MAAM,CAEvE,CAAC;AAEF,eAAO,MAAM,WAAW,gDACd,YAAY,qFAkBrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,QAAO,MAEjC,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,GAAG,EAAE,eAAe,MAAM,YAE7D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,32 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "freerasp-react-native",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
7
|
"types": "lib/typescript/index.d.ts",
|
|
8
8
|
"react-native": "src/index",
|
|
9
9
|
"source": "src/index",
|
|
10
|
-
"files": [
|
|
11
|
-
"src",
|
|
12
|
-
"lib",
|
|
13
|
-
"android",
|
|
14
|
-
"ios",
|
|
15
|
-
"cpp",
|
|
16
|
-
"example",
|
|
17
|
-
"*.podspec",
|
|
18
|
-
"!lib/typescript/example",
|
|
19
|
-
"!ios/build",
|
|
20
|
-
"!android/build",
|
|
21
|
-
"!android/gradle",
|
|
22
|
-
"!android/gradlew",
|
|
23
|
-
"!android/gradlew.bat",
|
|
24
|
-
"!android/local.properties",
|
|
25
|
-
"!**/__tests__",
|
|
26
|
-
"!**/__fixtures__",
|
|
27
|
-
"!**/__mocks__",
|
|
28
|
-
"!**/.*"
|
|
29
|
-
],
|
|
30
10
|
"scripts": {
|
|
31
11
|
"typecheck": "tsc --noEmit",
|
|
32
12
|
"lint": "eslint \"**/*.{js,ts,tsx}\"",
|
|
@@ -34,7 +14,9 @@
|
|
|
34
14
|
"release": "release-it",
|
|
35
15
|
"example": "yarn --cwd example",
|
|
36
16
|
"bootstrap": "yarn example && yarn install && yarn example pods",
|
|
37
|
-
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build"
|
|
17
|
+
"clean": "del-cli android/build example/android/build example/android/app/build example/ios/build",
|
|
18
|
+
"build:plugin": "tsc --build plugin"
|
|
19
|
+
|
|
38
20
|
},
|
|
39
21
|
"keywords": [
|
|
40
22
|
"react-native",
|
|
@@ -65,12 +47,15 @@
|
|
|
65
47
|
"devDependencies": {
|
|
66
48
|
"@react-native-community/eslint-config": "^3.0.2",
|
|
67
49
|
"@release-it/conventional-changelog": "^5.0.0",
|
|
50
|
+
"@tsconfig/node-lts": "^20.1.1",
|
|
68
51
|
"@types/react": "17.0.21",
|
|
69
52
|
"@types/react-native": "0.70.0",
|
|
70
53
|
"del-cli": "^5.0.0",
|
|
71
54
|
"eslint": "^8.4.1",
|
|
72
55
|
"eslint-config-prettier": "^8.5.0",
|
|
73
56
|
"eslint-plugin-prettier": "^4.0.0",
|
|
57
|
+
"expo": "^50.0.8",
|
|
58
|
+
"expo-module-scripts": "^3.4.1",
|
|
74
59
|
"pod-install": "^0.1.0",
|
|
75
60
|
"prettier": "^2.0.5",
|
|
76
61
|
"react": "18.1.0",
|
|
@@ -83,9 +68,15 @@
|
|
|
83
68
|
"@types/react": "17.0.21"
|
|
84
69
|
},
|
|
85
70
|
"peerDependencies": {
|
|
86
|
-
"
|
|
71
|
+
"expo": ">=47.0.0",
|
|
72
|
+
"react": "*",
|
|
87
73
|
"react-native": "*"
|
|
88
74
|
},
|
|
75
|
+
"peerDependenciesMeta": {
|
|
76
|
+
"expo": {
|
|
77
|
+
"optional": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
89
80
|
"engines": {
|
|
90
81
|
"node": ">= 16.0.0"
|
|
91
82
|
},
|
|
@@ -110,7 +101,7 @@
|
|
|
110
101
|
},
|
|
111
102
|
"plugins": {
|
|
112
103
|
"@release-it/conventional-changelog": {
|
|
113
|
-
"preset": "
|
|
104
|
+
"preset": "react"
|
|
114
105
|
}
|
|
115
106
|
}
|
|
116
107
|
},
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ConfigPlugin } from '@expo/config-plugins';
|
|
2
|
+
import { PluginConfigType } from './pluginConfig';
|
|
3
|
+
export declare const setBuildscriptDependency: (buildGradle: string) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Update `<project>/build.gradle` by adding nexus dependency to buildscript
|
|
6
|
+
*/
|
|
7
|
+
export declare const withBuildscriptDependency: ConfigPlugin;
|
|
8
|
+
export declare const withAndroidMinSdkVersion: ConfigPlugin<PluginConfigType>;
|
|
9
|
+
declare const _default: ConfigPlugin<PluginConfigType>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.withAndroidMinSdkVersion = exports.withBuildscriptDependency = exports.setBuildscriptDependency = void 0;
|
|
4
|
+
const config_plugins_1 = require("@expo/config-plugins");
|
|
5
|
+
const { createBuildGradlePropsConfigPlugin } = config_plugins_1.AndroidConfig.BuildProperties;
|
|
6
|
+
const urlNexus = 'https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp';
|
|
7
|
+
const urlJitpack = 'https://www.jitpack.io';
|
|
8
|
+
const setBuildscriptDependency = (buildGradle) => {
|
|
9
|
+
// This enables users in bare workflow to comment out the line to prevent freerasp from adding it back.
|
|
10
|
+
const mavenNexus = buildGradle.includes(urlNexus)
|
|
11
|
+
? ''
|
|
12
|
+
: `maven { url "${urlNexus}" }`;
|
|
13
|
+
const mavenJitpack = buildGradle.includes(urlNexus)
|
|
14
|
+
? ''
|
|
15
|
+
: `maven { url "${urlJitpack}" }`;
|
|
16
|
+
// It's ok to have multiple allprojects.repositories, so we create a new one since it's cheaper than tokenizing
|
|
17
|
+
// the existing block to find the correct place to insert our dependency.
|
|
18
|
+
const combinedGradleMaven = `
|
|
19
|
+
allprojects {
|
|
20
|
+
repositories {
|
|
21
|
+
${mavenNexus}
|
|
22
|
+
${mavenJitpack}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`;
|
|
26
|
+
return buildGradle + `\n${combinedGradleMaven}\n`;
|
|
27
|
+
};
|
|
28
|
+
exports.setBuildscriptDependency = setBuildscriptDependency;
|
|
29
|
+
/**
|
|
30
|
+
* Update `<project>/build.gradle` by adding nexus dependency to buildscript
|
|
31
|
+
*/
|
|
32
|
+
const withBuildscriptDependency = (config) => {
|
|
33
|
+
return (0, config_plugins_1.withProjectBuildGradle)(config, (config) => {
|
|
34
|
+
if (config.modResults.language === 'groovy') {
|
|
35
|
+
config.modResults.contents = (0, exports.setBuildscriptDependency)(config.modResults.contents);
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
config_plugins_1.WarningAggregator.addWarningAndroid('freerasp-react-native', `Cannot automatically configure project build.gradle, because it's not groovy`);
|
|
39
|
+
}
|
|
40
|
+
return config;
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
exports.withBuildscriptDependency = withBuildscriptDependency;
|
|
44
|
+
exports.withAndroidMinSdkVersion = createBuildGradlePropsConfigPlugin([
|
|
45
|
+
{
|
|
46
|
+
propName: 'android.minSdkVersion',
|
|
47
|
+
propValueGetter: (config) => config.android?.minSdkVersion?.toString(),
|
|
48
|
+
},
|
|
49
|
+
], 'withAndroidMinSdkVersion');
|
|
50
|
+
const withRnTalsecApp = (config, props) => {
|
|
51
|
+
config = (0, exports.withBuildscriptDependency)(config);
|
|
52
|
+
config = (0, exports.withAndroidMinSdkVersion)(config, props);
|
|
53
|
+
return config;
|
|
54
|
+
};
|
|
55
|
+
let pkg = {
|
|
56
|
+
name: 'freerasp-react-native',
|
|
57
|
+
};
|
|
58
|
+
try {
|
|
59
|
+
const freeraspPkg = require('freerasp-react-native/package.json');
|
|
60
|
+
pkg = freeraspPkg;
|
|
61
|
+
}
|
|
62
|
+
catch { }
|
|
63
|
+
exports.default = (0, config_plugins_1.createRunOncePlugin)(withRnTalsecApp, pkg.name, pkg.version);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface representing base build properties configuration.
|
|
3
|
+
*/
|
|
4
|
+
export interface PluginConfigType {
|
|
5
|
+
/**
|
|
6
|
+
* Interface representing available configuration for Android native build properties.
|
|
7
|
+
* @platform android
|
|
8
|
+
*/
|
|
9
|
+
android?: PluginConfigTypeAndroid;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Interface representing available configuration for Android native build properties.
|
|
13
|
+
* @platform android
|
|
14
|
+
*/
|
|
15
|
+
export interface PluginConfigTypeAndroid {
|
|
16
|
+
/**
|
|
17
|
+
* Override the default `minSdkVersion` version number in **build.gradle**.
|
|
18
|
+
* */
|
|
19
|
+
minSdkVersion?: number;
|
|
20
|
+
}
|
package/src/index.tsx
CHANGED
|
@@ -89,6 +89,9 @@ export const setThreatListeners = async <T extends NativeEventEmitterActions>(
|
|
|
89
89
|
case Threat.ObfuscationIssues.value:
|
|
90
90
|
config.obfuscationIssues?.();
|
|
91
91
|
break;
|
|
92
|
+
case Threat.DeviceID.value:
|
|
93
|
+
config.deviceID?.();
|
|
94
|
+
break;
|
|
92
95
|
default:
|
|
93
96
|
onInvalidCallback();
|
|
94
97
|
break;
|
package/example/babel.config.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const pak = require('../package.json');
|
|
3
|
-
|
|
4
|
-
module.exports = {
|
|
5
|
-
presets: ['module:metro-react-native-babel-preset'],
|
|
6
|
-
plugins: [
|
|
7
|
-
[
|
|
8
|
-
'module-resolver',
|
|
9
|
-
{
|
|
10
|
-
extensions: ['.tsx', '.ts', '.js', '.json'],
|
|
11
|
-
alias: {
|
|
12
|
-
[pak.name]: path.join(__dirname, '..', pak.source),
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
],
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB,aAAa,CAAC,EAAE;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,iBAAiB,EAAE,MAAM,EAAE,CAAC;QAC5B,0BAA0B,CAAC,EAAE,MAAM,EAAE,CAAC;KACvC,C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index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,KAAK,yBAAyB,EAC9B,YAAY,EACb,MAAM,eAAe,CAAC;AAGvB,QAAA,MAAQ,mBAAmB,KAAkB,CAAC;AAqC9C,eAAO,MAAM,kBAAkB,mIA8C9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,QAAO,IAExC,CAAC;AAEF,eAAO,MAAM,WAAW,YAAmB,YAAY,KAAG,QAAQ,MAAM,CAEvE,CAAC;AAEF,eAAO,MAAM,WAAW,gDACd,YAAY,qFAkBrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,QAAO,MAEjC,CAAC;AAEF,eAAO,MAAM,aAAa,SAAU,GAAG,EAAE,eAAe,MAAM,YAE7D,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|