react-native-device-defense 1.1.2 → 1.1.4

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.
@@ -35,6 +35,7 @@ target_compile_options(device-security PRIVATE
35
35
  target_link_options(device-security PRIVATE
36
36
  -Wl,--gc-sections
37
37
  -Wl,-s
38
+ -Wl,-z,max-page-size=16384
38
39
  )
39
40
 
40
41
  # Strip symbols in release
@@ -316,17 +316,12 @@ static bool checkModifiedSSLLibraries() {
316
316
  std::string line;
317
317
 
318
318
  const std::vector<std::string> trustedPaths = {
319
- "/system/lib/libssl",
320
- "/system/lib64/libssl",
321
- "/system/lib/libcrypto",
322
- "/system/lib64/libcrypto",
323
- "/apex/com.android.conscrypt/",
324
- "/apex/com.android.runtime/",
325
- "/data/app/", // App's own lib path
326
- "/data/data/", // App data directory
327
- "/vendor/lib/", // Vendor directory
328
- "/vendor/lib64/", // Vendor directory
329
- "/com.android.conscrypt"
319
+ "/system/",
320
+ "/apex/",
321
+ "/vendor/",
322
+ "/data/app/",
323
+ "/data/data/",
324
+ "/data/user/"
330
325
  };
331
326
 
332
327
  while (std::getline(mapsFile, line)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-device-defense",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Multi-layer device security detection for React Native (root, hook, debugger, emulator detection)",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",