react-native-inapp-inspector 1.0.2 → 1.0.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.
@@ -28,7 +28,6 @@
28
28
  <true/>
29
29
  <key>NSAppTransportSecurity</key>
30
30
  <dict>
31
- <!-- Do not change NSAllowsArbitraryLoads to true, or you will risk app rejection! -->
32
31
  <key>NSAllowsArbitraryLoads</key>
33
32
  <false/>
34
33
  <key>NSAllowsLocalNetworking</key>
@@ -36,6 +35,8 @@
36
35
  </dict>
37
36
  <key>NSLocationWhenInUseUsageDescription</key>
38
37
  <string></string>
38
+ <key>RCTNewArchEnabled</key>
39
+ <true/>
39
40
  <key>UILaunchStoryboardName</key>
40
41
  <string>LaunchScreen</string>
41
42
  <key>UIRequiredDeviceCapabilities</key>
@@ -9,6 +9,7 @@
9
9
  /* Begin PBXBuildFile section */
10
10
  0C80B921A6F3F58F76C31292 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */; };
11
11
  13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
12
+ 749B386F511274DBD1C96C0F /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */; };
12
13
  761780ED2CA45674006654EE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 761780EC2CA45674006654EE /* AppDelegate.swift */; };
13
14
  81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
14
15
  /* End PBXBuildFile section */
@@ -159,6 +160,7 @@
159
160
  files = (
160
161
  81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
161
162
  13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
163
+ 749B386F511274DBD1C96C0F /* PrivacyInfo.xcprivacy in Resources */,
162
164
  );
163
165
  runOnlyForDeploymentPostprocessing = 0;
164
166
  };
@@ -260,6 +262,7 @@
260
262
  CURRENT_PROJECT_VERSION = 1;
261
263
  ENABLE_BITCODE = NO;
262
264
  INFOPLIST_FILE = example/Info.plist;
265
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
263
266
  IPHONEOS_DEPLOYMENT_TARGET = 15.1;
264
267
  LD_RUNPATH_SEARCH_PATHS = (
265
268
  "$(inherited)",
@@ -289,6 +292,7 @@
289
292
  CLANG_ENABLE_MODULES = YES;
290
293
  CURRENT_PROJECT_VERSION = 1;
291
294
  INFOPLIST_FILE = example/Info.plist;
295
+ INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.developer-tools";
292
296
  IPHONEOS_DEPLOYMENT_TARGET = 15.1;
293
297
  LD_RUNPATH_SEARCH_PATHS = (
294
298
  "$(inherited)",
@@ -370,6 +374,10 @@
370
374
  );
371
375
  MTL_ENABLE_DEBUG_INFO = YES;
372
376
  ONLY_ACTIVE_ARCH = YES;
377
+ OTHER_CFLAGS = (
378
+ "$(inherited)",
379
+ "-DRCT_REMOVE_LEGACY_ARCH=1",
380
+ );
373
381
  OTHER_CPLUSPLUSFLAGS = (
374
382
  "$(OTHER_CFLAGS)",
375
383
  "-DFOLLY_NO_CONFIG",
@@ -377,8 +385,13 @@
377
385
  "-DFOLLY_USE_LIBCPP=1",
378
386
  "-DFOLLY_CFG_NO_COROUTINES=1",
379
387
  "-DFOLLY_HAVE_CLOCK_GETTIME=1",
388
+ "-DRCT_REMOVE_LEGACY_ARCH=1",
380
389
  );
390
+ REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
381
391
  SDKROOT = iphoneos;
392
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
393
+ SWIFT_ENABLE_EXPLICIT_MODULES = NO;
394
+ USE_HERMES = true;
382
395
  };
383
396
  name = Debug;
384
397
  };
@@ -435,6 +448,10 @@
435
448
  "\"$(inherited)\"",
436
449
  );
437
450
  MTL_ENABLE_DEBUG_INFO = NO;
451
+ OTHER_CFLAGS = (
452
+ "$(inherited)",
453
+ "-DRCT_REMOVE_LEGACY_ARCH=1",
454
+ );
438
455
  OTHER_CPLUSPLUSFLAGS = (
439
456
  "$(OTHER_CFLAGS)",
440
457
  "-DFOLLY_NO_CONFIG",
@@ -442,8 +459,12 @@
442
459
  "-DFOLLY_USE_LIBCPP=1",
443
460
  "-DFOLLY_CFG_NO_COROUTINES=1",
444
461
  "-DFOLLY_HAVE_CLOCK_GETTIME=1",
462
+ "-DRCT_REMOVE_LEGACY_ARCH=1",
445
463
  );
464
+ REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
446
465
  SDKROOT = iphoneos;
466
+ SWIFT_ENABLE_EXPLICIT_MODULES = NO;
467
+ USE_HERMES = true;
447
468
  VALIDATE_PRODUCT = YES;
448
469
  };
449
470
  name = Release;
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "group:example.xcodeproj">
6
+ </FileRef>
7
+ <FileRef
8
+ location = "group:Pods/Pods.xcodeproj">
9
+ </FileRef>
10
+ </Workspace>
@@ -1,4 +1,21 @@
1
+ if (!Array.prototype.toReversed) {
2
+ Array.prototype.toReversed = function() {
3
+ return [...this].reverse();
4
+ };
5
+ }
6
+
7
+ const util = require('util');
8
+ if (!util.styleText) {
9
+ util.styleText = function(format, text) {
10
+ return text;
11
+ };
12
+ }
13
+
14
+ const path = require('path');
1
15
  const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
16
+ const exclusionList = require('metro-config/private/defaults/exclusionList').default || require('metro-config/private/defaults/exclusionList');
17
+
18
+ const root = path.resolve(__dirname, '..');
2
19
 
3
20
  /**
4
21
  * Metro configuration
@@ -6,6 +23,23 @@ const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
6
23
  *
7
24
  * @type {import('@react-native/metro-config').MetroConfig}
8
25
  */
9
- const config = {};
26
+ const config = {
27
+ watchFolders: [root],
28
+ resolver: {
29
+ blockList: exclusionList([
30
+ new RegExp(path.resolve(root, 'node_modules') + '/.*'),
31
+ ]),
32
+ nodeModulesPaths: [
33
+ path.resolve(__dirname, 'node_modules'),
34
+ ],
35
+ // Force all modules to resolve to the example project's node_modules to avoid duplicates
36
+ extraNodeModules: new Proxy(
37
+ {},
38
+ {
39
+ get: (target, name) => path.join(__dirname, 'node_modules', name),
40
+ }
41
+ ),
42
+ },
43
+ };
10
44
 
11
45
  module.exports = mergeConfig(getDefaultConfig(__dirname), config);
@@ -10,11 +10,13 @@
10
10
  "dependencies": {
11
11
  "@react-native/new-app-screen": "0.85.3",
12
12
  "@react-navigation/native": "^7.2.5",
13
+ "@react-navigation/native-stack": "^7.16.0",
13
14
  "react": "19.2.3",
14
15
  "react-native": "0.85.3",
15
16
  "react-native-inapp-inspector": "file:..",
16
17
  "react-native-linear-gradient": "^2.8.3",
17
18
  "react-native-safe-area-context": "^5.5.2",
19
+ "react-native-screens": "^4.25.2",
18
20
  "react-native-svg": "^15.15.5"
19
21
  },
20
22
  "devDependencies": {
@@ -43,7 +45,7 @@
43
45
  }
44
46
  },
45
47
  "..": {
46
- "version": "1.0.0",
48
+ "version": "1.0.2",
47
49
  "license": "MIT",
48
50
  "devDependencies": {
49
51
  "@react-navigation/native": "^6.1.9",
@@ -3452,6 +3454,29 @@
3452
3454
  "integrity": "sha512-kZFnouyVv7eP/Phmrlo9FK+zcAdriZJvzxXHF1Sl1P377WSGe2G/JxVolhTrB/jeV47lKImhNUsijjHAAbcl/A==",
3453
3455
  "license": "MIT"
3454
3456
  },
3457
+ "node_modules/@react-navigation/elements": {
3458
+ "version": "2.9.19",
3459
+ "resolved": "https://registry.npmjs.org/@react-navigation/elements/-/elements-2.9.19.tgz",
3460
+ "integrity": "sha512-gBUvCZuUkOGw1KpLQEZIkByUz8RYPwXeoA6mZFJy9K1mxd8GdqHDMFCIoB0lfPz9rgrHj99RvtdlGZ/ZzkZv2A==",
3461
+ "license": "MIT",
3462
+ "dependencies": {
3463
+ "color": "^4.2.3",
3464
+ "use-latest-callback": "^0.2.4",
3465
+ "use-sync-external-store": "^1.5.0"
3466
+ },
3467
+ "peerDependencies": {
3468
+ "@react-native-masked-view/masked-view": ">= 0.2.0",
3469
+ "@react-navigation/native": "^7.2.5",
3470
+ "react": ">= 18.2.0",
3471
+ "react-native": "*",
3472
+ "react-native-safe-area-context": ">= 4.0.0"
3473
+ },
3474
+ "peerDependenciesMeta": {
3475
+ "@react-native-masked-view/masked-view": {
3476
+ "optional": true
3477
+ }
3478
+ }
3479
+ },
3455
3480
  "node_modules/@react-navigation/native": {
3456
3481
  "version": "7.2.5",
3457
3482
  "resolved": "https://registry.npmjs.org/@react-navigation/native/-/native-7.2.5.tgz",
@@ -3469,6 +3494,25 @@
3469
3494
  "react-native": "*"
3470
3495
  }
3471
3496
  },
3497
+ "node_modules/@react-navigation/native-stack": {
3498
+ "version": "7.16.0",
3499
+ "resolved": "https://registry.npmjs.org/@react-navigation/native-stack/-/native-stack-7.16.0.tgz",
3500
+ "integrity": "sha512-wM21rHYR2XifjDnKLrr3HeHUeGsWQZJRwPqEzy1Vp/a9k3ieiwTGpmpDItD/jtERH9qkYESwDPO6oEtrVBEpQg==",
3501
+ "license": "MIT",
3502
+ "dependencies": {
3503
+ "@react-navigation/elements": "^2.9.19",
3504
+ "color": "^4.2.3",
3505
+ "sf-symbols-typescript": "^2.1.0",
3506
+ "warn-once": "^0.1.1"
3507
+ },
3508
+ "peerDependencies": {
3509
+ "@react-navigation/native": "^7.2.5",
3510
+ "react": ">= 18.2.0",
3511
+ "react-native": "*",
3512
+ "react-native-safe-area-context": ">= 4.0.0",
3513
+ "react-native-screens": ">= 4.0.0"
3514
+ }
3515
+ },
3472
3516
  "node_modules/@react-navigation/routers": {
3473
3517
  "version": "7.5.5",
3474
3518
  "resolved": "https://registry.npmjs.org/@react-navigation/routers/-/routers-7.5.5.tgz",
@@ -4956,6 +5000,19 @@
4956
5000
  "dev": true,
4957
5001
  "license": "MIT"
4958
5002
  },
5003
+ "node_modules/color": {
5004
+ "version": "4.2.3",
5005
+ "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz",
5006
+ "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==",
5007
+ "license": "MIT",
5008
+ "dependencies": {
5009
+ "color-convert": "^2.0.1",
5010
+ "color-string": "^1.9.0"
5011
+ },
5012
+ "engines": {
5013
+ "node": ">=12.5.0"
5014
+ }
5015
+ },
4959
5016
  "node_modules/color-convert": {
4960
5017
  "version": "2.0.1",
4961
5018
  "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
@@ -4974,6 +5031,16 @@
4974
5031
  "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
4975
5032
  "license": "MIT"
4976
5033
  },
5034
+ "node_modules/color-string": {
5035
+ "version": "1.9.1",
5036
+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
5037
+ "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
5038
+ "license": "MIT",
5039
+ "dependencies": {
5040
+ "color-name": "^1.0.0",
5041
+ "simple-swizzle": "^0.2.2"
5042
+ }
5043
+ },
4977
5044
  "node_modules/colorette": {
4978
5045
  "version": "1.4.0",
4979
5046
  "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz",
@@ -10421,6 +10488,18 @@
10421
10488
  }
10422
10489
  }
10423
10490
  },
10491
+ "node_modules/react-freeze": {
10492
+ "version": "1.0.4",
10493
+ "resolved": "https://registry.npmjs.org/react-freeze/-/react-freeze-1.0.4.tgz",
10494
+ "integrity": "sha512-r4F0Sec0BLxWicc7HEyo2x3/2icUTrRmDjaaRyzzn+7aDyFZliszMDOgLVwSnQnYENOlL1o569Ze2HZefk8clA==",
10495
+ "license": "MIT",
10496
+ "engines": {
10497
+ "node": ">=10"
10498
+ },
10499
+ "peerDependencies": {
10500
+ "react": ">=17.0.0"
10501
+ }
10502
+ },
10424
10503
  "node_modules/react-is": {
10425
10504
  "version": "18.3.1",
10426
10505
  "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",
@@ -10510,6 +10589,20 @@
10510
10589
  "react-native": "*"
10511
10590
  }
10512
10591
  },
10592
+ "node_modules/react-native-screens": {
10593
+ "version": "4.25.2",
10594
+ "resolved": "https://registry.npmjs.org/react-native-screens/-/react-native-screens-4.25.2.tgz",
10595
+ "integrity": "sha512-1Nj1fusFd+rIMKU/qC9yGKVG+3ofh11d3OdBQKL1iVvQfKvcB8vhvTGQf2TkfxW3bamxN+hCZIXmNuU0mRkyDg==",
10596
+ "license": "MIT",
10597
+ "dependencies": {
10598
+ "react-freeze": "^1.0.0",
10599
+ "warn-once": "^0.1.0"
10600
+ },
10601
+ "peerDependencies": {
10602
+ "react": "*",
10603
+ "react-native": ">=0.82.0"
10604
+ }
10605
+ },
10513
10606
  "node_modules/react-native-svg": {
10514
10607
  "version": "15.15.5",
10515
10608
  "resolved": "https://registry.npmjs.org/react-native-svg/-/react-native-svg-15.15.5.tgz",
@@ -11118,6 +11211,15 @@
11118
11211
  "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
11119
11212
  "license": "ISC"
11120
11213
  },
11214
+ "node_modules/sf-symbols-typescript": {
11215
+ "version": "2.2.0",
11216
+ "resolved": "https://registry.npmjs.org/sf-symbols-typescript/-/sf-symbols-typescript-2.2.0.tgz",
11217
+ "integrity": "sha512-TPbeg0b7ylrswdGCji8FRGFAKuqbpQlLbL8SOle3j1iHSs5Ob5mhvMAxWN2UItOjgALAB5Zp3fmMfj8mbWvXKw==",
11218
+ "license": "MIT",
11219
+ "engines": {
11220
+ "node": ">=10"
11221
+ }
11222
+ },
11121
11223
  "node_modules/shebang-command": {
11122
11224
  "version": "2.0.0",
11123
11225
  "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
@@ -11234,6 +11336,21 @@
11234
11336
  "devOptional": true,
11235
11337
  "license": "ISC"
11236
11338
  },
11339
+ "node_modules/simple-swizzle": {
11340
+ "version": "0.2.4",
11341
+ "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.4.tgz",
11342
+ "integrity": "sha512-nAu1WFPQSMNr2Zn9PGSZK9AGn4t/y97lEm+MXTtUDwfP0ksAIX4nO+6ruD9Jwut4C49SB1Ws+fbXsm/yScWOHw==",
11343
+ "license": "MIT",
11344
+ "dependencies": {
11345
+ "is-arrayish": "^0.3.1"
11346
+ }
11347
+ },
11348
+ "node_modules/simple-swizzle/node_modules/is-arrayish": {
11349
+ "version": "0.3.4",
11350
+ "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.4.tgz",
11351
+ "integrity": "sha512-m6UrgzFVUYawGBh1dUsWR5M2Clqic9RVXC/9f8ceNlv2IcO9j9J/z8UoCLPqtsPBFNzEpfR3xftohbfqDx8EQA==",
11352
+ "license": "MIT"
11353
+ },
11237
11354
  "node_modules/sisteransi": {
11238
11355
  "version": "1.0.5",
11239
11356
  "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
@@ -12172,6 +12289,12 @@
12172
12289
  "makeerror": "1.0.12"
12173
12290
  }
12174
12291
  },
12292
+ "node_modules/warn-once": {
12293
+ "version": "0.1.1",
12294
+ "resolved": "https://registry.npmjs.org/warn-once/-/warn-once-0.1.1.tgz",
12295
+ "integrity": "sha512-VkQZJbO8zVImzYFteBXvBOZEl1qL175WH8VmZcxF2fZAoudNhNDvHi+doCaAEdU2l2vtcIwa2zn0QK5+I1HQ3Q==",
12296
+ "license": "MIT"
12297
+ },
12175
12298
  "node_modules/wcwidth": {
12176
12299
  "version": "1.0.1",
12177
12300
  "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
@@ -6,17 +6,19 @@
6
6
  "android": "react-native run-android",
7
7
  "ios": "react-native run-ios",
8
8
  "lint": "eslint .",
9
- "start": "react-native start",
9
+ "start": "node -r ./polyfill.js node_modules/react-native/cli.js start",
10
10
  "test": "jest"
11
11
  },
12
12
  "dependencies": {
13
13
  "@react-native/new-app-screen": "0.85.3",
14
14
  "@react-navigation/native": "^7.2.5",
15
+ "@react-navigation/native-stack": "^7.16.0",
15
16
  "react": "19.2.3",
16
17
  "react-native": "0.85.3",
17
18
  "react-native-inapp-inspector": "file:..",
18
19
  "react-native-linear-gradient": "^2.8.3",
19
20
  "react-native-safe-area-context": "^5.5.2",
21
+ "react-native-screens": "^4.25.2",
20
22
  "react-native-svg": "^15.15.5"
21
23
  },
22
24
  "devDependencies": {
@@ -0,0 +1,13 @@
1
+ const util = require('util');
2
+
3
+ if (!util.styleText) {
4
+ util.styleText = function(format, text) {
5
+ return text;
6
+ };
7
+ }
8
+
9
+ if (!Array.prototype.toReversed) {
10
+ Array.prototype.toReversed = function() {
11
+ return [...this].reverse();
12
+ };
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-inapp-inspector",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "A self-contained network, console, analytics, and webview inspector for React Native applications.",
5
5
  "repository": {
6
6
  "type": "git",