react-native-inapp-inspector 2.3.18 → 2.3.20
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/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +57 -0
- package/dist/commonjs/analytics.js +1 -24
- package/dist/commonjs/bundle.js +1 -16
- package/dist/commonjs/capture.d.ts +2 -0
- package/dist/commonjs/capture.js +1 -32
- package/dist/commonjs/components/AnalyticsDetail.js +92 -623
- package/dist/commonjs/components/AnalyticsEventCard.js +54 -350
- package/dist/commonjs/components/AnalyticsGraph.js +70 -370
- package/dist/commonjs/components/AnimatedEntrance.js +1 -11
- package/dist/commonjs/components/AppHeaderLogo.js +7 -134
- package/dist/commonjs/components/BrandCircleIcon.js +73 -118
- package/dist/commonjs/components/BrandSquareIcon.js +63 -108
- package/dist/commonjs/components/CodeSnippet.js +48 -623
- package/dist/commonjs/components/ConsoleLogCard.js +63 -537
- package/dist/commonjs/components/CopyButton.js +3 -89
- package/dist/commonjs/components/DiffViewer.js +19 -83
- package/dist/commonjs/components/DomainHeader.js +27 -127
- package/dist/commonjs/components/EmptyState.d.ts +1 -0
- package/dist/commonjs/components/EmptyState.js +10 -87
- package/dist/commonjs/components/EndOfListFooter.js +7 -81
- package/dist/commonjs/components/ErrorBoundary.js +72 -566
- package/dist/commonjs/components/HeadersSection.js +31 -110
- package/dist/commonjs/components/HighlightText.js +17 -58
- package/dist/commonjs/components/Inspector/AboutModal.d.ts +6 -0
- package/dist/commonjs/components/Inspector/AboutModal.js +351 -0
- package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +98 -797
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +284 -930
- package/dist/commonjs/components/Inspector/BundleTab.js +551 -2918
- package/dist/commonjs/components/Inspector/ConsoleTab.js +79 -492
- package/dist/commonjs/components/Inspector/CrashDetail.js +123 -672
- package/dist/commonjs/components/Inspector/CrashFilterModal.js +66 -498
- package/dist/commonjs/components/Inspector/CrashTab.js +98 -670
- package/dist/commonjs/components/Inspector/DebuggingTab.js +64 -871
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
- package/dist/commonjs/components/Inspector/FabLauncher.js +85 -54
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +9 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.js +167 -521
- package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
- package/dist/commonjs/components/Inspector/InspectorHeader.js +219 -1093
- package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
- package/dist/commonjs/components/Inspector/MainScreen.js +60 -332
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +136 -278
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +134 -361
- package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
- package/dist/commonjs/components/Inspector/NetworkDetail.js +96 -432
- package/dist/commonjs/components/Inspector/NetworkFilterModal.js +60 -576
- package/dist/commonjs/components/Inspector/NetworkTab.js +84 -514
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +17 -433
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +25 -298
- package/dist/commonjs/components/Inspector/PerformanceTab.js +182 -1397
- package/dist/commonjs/components/Inspector/ReduxDetail.js +188 -1089
- package/dist/commonjs/components/Inspector/ReduxTab.js +85 -701
- package/dist/commonjs/components/Inspector/SettingsPanel.js +431 -3431
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +11 -180
- package/dist/commonjs/components/Inspector/StorageTab.js +93 -826
- package/dist/commonjs/components/Inspector/TabBar.js +47 -183
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +34 -408
- package/dist/commonjs/components/JsonViewer.js +168 -380
- package/dist/commonjs/components/LogCard.js +57 -567
- package/dist/commonjs/components/LogSyntaxHighlighter.js +11 -130
- package/dist/commonjs/components/MetaAccordion.js +69 -238
- package/dist/commonjs/components/MiniBarChart.js +3 -56
- package/dist/commonjs/components/MiniLineChart.js +3 -58
- package/dist/commonjs/components/NetworkIcons.d.ts +7 -0
- package/dist/commonjs/components/NetworkIcons.js +479 -997
- package/dist/commonjs/components/QRCodeView.js +5 -79
- package/dist/commonjs/components/SectionHeader.js +15 -37
- package/dist/commonjs/components/SegmentedTabs.js +7 -61
- package/dist/commonjs/components/SkeletonPlaceholder.js +11 -180
- package/dist/commonjs/components/Slider.js +15 -243
- package/dist/commonjs/components/SourcePageCard.js +30 -89
- package/dist/commonjs/components/Toast.js +5 -147
- package/dist/commonjs/components/TouchableScale.js +3 -24
- package/dist/commonjs/components/TreeNode.js +55 -130
- package/dist/commonjs/console.js +1 -16
- package/dist/commonjs/constants/index.js +1 -32
- package/dist/commonjs/constants/telemetryConfig.js +1 -6
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -4
- package/dist/commonjs/crash.js +1 -23
- package/dist/commonjs/customHooks/analyticsLogger.js +1 -250
- package/dist/commonjs/customHooks/bundleAnalyzer.js +1 -957
- package/dist/commonjs/customHooks/consoleLogger.js +6 -445
- package/dist/commonjs/customHooks/crashHandler.js +7 -656
- package/dist/commonjs/customHooks/logFilters.js +1 -23
- package/dist/commonjs/customHooks/networkLogger.js +2 -536
- package/dist/commonjs/customHooks/performanceTracker.js +63 -750
- package/dist/commonjs/customHooks/reduxLogger.js +2 -313
- package/dist/commonjs/customHooks/storageInspector.js +1 -435
- package/dist/commonjs/customHooks/useAccordion.js +1 -18
- package/dist/commonjs/decorators/index.js +1 -100
- package/dist/commonjs/helpers/gaAnalyticsRegistry.js +1 -148
- package/dist/commonjs/helpers/index.js +8 -921
- package/dist/commonjs/helpers/memoryManager.js +1 -99
- package/dist/commonjs/helpers/qrGenerator.js +1 -367
- package/dist/commonjs/helpers/remoteConfig.js +1 -165
- package/dist/commonjs/helpers/searchQueryParser.js +1 -62
- package/dist/commonjs/helpers/settingsStore.js +1 -144
- package/dist/commonjs/helpers/telemetry.js +1 -501
- package/dist/commonjs/helpers/toast.js +1 -20
- package/dist/commonjs/i18n/index.js +1 -90
- package/dist/commonjs/i18n/locales/en.json +1 -1122
- package/dist/commonjs/index.js +5 -2153
- package/dist/commonjs/metro.js +6 -468
- package/dist/commonjs/native/NativeInspector.d.ts +3 -0
- package/dist/commonjs/native/NativeInspector.js +1 -402
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +1 -0
- package/dist/commonjs/native/NativeNetworkInspector.js +1 -4
- package/dist/commonjs/network.js +1 -13
- package/dist/commonjs/performance.js +1 -29
- package/dist/commonjs/redux.js +1 -20
- package/dist/commonjs/storage.js +1 -14
- package/dist/commonjs/styles/AppColors.js +1 -423
- package/dist/commonjs/styles/AppFonts.js +1 -17
- package/dist/commonjs/styles/common.js +1 -190
- package/dist/commonjs/styles/index.d.ts +6 -0
- package/dist/commonjs/styles/index.js +1 -1589
- package/dist/commonjs/types/enums.d.ts +2 -1
- package/dist/commonjs/types/enums.js +1 -150
- package/dist/commonjs/types/index.js +1 -18
- package/dist/commonjs/types/interfaces.d.ts +7 -0
- package/dist/commonjs/types/interfaces.js +1 -2
- package/dist/esm/analytics.js +1 -2
- package/dist/esm/bundle.js +1 -2
- package/dist/esm/capture.d.ts +2 -0
- package/dist/esm/capture.js +1 -29
- package/dist/esm/components/AnalyticsDetail.js +171 -664
- package/dist/esm/components/AnalyticsEventCard.js +77 -335
- package/dist/esm/components/AnalyticsGraph.js +95 -357
- package/dist/esm/components/AnimatedEntrance.js +1 -6
- package/dist/esm/components/AppHeaderLogo.js +7 -94
- package/dist/esm/components/BrandCircleIcon.js +114 -119
- package/dist/esm/components/BrandSquareIcon.js +73 -78
- package/dist/esm/components/CodeSnippet.js +58 -595
- package/dist/esm/components/ConsoleLogCard.js +91 -526
- package/dist/esm/components/CopyButton.js +3 -51
- package/dist/esm/components/DiffViewer.js +22 -48
- package/dist/esm/components/DomainHeader.js +43 -138
- package/dist/esm/components/EmptyState.d.ts +1 -0
- package/dist/esm/components/EmptyState.js +17 -56
- package/dist/esm/components/EndOfListFooter.js +15 -83
- package/dist/esm/components/ErrorBoundary.js +125 -582
- package/dist/esm/components/HeadersSection.js +52 -93
- package/dist/esm/components/HighlightText.js +17 -53
- package/dist/esm/components/Inspector/AboutModal.d.ts +6 -0
- package/dist/esm/components/Inspector/AboutModal.js +351 -0
- package/dist/esm/components/Inspector/AnalyticsFilterModal.js +225 -886
- package/dist/esm/components/Inspector/AnalyticsTab.js +296 -904
- package/dist/esm/components/Inspector/BundleTab.js +1175 -3502
- package/dist/esm/components/Inspector/ConsoleTab.js +113 -488
- package/dist/esm/components/Inspector/CrashDetail.js +236 -747
- package/dist/esm/components/Inspector/CrashFilterModal.js +149 -541
- package/dist/esm/components/Inspector/CrashTab.js +177 -711
- package/dist/esm/components/Inspector/DebuggingTab.js +156 -923
- package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
- package/dist/esm/components/Inspector/FabLauncher.js +85 -49
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +9 -0
- package/dist/esm/components/Inspector/FeedbackModal.js +182 -499
- package/dist/esm/components/Inspector/InspectorContext.js +1 -12
- package/dist/esm/components/Inspector/InspectorHeader.js +309 -1145
- package/dist/esm/components/Inspector/LogDetail.js +235 -1023
- package/dist/esm/components/Inspector/MainScreen.js +86 -320
- package/dist/esm/components/Inspector/MediaGalleryTab.js +157 -259
- package/dist/esm/components/Inspector/MediaPreviewModal.js +153 -340
- package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
- package/dist/esm/components/Inspector/NetworkDetail.js +141 -472
- package/dist/esm/components/Inspector/NetworkFilterModal.js +122 -597
- package/dist/esm/components/Inspector/NetworkTab.js +125 -517
- package/dist/esm/components/Inspector/NpmStarPrompt.js +58 -434
- package/dist/esm/components/Inspector/NpmUpdateToast.js +45 -281
- package/dist/esm/components/Inspector/PerformanceTab.js +393 -1570
- package/dist/esm/components/Inspector/ReduxDetail.js +307 -1170
- package/dist/esm/components/Inspector/ReduxTab.js +144 -722
- package/dist/esm/components/Inspector/SettingsPanel.js +647 -3609
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +30 -163
- package/dist/esm/components/Inspector/StorageTab.js +172 -866
- package/dist/esm/components/Inspector/TabBar.js +52 -183
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +79 -416
- package/dist/esm/components/JsonViewer.js +179 -353
- package/dist/esm/components/LogCard.js +93 -565
- package/dist/esm/components/LogSyntaxHighlighter.js +11 -123
- package/dist/esm/components/MetaAccordion.js +136 -267
- package/dist/esm/components/MiniBarChart.js +3 -18
- package/dist/esm/components/MiniLineChart.js +3 -20
- package/dist/esm/components/NetworkIcons.d.ts +7 -0
- package/dist/esm/components/NetworkIcons.js +481 -817
- package/dist/esm/components/QRCodeView.js +8 -45
- package/dist/esm/components/SectionHeader.js +22 -39
- package/dist/esm/components/SegmentedTabs.js +8 -57
- package/dist/esm/components/SkeletonPlaceholder.js +30 -163
- package/dist/esm/components/Slider.js +24 -213
- package/dist/esm/components/SourcePageCard.js +65 -86
- package/dist/esm/components/Toast.js +10 -117
- package/dist/esm/components/TouchableScale.js +3 -19
- package/dist/esm/components/TreeNode.js +58 -95
- package/dist/esm/console.js +1 -2
- package/dist/esm/constants/index.js +1 -28
- package/dist/esm/constants/telemetryConfig.js +1 -3
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/crash.js +1 -2
- package/dist/esm/customHooks/analyticsLogger.js +1 -230
- package/dist/esm/customHooks/bundleAnalyzer.js +1 -944
- package/dist/esm/customHooks/consoleLogger.js +6 -432
- package/dist/esm/customHooks/crashHandler.js +7 -630
- package/dist/esm/customHooks/logFilters.js +1 -20
- package/dist/esm/customHooks/networkLogger.js +2 -519
- package/dist/esm/customHooks/performanceTracker.js +63 -723
- package/dist/esm/customHooks/reduxLogger.js +2 -293
- package/dist/esm/customHooks/storageInspector.js +1 -418
- package/dist/esm/customHooks/useAccordion.js +1 -16
- package/dist/esm/decorators/index.js +1 -95
- package/dist/esm/helpers/gaAnalyticsRegistry.js +1 -143
- package/dist/esm/helpers/index.js +8 -861
- package/dist/esm/helpers/memoryManager.js +1 -91
- package/dist/esm/helpers/qrGenerator.js +1 -364
- package/dist/esm/helpers/remoteConfig.js +1 -160
- package/dist/esm/helpers/searchQueryParser.js +1 -59
- package/dist/esm/helpers/settingsStore.js +1 -134
- package/dist/esm/helpers/telemetry.js +1 -489
- package/dist/esm/helpers/toast.js +1 -15
- package/dist/esm/i18n/index.js +1 -78
- package/dist/esm/i18n/locales/en.json +1 -1122
- package/dist/esm/index.js +7 -1967
- package/dist/esm/metro.js +6 -459
- package/dist/esm/native/NativeInspector.d.ts +3 -0
- package/dist/esm/native/NativeInspector.js +1 -370
- package/dist/esm/native/NativeNetworkInspector.d.ts +1 -0
- package/dist/esm/native/NativeNetworkInspector.js +1 -2
- package/dist/esm/network.js +1 -1
- package/dist/esm/performance.js +1 -2
- package/dist/esm/redux.js +1 -1
- package/dist/esm/storage.js +1 -1
- package/dist/esm/styles/AppColors.js +1 -417
- package/dist/esm/styles/AppFonts.js +1 -13
- package/dist/esm/styles/common.js +1 -186
- package/dist/esm/styles/index.d.ts +6 -0
- package/dist/esm/styles/index.js +1 -1551
- package/dist/esm/types/enums.d.ts +2 -1
- package/dist/esm/types/enums.js +1 -147
- package/dist/esm/types/index.js +1 -2
- package/dist/esm/types/interfaces.d.ts +7 -0
- package/dist/esm/types/interfaces.js +1 -1
- package/ios/NetworkInspectorModule.mm +253 -136
- package/package.json +5 -3
- package/react-native-inapp-inspector.podspec +1 -1
- package/src/native/NativeInspector.ts +17 -0
- package/src/native/NativeNetworkInspector.ts +1 -0
- package/src/analytics.ts +0 -35
- package/src/bundle.ts +0 -25
- package/src/capture.ts +0 -101
- package/src/components/AnalyticsDetail.tsx +0 -870
- package/src/components/AnalyticsEventCard.tsx +0 -444
- package/src/components/AnalyticsGraph.tsx +0 -583
- package/src/components/AnimatedEntrance.tsx +0 -20
- package/src/components/AppHeaderLogo.tsx +0 -143
- package/src/components/BrandCircleIcon.tsx +0 -144
- package/src/components/BrandSquareIcon.tsx +0 -184
- package/src/components/CodeSnippet.tsx +0 -725
- package/src/components/ConsoleLogCard.tsx +0 -679
- package/src/components/CopyButton.tsx +0 -87
- package/src/components/DiffViewer.tsx +0 -82
- package/src/components/DomainHeader.tsx +0 -224
- package/src/components/EmptyState.tsx +0 -95
- package/src/components/EndOfListFooter.tsx +0 -100
- package/src/components/ErrorBoundary.tsx +0 -688
- package/src/components/HeadersSection.tsx +0 -172
- package/src/components/HighlightText.tsx +0 -100
- package/src/components/Inspector/AnalyticsFilterModal.tsx +0 -1250
- package/src/components/Inspector/AnalyticsTab.tsx +0 -1362
- package/src/components/Inspector/BundleTab.tsx +0 -4768
- package/src/components/Inspector/ConsoleTab.tsx +0 -726
- package/src/components/Inspector/CrashDetail.tsx +0 -997
- package/src/components/Inspector/CrashFilterModal.tsx +0 -721
- package/src/components/Inspector/CrashTab.tsx +0 -933
- package/src/components/Inspector/DebuggingTab.tsx +0 -1103
- package/src/components/Inspector/DeviceInfoTab.tsx +0 -1397
- package/src/components/Inspector/FabLauncher.tsx +0 -80
- package/src/components/Inspector/FeatureUnderDevNotice.tsx +0 -94
- package/src/components/Inspector/FeedbackModal.tsx +0 -626
- package/src/components/Inspector/InspectorContext.tsx +0 -28
- package/src/components/Inspector/InspectorHeader.tsx +0 -1545
- package/src/components/Inspector/LogDetail.tsx +0 -1431
- package/src/components/Inspector/MainScreen.tsx +0 -459
- package/src/components/Inspector/MediaGalleryTab.tsx +0 -355
- package/src/components/Inspector/MediaPreviewModal.tsx +0 -435
- package/src/components/Inspector/NavigationTracker.tsx +0 -13
- package/src/components/Inspector/NetworkDetail.tsx +0 -795
- package/src/components/Inspector/NetworkFilterModal.tsx +0 -730
- package/src/components/Inspector/NetworkTab.tsx +0 -820
- package/src/components/Inspector/NpmStarPrompt.tsx +0 -532
- package/src/components/Inspector/NpmUpdateToast.tsx +0 -387
- package/src/components/Inspector/PerformanceTab.tsx +0 -1967
- package/src/components/Inspector/ReduxDetail.tsx +0 -1651
- package/src/components/Inspector/ReduxTab.tsx +0 -987
- package/src/components/Inspector/SettingsPanel.tsx +0 -4580
- package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Inspector/StorageTab.tsx +0 -1159
- package/src/components/Inspector/TabBar.tsx +0 -263
- package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
- package/src/components/JsonViewer.tsx +0 -547
- package/src/components/LogCard.tsx +0 -694
- package/src/components/LogSyntaxHighlighter.tsx +0 -178
- package/src/components/MetaAccordion.tsx +0 -355
- package/src/components/MiniBarChart.tsx +0 -42
- package/src/components/MiniLineChart.tsx +0 -33
- package/src/components/NetworkIcons.tsx +0 -2599
- package/src/components/QRCodeView.tsx +0 -75
- package/src/components/SectionHeader.tsx +0 -101
- package/src/components/SegmentedTabs.tsx +0 -83
- package/src/components/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Slider.tsx +0 -300
- package/src/components/SourcePageCard.tsx +0 -150
- package/src/components/Toast.tsx +0 -131
- package/src/components/TouchableScale.tsx +0 -61
- package/src/components/TreeNode.tsx +0 -171
- package/src/console.ts +0 -24
- package/src/constants/index.ts +0 -41
- package/src/constants/telemetryConfig.ts +0 -4
- package/src/constants/version.ts +0 -3
- package/src/crash.ts +0 -32
- package/src/customHooks/analyticsLogger.ts +0 -336
- package/src/customHooks/bundleAnalyzer.ts +0 -1256
- package/src/customHooks/consoleLogger.ts +0 -530
- package/src/customHooks/crashHandler.ts +0 -944
- package/src/customHooks/logFilters.ts +0 -32
- package/src/customHooks/networkLogger.ts +0 -624
- package/src/customHooks/performanceTracker.ts +0 -1014
- package/src/customHooks/reduxLogger.ts +0 -406
- package/src/customHooks/storageInspector.ts +0 -513
- package/src/customHooks/useAccordion.tsx +0 -27
- package/src/decorators/index.ts +0 -184
- package/src/helpers/gaAnalyticsRegistry.ts +0 -204
- package/src/helpers/index.ts +0 -1092
- package/src/helpers/memoryManager.ts +0 -138
- package/src/helpers/qrGenerator.ts +0 -430
- package/src/helpers/remoteConfig.ts +0 -212
- package/src/helpers/searchQueryParser.ts +0 -84
- package/src/helpers/settingsStore.ts +0 -171
- package/src/helpers/telemetry.ts +0 -568
- package/src/helpers/toast.ts +0 -17
- package/src/i18n/index.ts +0 -104
- package/src/i18n/locales/en.json +0 -1125
- package/src/index.tsx +0 -2635
- package/src/metro.ts +0 -598
- package/src/network.ts +0 -22
- package/src/performance.ts +0 -38
- package/src/redux.ts +0 -23
- package/src/storage.ts +0 -18
- package/src/styles/AppColors.ts +0 -455
- package/src/styles/AppFonts.ts +0 -26
- package/src/styles/common.ts +0 -209
- package/src/styles/index.ts +0 -1606
- package/src/types/enums.ts +0 -208
- package/src/types/index.ts +0 -34
- package/src/types/interfaces.ts +0 -530
|
@@ -1,133 +1,54 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
const react_1 = __importStar(require("react"));
|
|
40
|
-
const i18n_1 = require("../i18n");
|
|
41
|
-
const react_native_1 = require("react-native");
|
|
42
|
-
const CopyButton_1 = __importDefault(require("./CopyButton"));
|
|
43
|
-
const TouchableScale_1 = __importDefault(require("./TouchableScale"));
|
|
44
|
-
const helpers_1 = require("../helpers");
|
|
45
|
-
const useAccordion_1 = __importDefault(require("../customHooks/useAccordion"));
|
|
46
|
-
const NetworkIcons_1 = require("./NetworkIcons");
|
|
47
|
-
const AppColors_1 = require("../styles/AppColors");
|
|
48
|
-
const styles_1 = __importDefault(require("../styles"));
|
|
49
|
-
const HeaderRow = react_1.default.memo(function HeaderRow({ headerKey, value, isLast, index, }) {
|
|
50
|
-
const [expanded, setExpanded] = (0, react_1.useState)(false);
|
|
51
|
-
const isLong = value.length > 35;
|
|
52
|
-
return (<react_native_1.View style={[styles_1.default.htRow, !isLast && styles_1.default.htRowBorder]}>
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),__importStar=this&&this.__importStar||(function(){var t=function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[n.length]=o);return n},t(e)};return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),o=0;o<n.length;o++)n[o]!=="default"&&__createBinding(r,e,n[o]);return __setModuleDefault(r,e),r}})(),__importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),i18n_1=require("../i18n"),react_native_1=require("react-native"),CopyButton_1=__importDefault(require("./CopyButton")),TouchableScale_1=__importDefault(require("./TouchableScale")),helpers_1=require("../helpers"),useAccordion_1=__importDefault(require("../customHooks/useAccordion")),NetworkIcons_1=require("./NetworkIcons"),AppColors_1=require("../styles/AppColors"),styles_1=__importDefault(require("../styles")),HeaderRow=react_1.default.memo(function({headerKey:e,value:r,isLast:n,index:o}){const[a,f]=(0,react_1.useState)(!1),s=r.length>35;return<react_native_1.View style={[styles_1.default.htRow,!n&&styles_1.default.htRowBorder]}>
|
|
53
2
|
<react_native_1.View style={styles_1.default.htKeyCell}>
|
|
54
|
-
<react_native_1.Text style={styles_1.default.htKey}
|
|
55
|
-
{
|
|
3
|
+
<react_native_1.Text style={styles_1.default.htKey}numberOfLines={2}>
|
|
4
|
+
{e}
|
|
56
5
|
</react_native_1.Text>
|
|
57
6
|
</react_native_1.View>
|
|
58
7
|
<react_native_1.View style={styles_1.default.htCellDivider}/>
|
|
59
|
-
<react_native_1.Pressable style={styles_1.default.htValueCell}
|
|
60
|
-
<react_native_1.Text style={styles_1.default.htValue}
|
|
61
|
-
{
|
|
8
|
+
<react_native_1.Pressable style={styles_1.default.htValueCell}onPress={()=>s&&f(_=>!_)}hitSlop={8}>
|
|
9
|
+
<react_native_1.Text style={styles_1.default.htValue}selectable numberOfLines={a?void 0:3}>
|
|
10
|
+
{r}
|
|
62
11
|
</react_native_1.Text>
|
|
63
|
-
{
|
|
12
|
+
{s&&<react_native_1.View style={[styles_1.default.htExpandRow,{flexDirection:"row",alignItems:"center",gap:4}]}>
|
|
64
13
|
<react_native_1.Text style={styles_1.default.htExpandText}>
|
|
65
|
-
{
|
|
14
|
+
{a?"less":"more"}
|
|
66
15
|
</react_native_1.Text>
|
|
67
|
-
<NetworkIcons_1.ChevronIcon direction={
|
|
68
|
-
</react_native_1.View>
|
|
16
|
+
<NetworkIcons_1.ChevronIcon direction={a?"up":"down"}color={AppColors_1.AppColors.purple}size={10}/>
|
|
17
|
+
</react_native_1.View>}
|
|
69
18
|
</react_native_1.Pressable>
|
|
70
|
-
<TouchableScale_1.default onPress={()
|
|
71
|
-
<NetworkIcons_1.CopyIcon color={AppColors_1.AppColors.grayTextWeak}
|
|
19
|
+
<TouchableScale_1.default onPress={()=>(0,helpers_1.copyToClipboard)(r,e)}hitSlop={8}style={styles_1.default.htCopyBtn}>
|
|
20
|
+
<NetworkIcons_1.CopyIcon color={AppColors_1.AppColors.grayTextWeak}size={14}/>
|
|
72
21
|
</TouchableScale_1.default>
|
|
73
|
-
</react_native_1.View>);
|
|
74
|
-
}
|
|
75
|
-
const HeadersSection = ({ title, headers, search, resetKey, }) => {
|
|
76
|
-
const { t } = (0, i18n_1.useTranslation)();
|
|
77
|
-
const { isOpen, toggleOpen, forceOpen, chevronStyle } = (0, useAccordion_1.default)(false);
|
|
78
|
-
(0, react_1.useEffect)(() => {
|
|
79
|
-
forceOpen(false);
|
|
80
|
-
}, [resetKey]);
|
|
81
|
-
const entries = (0, react_1.useMemo)(() => (headers ? Object.entries(headers) : []), [headers]);
|
|
82
|
-
const filtered = (0, react_1.useMemo)(() => {
|
|
83
|
-
if (!search)
|
|
84
|
-
return entries;
|
|
85
|
-
const q = search.toLowerCase();
|
|
86
|
-
return entries.filter(([k, v]) => k.toLowerCase().includes(q) || v.toLowerCase().includes(q));
|
|
87
|
-
}, [entries, search]);
|
|
88
|
-
if (entries.length === 0)
|
|
89
|
-
return null;
|
|
90
|
-
const isRequest = title.toLowerCase().includes('request') ||
|
|
91
|
-
title.toLowerCase().includes('api');
|
|
92
|
-
const accentColor = isRequest ? AppColors_1.AppColors.offerPurple : AppColors_1.AppColors.greenColor;
|
|
93
|
-
const accentBg = isRequest
|
|
94
|
-
? `${AppColors_1.AppColors.offerPurple}10`
|
|
95
|
-
: `${AppColors_1.AppColors.greenColor}10`;
|
|
96
|
-
return (<react_native_1.View style={[styles_1.default.htCard, { borderLeftColor: accentColor }]}>
|
|
97
|
-
<react_native_1.Pressable onPress={toggleOpen} hitSlop={10}>
|
|
22
|
+
</react_native_1.View>}),HeadersSection=({title:t,headers:e,search:r,resetKey:n})=>{const{t:o}=(0,i18n_1.useTranslation)(),{isOpen:a,toggleOpen:f,forceOpen:s,chevronStyle:_}=(0,useAccordion_1.default)(!1);(0,react_1.useEffect)(()=>{s(!1)},[n]);const l=(0,react_1.useMemo)(()=>e?Object.entries(e):[],[e]),d=(0,react_1.useMemo)(()=>{if(!r)return l;const i=r.toLowerCase();return l.filter(([p,c])=>p.toLowerCase().includes(i)||c.toLowerCase().includes(i))},[l,r]);if(l.length===0)return null;const w=t.toLowerCase().includes("request")||t.toLowerCase().includes("api"),u=w?AppColors_1.AppColors.offerPurple:AppColors_1.AppColors.greenColor,h=w?`${AppColors_1.AppColors.offerPurple}10`:`${AppColors_1.AppColors.greenColor}10`;return<react_native_1.View style={[styles_1.default.htCard,{borderLeftColor:u}]}>
|
|
23
|
+
<react_native_1.Pressable onPress={f}hitSlop={10}>
|
|
98
24
|
<react_native_1.View style={styles_1.default.htCardHeader}>
|
|
99
|
-
<react_native_1.View style={[styles_1.default.htIconWrap,
|
|
100
|
-
<NetworkIcons_1.HeadersIcon color={
|
|
25
|
+
<react_native_1.View style={[styles_1.default.htIconWrap,{backgroundColor:h}]}>
|
|
26
|
+
<NetworkIcons_1.HeadersIcon color={u}/>
|
|
101
27
|
</react_native_1.View>
|
|
102
|
-
<react_native_1.Text style={styles_1.default.htTitle}>{
|
|
103
|
-
<react_native_1.View style={[
|
|
104
|
-
styles_1.default.
|
|
105
|
-
|
|
106
|
-
]}>
|
|
107
|
-
<react_native_1.Text style={[styles_1.default.htBadgeText, { color: accentColor }]}>
|
|
108
|
-
{entries.length}
|
|
28
|
+
<react_native_1.Text style={styles_1.default.htTitle}>{t}</react_native_1.Text>
|
|
29
|
+
<react_native_1.View style={[styles_1.default.htBadge,{backgroundColor:h,borderColor:u}]}>
|
|
30
|
+
<react_native_1.Text style={[styles_1.default.htBadgeText,{color:u}]}>
|
|
31
|
+
{l.length}
|
|
109
32
|
</react_native_1.Text>
|
|
110
33
|
</react_native_1.View>
|
|
111
34
|
<react_native_1.View style={styles_1.default.htHeaderSpacer}/>
|
|
112
|
-
<CopyButton_1.default value={
|
|
35
|
+
<CopyButton_1.default value={e}label={t}/>
|
|
113
36
|
<react_native_1.View style={styles_1.default.htChevronBtn}>
|
|
114
|
-
<react_native_1.View style={
|
|
115
|
-
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong}
|
|
37
|
+
<react_native_1.View style={_}>
|
|
38
|
+
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong}size={14}/>
|
|
116
39
|
</react_native_1.View>
|
|
117
40
|
</react_native_1.View>
|
|
118
41
|
</react_native_1.View>
|
|
119
42
|
</react_native_1.Pressable>
|
|
120
43
|
|
|
121
|
-
{
|
|
44
|
+
{a&&<react_native_1.View>
|
|
122
45
|
<react_native_1.View style={styles_1.default.htColHeadRow}>
|
|
123
|
-
<react_native_1.Text style={[styles_1.default.htColHead,
|
|
124
|
-
<react_native_1.Text style={[styles_1.default.htColHead,
|
|
46
|
+
<react_native_1.Text style={[styles_1.default.htColHead,{width:"30%"}]}>{o("network.jsonViewer.key")}</react_native_1.Text>
|
|
47
|
+
<react_native_1.Text style={[styles_1.default.htColHead,{flex:1}]}>{o("network.jsonViewer.value")}</react_native_1.Text>
|
|
125
48
|
</react_native_1.View>
|
|
126
49
|
|
|
127
|
-
{
|
|
128
|
-
<react_native_1.Text style={styles_1.default.htEmptyText}>{
|
|
129
|
-
</react_native_1.View>
|
|
130
|
-
</react_native_1.View>
|
|
131
|
-
</react_native_1.View>
|
|
132
|
-
};
|
|
133
|
-
exports.default = HeadersSection;
|
|
50
|
+
{d.length>0?d.map(([i,p],c)=><HeaderRow key={i}headerKey={i}value={p}isLast={c===d.length-1}index={c}/>):<react_native_1.View style={styles_1.default.htEmpty}>
|
|
51
|
+
<react_native_1.Text style={styles_1.default.htEmptyText}>{o("network.noMatchingHeaders")}</react_native_1.Text>
|
|
52
|
+
</react_native_1.View>}
|
|
53
|
+
</react_native_1.View>}
|
|
54
|
+
</react_native_1.View>};exports.default=HeadersSection;
|
|
@@ -1,58 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
</react_native_1.Text
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return <react_native_1.Text key={keyPrefix}>{subText}</react_native_1.Text>;
|
|
19
|
-
}
|
|
20
|
-
const regex = new RegExp(`(${(0, helpers_1.escapeRegex)(search)})`, 'gi');
|
|
21
|
-
const parts = subText.split(regex);
|
|
22
|
-
return (<react_native_1.Text key={keyPrefix}>
|
|
23
|
-
{parts.map((part, i) => part.toLowerCase() === search.toLowerCase() ? (<react_native_1.Text key={i} style={highlightStyle}>
|
|
24
|
-
{part}
|
|
25
|
-
</react_native_1.Text>) : (<react_native_1.Text key={i}>{part}</react_native_1.Text>))}
|
|
26
|
-
</react_native_1.Text>);
|
|
27
|
-
};
|
|
28
|
-
if (detectLinks && text && text.length < 20000) {
|
|
29
|
-
const parts = text.split(URL_REGEX);
|
|
30
|
-
return (<react_native_1.Text style={style} numberOfLines={numberOfLines} {...rest}>
|
|
31
|
-
{parts.map((part, i) => {
|
|
32
|
-
if (part.match(URL_REGEX)) {
|
|
33
|
-
return (<react_native_1.Text key={`link-${i}`} style={{
|
|
34
|
-
color: '#007AFF',
|
|
35
|
-
textDecorationLine: 'underline',
|
|
36
|
-
}} onPress={() => {
|
|
37
|
-
(0, helpers_1.handleOpenExternalLink)(part);
|
|
38
|
-
}}>
|
|
39
|
-
{part}
|
|
40
|
-
</react_native_1.Text>);
|
|
41
|
-
}
|
|
42
|
-
return renderNormalOrHighlighted(part, `text-${i}`);
|
|
43
|
-
})}
|
|
44
|
-
</react_native_1.Text>);
|
|
45
|
-
}
|
|
46
|
-
if (!search)
|
|
47
|
-
return (<react_native_1.Text style={style} numberOfLines={numberOfLines} {...rest}>
|
|
48
|
-
{text}
|
|
49
|
-
</react_native_1.Text>);
|
|
50
|
-
const regex = new RegExp(`(${(0, helpers_1.escapeRegex)(search)})`, 'gi');
|
|
51
|
-
const parts = text.split(regex);
|
|
52
|
-
return (<react_native_1.Text style={style} numberOfLines={numberOfLines} {...rest}>
|
|
53
|
-
{parts.map((part, i) => part.toLowerCase() === search.toLowerCase() ? (<react_native_1.Text key={i} style={highlightStyle}>
|
|
54
|
-
{part}
|
|
55
|
-
</react_native_1.Text>) : (<react_native_1.Text key={i}>{part}</react_native_1.Text>))}
|
|
56
|
-
</react_native_1.Text>);
|
|
57
|
-
});
|
|
58
|
-
exports.default = HighlightText;
|
|
1
|
+
"use strict";var __importDefault=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importDefault(require("react")),react_native_1=require("react-native"),helpers_1=require("../helpers"),HighlightText=react_1.default.memo(function({text:t,search:r,style:i,highlightStyle:l,detectLinks:x,numberOfLines:_,...o}){if(!t||t.length>2e4&&!r&&!x)return<react_native_1.Text style={i}numberOfLines={_}{...o}>
|
|
2
|
+
{t}
|
|
3
|
+
</react_native_1.Text>;const u=/(https?:\/\/[^\s]+)/g,g=(n,e)=>{if(!r)return<react_native_1.Text key={e}>{n}</react_native_1.Text>;const s=new RegExp(`(${(0,helpers_1.escapeRegex)(r)})`,"gi"),f=n.split(s);return<react_native_1.Text key={e}>
|
|
4
|
+
{f.map((c,T)=>c.toLowerCase()===r.toLowerCase()?<react_native_1.Text key={T}style={l}>
|
|
5
|
+
{c}
|
|
6
|
+
</react_native_1.Text>:<react_native_1.Text key={T}>{c}</react_native_1.Text>)}
|
|
7
|
+
</react_native_1.Text>};if(x&&t&&t.length<2e4){const n=t.split(u);return<react_native_1.Text style={i}numberOfLines={_}{...o}>
|
|
8
|
+
{n.map((e,s)=>e.match(u)?<react_native_1.Text key={`link-${s}`}style={{color:"#007AFF",textDecorationLine:"underline"}}onPress={()=>{(0,helpers_1.handleOpenExternalLink)(e)}}>
|
|
9
|
+
{e}
|
|
10
|
+
</react_native_1.Text>:g(e,`text-${s}`))}
|
|
11
|
+
</react_native_1.Text>}if(!r)return<react_native_1.Text style={i}numberOfLines={_}{...o}>
|
|
12
|
+
{t}
|
|
13
|
+
</react_native_1.Text>;const p=new RegExp(`(${(0,helpers_1.escapeRegex)(r)})`,"gi"),v=t.split(p);return<react_native_1.Text style={i}numberOfLines={_}{...o}>
|
|
14
|
+
{v.map((n,e)=>n.toLowerCase()===r.toLowerCase()?<react_native_1.Text key={e}style={l}>
|
|
15
|
+
{n}
|
|
16
|
+
</react_native_1.Text>:<react_native_1.Text key={e}>{n}</react_native_1.Text>)}
|
|
17
|
+
</react_native_1.Text>});exports.default=HighlightText;
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,e,t,r){r===void 0&&(r=t);var a=Object.getOwnPropertyDescriptor(e,t);(!a||("get"in a?!e.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(o,r,a)}):(function(o,e,t,r){r===void 0&&(r=t),o[r]=e[t]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,e){Object.defineProperty(o,"default",{enumerable:!0,value:e})}):function(o,e){o.default=e}),__importStar=this&&this.__importStar||(function(){var o=function(e){return o=Object.getOwnPropertyNames||function(t){var r=[];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[r.length]=a);return r},o(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=o(e),a=0;a<r.length;a++)r[a]!=="default"&&__createBinding(t,e,r[a]);return __setModuleDefault(t,e),t}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AboutModal=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),TouchableScale_1=__importDefault(require("../TouchableScale")),InspectorContext_1=require("./InspectorContext"),version_1=require("../../constants/version"),helpers_1=require("../../helpers"),settingsStore_1=require("../../helpers/settingsStore"),reduxLogger_1=require("../../customHooks/reduxLogger"),analyticsLogger_1=require("../../customHooks/analyticsLogger"),NetworkIcons_1=require("../NetworkIcons"),AboutModal=({onClose:o})=>{const{updateAvailable:e,latestNpmVersion:t}=(0,InspectorContext_1.useInspector)(),[r,a]=(0,react_1.useState)(!1),s=()=>{const n=react_native_1.Dimensions.get("window"),l=react_native_1.Dimensions.get("screen"),i=react_native_1.Platform.constants?.reactNativeVersion,c={package:{name:"react-native-inapp-inspector",version:`v${version_1.LIB_VERSION}`,latestNpmVersion:t?`v${t}`:"Checking...",license:"MIT",repository:"https://github.com/vengatmacuser/react-native-inapp-inspector"},hostApp:{name:(0,helpers_1.getAppName)(),bundleId:(0,helpers_1.getBundleIdentifier)(),versionAndBuild:(0,helpers_1.getAppVersionAndBuild)().formatted,buildVariant:__DEV__?"Development (Debug)":"Production (Release)",metroConnected:(0,helpers_1.isLocalDebugEnvironment)()},runtime:{reactNativeVersion:i?`${i.major}.${i.minor}.${i.patch}`:"0.74+",reactVersion:react_1.default.version,jsEngine:global?.HermesInternal?"Hermes":"JavaScriptCore (JSC)",architecture:global?.nativeFabricUIManager?"Fabric (New Architecture)":"Paper (Legacy Bridge)",turboModules:!!(global?.__turboModuleProxy||global?.TurboModuleRegistry)},device:{platform:react_native_1.Platform.OS,osVersion:react_native_1.Platform.Version,deviceModel:react_native_1.Platform.constants?.Model||"Unknown Device",windowDimensions:`${Math.round(n.width)}x${Math.round(n.height)} pt`,screenDimensions:`${Math.round(l.width)}x${Math.round(l.height)} pt`,pixelRatio:react_native_1.PixelRatio.get(),fontScale:react_native_1.PixelRatio.getFontScale(),timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"Unknown",locale:Intl.DateTimeFormat().resolvedOptions().locale||"en"},storageAndCapabilities:{storageEngine:(0,settingsStore_1.isPersistentStorageAvailable)()?"MMKV (Fast Native Storage)":"In-Memory State",hasNativeModule:!!(global?.NativeInspectorModule||global?.__IN_APP_INSPECTOR_NATIVE__),reduxConnected:(0,reduxLogger_1.isReduxConnected)(),analyticsConnected:(0,analyticsLogger_1.isAnalyticsConnected)()}};(0,helpers_1.copyToClipboard)(JSON.stringify(c,null,2),"Diagnostic Specifications"),a(!0),(0,helpers_1.showToast)("Copied full diagnostic specs to clipboard!"),setTimeout(()=>a(!1),2e3)};return<react_native_1.View style={styles.container}>
|
|
2
|
+
<react_native_1.ScrollView style={styles.scrollView}contentContainerStyle={styles.scrollContent}showsVerticalScrollIndicator={!1}>
|
|
3
|
+
|
|
4
|
+
<react_native_1.View style={styles.heroCard}>
|
|
5
|
+
<react_native_1.View style={styles.heroHeaderRow}>
|
|
6
|
+
<react_native_1.View style={styles.heroBrandRow}>
|
|
7
|
+
<react_native_1.View style={styles.heroIconBox}>
|
|
8
|
+
<NetworkIcons_1.PackageIcon color={AppColors_1.AppColors.purple}size={22}/>
|
|
9
|
+
</react_native_1.View>
|
|
10
|
+
<react_native_1.View style={{flex:1}}>
|
|
11
|
+
<react_native_1.View style={styles.heroTitleRow}>
|
|
12
|
+
<react_native_1.Text style={styles.heroTitle}>In-App Inspector</react_native_1.Text>
|
|
13
|
+
<react_native_1.View style={styles.versionBadge}>
|
|
14
|
+
<react_native_1.Text style={styles.versionBadgeText}>v{version_1.LIB_VERSION}</react_native_1.Text>
|
|
15
|
+
</react_native_1.View>
|
|
16
|
+
{e?<react_native_1.View style={styles.updateBadge}>
|
|
17
|
+
<react_native_1.Text style={styles.updateBadgeText}>
|
|
18
|
+
v{t} Available
|
|
19
|
+
</react_native_1.Text>
|
|
20
|
+
<NetworkIcons_1.BoltIcon size={9}color="#D97706"/>
|
|
21
|
+
</react_native_1.View>:<react_native_1.View style={styles.upToDateBadge}>
|
|
22
|
+
<react_native_1.Text style={styles.upToDateBadgeText}>Up to date</react_native_1.Text>
|
|
23
|
+
</react_native_1.View>}
|
|
24
|
+
</react_native_1.View>
|
|
25
|
+
<react_native_1.Text style={styles.heroPackageName}>
|
|
26
|
+
react-native-inapp-inspector
|
|
27
|
+
</react_native_1.Text>
|
|
28
|
+
</react_native_1.View>
|
|
29
|
+
</react_native_1.View>
|
|
30
|
+
</react_native_1.View>
|
|
31
|
+
|
|
32
|
+
<react_native_1.Text style={styles.heroDescription}>
|
|
33
|
+
High-performance in-app debugging, network logging, console
|
|
34
|
+
inspection, performance profiling, storage viewer & telemetry
|
|
35
|
+
diagnostics for React Native.
|
|
36
|
+
</react_native_1.Text>
|
|
37
|
+
|
|
38
|
+
{e&&<TouchableScale_1.default onPress={()=>{(0,helpers_1.copyToClipboard)("npm install react-native-inapp-inspector@latest","Install Command"),(0,helpers_1.showToast)("Copied npm upgrade command!")}}style={styles.upgradeBtn}>
|
|
39
|
+
<NetworkIcons_1.BoltIcon size={12}color={AppColors_1.AppColors.white}/>
|
|
40
|
+
<react_native_1.Text style={styles.upgradeBtnText}>
|
|
41
|
+
Copy Upgrade Command (v{t})
|
|
42
|
+
</react_native_1.Text>
|
|
43
|
+
</TouchableScale_1.default>}
|
|
44
|
+
</react_native_1.View>
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
<react_native_1.View style={styles.gridContainer}>
|
|
48
|
+
<TouchableScale_1.default onPress={()=>{react_native_1.Linking.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector").catch(()=>{})}}style={[styles.gridCard,{backgroundColor:`${AppColors_1.AppColors.purple}0F`,borderColor:`${AppColors_1.AppColors.purple}30`}]}>
|
|
49
|
+
<NetworkIcons_1.GitHubIcon color={AppColors_1.AppColors.purple}size={18}/>
|
|
50
|
+
<react_native_1.View style={{flex:1}}>
|
|
51
|
+
<react_native_1.Text style={styles.gridCardTitle}>⭐ Star on GitHub</react_native_1.Text>
|
|
52
|
+
<react_native_1.Text style={styles.gridCardSub}>Support open source</react_native_1.Text>
|
|
53
|
+
</react_native_1.View>
|
|
54
|
+
</TouchableScale_1.default>
|
|
55
|
+
|
|
56
|
+
<TouchableScale_1.default onPress={()=>{react_native_1.Linking.openURL("https://www.npmjs.com/package/react-native-inapp-inspector").catch(()=>{})}}style={styles.gridCard}>
|
|
57
|
+
<NetworkIcons_1.NpmIcon color="#CB3837"size={18}/>
|
|
58
|
+
<react_native_1.View style={{flex:1}}>
|
|
59
|
+
<react_native_1.Text style={styles.gridCardTitle}>NPM Registry</react_native_1.Text>
|
|
60
|
+
<react_native_1.Text style={styles.gridCardSub}>Package repository</react_native_1.Text>
|
|
61
|
+
</react_native_1.View>
|
|
62
|
+
</TouchableScale_1.default>
|
|
63
|
+
|
|
64
|
+
<TouchableScale_1.default onPress={()=>{react_native_1.Linking.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector#readme").catch(()=>{})}}style={styles.gridCard}>
|
|
65
|
+
<react_native_1.Text style={{fontSize:16}}>📖</react_native_1.Text>
|
|
66
|
+
<react_native_1.View style={{flex:1}}>
|
|
67
|
+
<react_native_1.Text style={styles.gridCardTitle}>Documentation</react_native_1.Text>
|
|
68
|
+
<react_native_1.Text style={styles.gridCardSub}>Setup & API guide</react_native_1.Text>
|
|
69
|
+
</react_native_1.View>
|
|
70
|
+
</TouchableScale_1.default>
|
|
71
|
+
|
|
72
|
+
<TouchableScale_1.default onPress={()=>{react_native_1.Linking.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector/issues").catch(()=>{})}}style={styles.gridCard}>
|
|
73
|
+
<react_native_1.Text style={{fontSize:16}}>🐞</react_native_1.Text>
|
|
74
|
+
<react_native_1.View style={{flex:1}}>
|
|
75
|
+
<react_native_1.Text style={styles.gridCardTitle}>Report Issue</react_native_1.Text>
|
|
76
|
+
<react_native_1.Text style={styles.gridCardSub}>Bugs & feature requests</react_native_1.Text>
|
|
77
|
+
</react_native_1.View>
|
|
78
|
+
</TouchableScale_1.default>
|
|
79
|
+
|
|
80
|
+
<TouchableScale_1.default onPress={()=>{react_native_1.Linking.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector/releases").catch(()=>{})}}style={styles.gridCard}>
|
|
81
|
+
<react_native_1.Text style={{fontSize:16}}>🏷️</react_native_1.Text>
|
|
82
|
+
<react_native_1.View style={{flex:1}}>
|
|
83
|
+
<react_native_1.Text style={styles.gridCardTitle}>Release Notes</react_native_1.Text>
|
|
84
|
+
<react_native_1.Text style={styles.gridCardSub}>Version changelog</react_native_1.Text>
|
|
85
|
+
</react_native_1.View>
|
|
86
|
+
</TouchableScale_1.default>
|
|
87
|
+
|
|
88
|
+
<TouchableScale_1.default onPress={s}style={styles.gridCard}>
|
|
89
|
+
{r?<NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.emerald600}size={16}/>:<NetworkIcons_1.CopyIcon color={AppColors_1.AppColors.purple}size={16}/>}
|
|
90
|
+
<react_native_1.View style={{flex:1}}>
|
|
91
|
+
<react_native_1.Text style={styles.gridCardTitle}>
|
|
92
|
+
{r?"Specs Copied!":"Copy Specs JSON"}
|
|
93
|
+
</react_native_1.Text>
|
|
94
|
+
<react_native_1.Text style={styles.gridCardSub}>Diagnostics payload</react_native_1.Text>
|
|
95
|
+
</react_native_1.View>
|
|
96
|
+
</TouchableScale_1.default>
|
|
97
|
+
</react_native_1.View>
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<react_native_1.View style={styles.sectionCard}>
|
|
101
|
+
<react_native_1.Text style={styles.sectionHeader}>PACKAGE VERSION & UPGRADES</react_native_1.Text>
|
|
102
|
+
|
|
103
|
+
<react_native_1.View style={styles.versionRow}>
|
|
104
|
+
<react_native_1.View style={styles.versionLeft}>
|
|
105
|
+
<react_native_1.View style={styles.npmIconBox}>
|
|
106
|
+
<NetworkIcons_1.NpmIcon color="#CB3837"size={17}/>
|
|
107
|
+
</react_native_1.View>
|
|
108
|
+
<react_native_1.View style={{flex:1}}>
|
|
109
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
110
|
+
<react_native_1.Text style={styles.versionTitle}>v{version_1.LIB_VERSION}</react_native_1.Text>
|
|
111
|
+
{e?<react_native_1.View style={styles.updateBadge}>
|
|
112
|
+
<react_native_1.Text style={styles.updateBadgeText}>
|
|
113
|
+
v{t} Available
|
|
114
|
+
</react_native_1.Text>
|
|
115
|
+
<NetworkIcons_1.BoltIcon size={9}color="#D97706"/>
|
|
116
|
+
</react_native_1.View>:<react_native_1.View style={styles.upToDateBadge}>
|
|
117
|
+
<react_native_1.Text style={styles.upToDateBadgeText}>Up to date</react_native_1.Text>
|
|
118
|
+
</react_native_1.View>}
|
|
119
|
+
</react_native_1.View>
|
|
120
|
+
<react_native_1.Text style={styles.versionSubtitle}>
|
|
121
|
+
{e?`A newer release (v${t}) is available on npm registry.`:"You are running the latest version from npm registry."}
|
|
122
|
+
</react_native_1.Text>
|
|
123
|
+
</react_native_1.View>
|
|
124
|
+
</react_native_1.View>
|
|
125
|
+
|
|
126
|
+
<TouchableScale_1.default onPress={()=>{(0,helpers_1.copyToClipboard)("npm install react-native-inapp-inspector@latest","Install Command"),(0,helpers_1.showToast)("Copied npm install command!")}}style={[styles.copyActionBtn,{backgroundColor:e?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}18`}]}>
|
|
127
|
+
<NetworkIcons_1.CopyIcon color={e?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}size={12}/>
|
|
128
|
+
<react_native_1.Text style={[styles.copyActionText,{color:e?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}]}>
|
|
129
|
+
{e?"Copy Upgrade":"Copy Install"}
|
|
130
|
+
</react_native_1.Text>
|
|
131
|
+
</TouchableScale_1.default>
|
|
132
|
+
</react_native_1.View>
|
|
133
|
+
</react_native_1.View>
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
<react_native_1.View style={styles.sectionCard}>
|
|
137
|
+
<react_native_1.Text style={styles.sectionHeader}>HOST APPLICATION & BUILD</react_native_1.Text>
|
|
138
|
+
|
|
139
|
+
<react_native_1.View style={{gap:8}}>
|
|
140
|
+
<react_native_1.View style={styles.row}>
|
|
141
|
+
<react_native_1.Text style={styles.rowLabel}>Application Name</react_native_1.Text>
|
|
142
|
+
<react_native_1.Text style={styles.rowValueBold}>{(0,helpers_1.getAppName)()}</react_native_1.Text>
|
|
143
|
+
</react_native_1.View>
|
|
144
|
+
|
|
145
|
+
<react_native_1.View style={styles.row}>
|
|
146
|
+
<react_native_1.Text style={styles.rowLabel}>Bundle ID / Package</react_native_1.Text>
|
|
147
|
+
<react_native_1.Text style={styles.rowValueRegular}>{(0,helpers_1.getBundleIdentifier)()}</react_native_1.Text>
|
|
148
|
+
</react_native_1.View>
|
|
149
|
+
|
|
150
|
+
<react_native_1.View style={styles.row}>
|
|
151
|
+
<react_native_1.Text style={styles.rowLabel}>Version & Build Number</react_native_1.Text>
|
|
152
|
+
<react_native_1.Text style={styles.rowValueBold}>{(0,helpers_1.getAppVersionAndBuild)().formatted}</react_native_1.Text>
|
|
153
|
+
</react_native_1.View>
|
|
154
|
+
|
|
155
|
+
<react_native_1.View style={styles.row}>
|
|
156
|
+
<react_native_1.Text style={styles.rowLabel}>Build Variant</react_native_1.Text>
|
|
157
|
+
<react_native_1.View style={[styles.statusTag,{backgroundColor:__DEV__?`${AppColors_1.AppColors.amber500}20`:`${AppColors_1.AppColors.emerald500}20`,borderColor:__DEV__?`${AppColors_1.AppColors.amber500}50`:`${AppColors_1.AppColors.emerald500}50`}]}>
|
|
158
|
+
<react_native_1.Text style={[styles.statusTagText,{color:__DEV__?AppColors_1.AppColors.amber500:AppColors_1.AppColors.emerald600}]}>
|
|
159
|
+
{__DEV__?"Development (Debug)":"Production (Release)"}
|
|
160
|
+
</react_native_1.Text>
|
|
161
|
+
</react_native_1.View>
|
|
162
|
+
</react_native_1.View>
|
|
163
|
+
|
|
164
|
+
<react_native_1.View style={styles.row}>
|
|
165
|
+
<react_native_1.Text style={styles.rowLabel}>Metro Bundler Connection</react_native_1.Text>
|
|
166
|
+
<react_native_1.Text style={[styles.rowValueBold,{color:(0,helpers_1.isLocalDebugEnvironment)()?AppColors_1.AppColors.emerald600:AppColors_1.AppColors.grayText}]}>
|
|
167
|
+
{(0,helpers_1.isLocalDebugEnvironment)()?"Connected (Hot Reload Active)":"Offline / Standalone"}
|
|
168
|
+
</react_native_1.Text>
|
|
169
|
+
</react_native_1.View>
|
|
170
|
+
</react_native_1.View>
|
|
171
|
+
</react_native_1.View>
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
<react_native_1.View style={styles.sectionCard}>
|
|
175
|
+
<react_native_1.Text style={styles.sectionHeader}>FRAMEWORK & RUNTIME ENGINE</react_native_1.Text>
|
|
176
|
+
|
|
177
|
+
<react_native_1.View style={{gap:8}}>
|
|
178
|
+
<react_native_1.View style={styles.row}>
|
|
179
|
+
<react_native_1.Text style={styles.rowLabel}>React Native Version</react_native_1.Text>
|
|
180
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
181
|
+
v
|
|
182
|
+
{react_native_1.Platform.constants?.reactNativeVersion?.major!=null?`${react_native_1.Platform.constants.reactNativeVersion.major}.${react_native_1.Platform.constants.reactNativeVersion.minor}.${react_native_1.Platform.constants.reactNativeVersion.patch}`:"0.74+"}
|
|
183
|
+
</react_native_1.Text>
|
|
184
|
+
</react_native_1.View>
|
|
185
|
+
|
|
186
|
+
<react_native_1.View style={styles.row}>
|
|
187
|
+
<react_native_1.Text style={styles.rowLabel}>React Core Version</react_native_1.Text>
|
|
188
|
+
<react_native_1.Text style={styles.rowValueBold}>v{react_1.default.version}</react_native_1.Text>
|
|
189
|
+
</react_native_1.View>
|
|
190
|
+
|
|
191
|
+
<react_native_1.View style={styles.row}>
|
|
192
|
+
<react_native_1.Text style={styles.rowLabel}>JavaScript Engine</react_native_1.Text>
|
|
193
|
+
<react_native_1.View style={[styles.statusTag,{backgroundColor:`${AppColors_1.AppColors.purple}15`,borderColor:`${AppColors_1.AppColors.purple}40`}]}>
|
|
194
|
+
<react_native_1.Text style={[styles.statusTagText,{color:AppColors_1.AppColors.purple,fontSize:10.5}]}>
|
|
195
|
+
{global?.HermesInternal?"Hermes Engine (Active)":"JavaScriptCore (JSC)"}
|
|
196
|
+
</react_native_1.Text>
|
|
197
|
+
</react_native_1.View>
|
|
198
|
+
</react_native_1.View>
|
|
199
|
+
|
|
200
|
+
<react_native_1.View style={styles.row}>
|
|
201
|
+
<react_native_1.Text style={styles.rowLabel}>Rendering Architecture</react_native_1.Text>
|
|
202
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
203
|
+
{global?.nativeFabricUIManager?"Fabric (New Architecture)":"Paper (Legacy Bridge)"}
|
|
204
|
+
</react_native_1.Text>
|
|
205
|
+
</react_native_1.View>
|
|
206
|
+
|
|
207
|
+
<react_native_1.View style={styles.row}>
|
|
208
|
+
<react_native_1.Text style={styles.rowLabel}>TurboModules Support</react_native_1.Text>
|
|
209
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
210
|
+
{global?.__turboModuleProxy||global?.TurboModuleRegistry?"Enabled (C++ JSI)":"Standard Bridge"}
|
|
211
|
+
</react_native_1.Text>
|
|
212
|
+
</react_native_1.View>
|
|
213
|
+
</react_native_1.View>
|
|
214
|
+
</react_native_1.View>
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
<react_native_1.View style={styles.sectionCard}>
|
|
218
|
+
<react_native_1.Text style={styles.sectionHeader}>DEVICE & DISPLAY METRICS</react_native_1.Text>
|
|
219
|
+
|
|
220
|
+
<react_native_1.View style={{gap:8}}>
|
|
221
|
+
<react_native_1.View style={styles.row}>
|
|
222
|
+
<react_native_1.Text style={styles.rowLabel}>Operating System</react_native_1.Text>
|
|
223
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
224
|
+
{react_native_1.Platform.OS==="ios"?"Apple iOS":react_native_1.Platform.OS==="android"?"Google Android":react_native_1.Platform.OS}{" "}
|
|
225
|
+
{react_native_1.Platform.Version}
|
|
226
|
+
</react_native_1.Text>
|
|
227
|
+
</react_native_1.View>
|
|
228
|
+
|
|
229
|
+
<react_native_1.View style={styles.row}>
|
|
230
|
+
<react_native_1.Text style={styles.rowLabel}>Device Hardware Model</react_native_1.Text>
|
|
231
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
232
|
+
{react_native_1.Platform.constants?.Model||(react_native_1.Platform.OS==="ios"?"Apple Device":"Android Device")}
|
|
233
|
+
</react_native_1.Text>
|
|
234
|
+
</react_native_1.View>
|
|
235
|
+
|
|
236
|
+
<react_native_1.View style={styles.row}>
|
|
237
|
+
<react_native_1.Text style={styles.rowLabel}>Window Viewport (Points)</react_native_1.Text>
|
|
238
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
239
|
+
{Math.round(react_native_1.Dimensions.get("window").width)} ×{" "}
|
|
240
|
+
{Math.round(react_native_1.Dimensions.get("window").height)} pt
|
|
241
|
+
</react_native_1.Text>
|
|
242
|
+
</react_native_1.View>
|
|
243
|
+
|
|
244
|
+
<react_native_1.View style={styles.row}>
|
|
245
|
+
<react_native_1.Text style={styles.rowLabel}>Native Physical Resolution</react_native_1.Text>
|
|
246
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
247
|
+
{Math.round(react_native_1.Dimensions.get("screen").width*react_native_1.PixelRatio.get())}{" "}
|
|
248
|
+
×{" "}
|
|
249
|
+
{Math.round(react_native_1.Dimensions.get("screen").height*react_native_1.PixelRatio.get())}{" "}
|
|
250
|
+
px
|
|
251
|
+
</react_native_1.Text>
|
|
252
|
+
</react_native_1.View>
|
|
253
|
+
|
|
254
|
+
<react_native_1.View style={styles.row}>
|
|
255
|
+
<react_native_1.Text style={styles.rowLabel}>Pixel Density & Font Scale</react_native_1.Text>
|
|
256
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
257
|
+
{react_native_1.PixelRatio.get().toFixed(1)}x (
|
|
258
|
+
{react_native_1.PixelRatio.get()>=3?"@3x":react_native_1.PixelRatio.get()>=2?"@2x":"@1x"}
|
|
259
|
+
) • Font: {react_native_1.PixelRatio.getFontScale().toFixed(2)}x
|
|
260
|
+
</react_native_1.Text>
|
|
261
|
+
</react_native_1.View>
|
|
262
|
+
|
|
263
|
+
<react_native_1.View style={styles.row}>
|
|
264
|
+
<react_native_1.Text style={styles.rowLabel}>Timezone & Locale</react_native_1.Text>
|
|
265
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
266
|
+
{Intl.DateTimeFormat().resolvedOptions().timeZone||"System"}{" "}
|
|
267
|
+
({Intl.DateTimeFormat().resolvedOptions().locale||"en"})
|
|
268
|
+
</react_native_1.Text>
|
|
269
|
+
</react_native_1.View>
|
|
270
|
+
</react_native_1.View>
|
|
271
|
+
</react_native_1.View>
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
<react_native_1.View style={styles.sectionCard}>
|
|
275
|
+
<react_native_1.Text style={styles.sectionHeader}>INSPECTOR STORAGE & CAPABILITIES</react_native_1.Text>
|
|
276
|
+
|
|
277
|
+
<react_native_1.View style={{gap:8}}>
|
|
278
|
+
<react_native_1.View style={styles.row}>
|
|
279
|
+
<react_native_1.Text style={styles.rowLabel}>Storage Persistence Engine</react_native_1.Text>
|
|
280
|
+
<react_native_1.View style={[styles.statusTag,{backgroundColor:(0,settingsStore_1.isPersistentStorageAvailable)()?`${AppColors_1.AppColors.emerald500}18`:`${AppColors_1.AppColors.amber500}18`,borderColor:(0,settingsStore_1.isPersistentStorageAvailable)()?`${AppColors_1.AppColors.emerald500}50`:`${AppColors_1.AppColors.amber500}50`}]}>
|
|
281
|
+
<react_native_1.Text style={[styles.statusTagText,{color:(0,settingsStore_1.isPersistentStorageAvailable)()?AppColors_1.AppColors.emerald600:AppColors_1.AppColors.amber500}]}>
|
|
282
|
+
{(0,settingsStore_1.isPersistentStorageAvailable)()?"MMKV Fast Native Storage":"In-Memory State"}
|
|
283
|
+
</react_native_1.Text>
|
|
284
|
+
</react_native_1.View>
|
|
285
|
+
</react_native_1.View>
|
|
286
|
+
|
|
287
|
+
<react_native_1.View style={styles.row}>
|
|
288
|
+
<react_native_1.Text style={styles.rowLabel}>Native Module Status</react_native_1.Text>
|
|
289
|
+
<react_native_1.Text style={[styles.rowValueBold,{color:global?.NativeInspectorModule?AppColors_1.AppColors.emerald600:AppColors_1.AppColors.grayText}]}>
|
|
290
|
+
{global?.NativeInspectorModule?"Linked & Active":"JavaScript Only"}
|
|
291
|
+
</react_native_1.Text>
|
|
292
|
+
</react_native_1.View>
|
|
293
|
+
|
|
294
|
+
<react_native_1.View style={styles.row}>
|
|
295
|
+
<react_native_1.Text style={styles.rowLabel}>Network Logger Interceptor</react_native_1.Text>
|
|
296
|
+
<react_native_1.Text style={[styles.rowValueBold,{color:AppColors_1.AppColors.emerald600}]}>
|
|
297
|
+
Active (XMLHttpRequest & Fetch Hooked)
|
|
298
|
+
</react_native_1.Text>
|
|
299
|
+
</react_native_1.View>
|
|
300
|
+
|
|
301
|
+
<react_native_1.View style={styles.row}>
|
|
302
|
+
<react_native_1.Text style={styles.rowLabel}>Redux & Analytics Watchers</react_native_1.Text>
|
|
303
|
+
<react_native_1.Text style={styles.rowValueBold}>
|
|
304
|
+
Redux: {(0,reduxLogger_1.isReduxConnected)()?"Connected":"Listening"} •
|
|
305
|
+
Analytics: {(0,analyticsLogger_1.isAnalyticsConnected)()?"Connected":"Listening"}
|
|
306
|
+
</react_native_1.Text>
|
|
307
|
+
</react_native_1.View>
|
|
308
|
+
|
|
309
|
+
<react_native_1.View style={styles.row}>
|
|
310
|
+
<react_native_1.Text style={styles.rowLabel}>Crash & Exception Boundary</react_native_1.Text>
|
|
311
|
+
<react_native_1.Text style={[styles.rowValueBold,{color:AppColors_1.AppColors.emerald600}]}>
|
|
312
|
+
Global JS Exception Handler Active
|
|
313
|
+
</react_native_1.Text>
|
|
314
|
+
</react_native_1.View>
|
|
315
|
+
|
|
316
|
+
<react_native_1.View style={styles.row}>
|
|
317
|
+
<react_native_1.Text style={styles.rowLabel}>Memory Management</react_native_1.Text>
|
|
318
|
+
<react_native_1.Text style={[styles.rowValueBold,{color:AppColors_1.AppColors.emerald600}]}>
|
|
319
|
+
Dynamic Auto RAM Tiering Active
|
|
320
|
+
</react_native_1.Text>
|
|
321
|
+
</react_native_1.View>
|
|
322
|
+
</react_native_1.View>
|
|
323
|
+
</react_native_1.View>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<react_native_1.View style={styles.sectionCard}>
|
|
327
|
+
<react_native_1.Text style={styles.sectionHeader}>LICENSE & CREDITS</react_native_1.Text>
|
|
328
|
+
|
|
329
|
+
<react_native_1.View style={styles.row}>
|
|
330
|
+
<react_native_1.Text style={styles.rowLabel}>License</react_native_1.Text>
|
|
331
|
+
<react_native_1.Text style={[styles.rowValueBold,{color:AppColors_1.AppColors.emerald600}]}>
|
|
332
|
+
MIT Permissive Open Source
|
|
333
|
+
</react_native_1.Text>
|
|
334
|
+
</react_native_1.View>
|
|
335
|
+
|
|
336
|
+
<react_native_1.View style={styles.row}>
|
|
337
|
+
<react_native_1.Text style={styles.rowLabel}>Created & Maintained By</react_native_1.Text>
|
|
338
|
+
<react_native_1.Text style={styles.rowValueBold}>Vengateswaran</react_native_1.Text>
|
|
339
|
+
</react_native_1.View>
|
|
340
|
+
|
|
341
|
+
<react_native_1.View style={styles.row}>
|
|
342
|
+
<react_native_1.Text style={styles.rowLabel}>Repository</react_native_1.Text>
|
|
343
|
+
<react_native_1.Text style={[styles.rowValueRegular,{color:AppColors_1.AppColors.purple}]}>
|
|
344
|
+
github.com/vengatmacuser/react-native-inapp-inspector
|
|
345
|
+
</react_native_1.Text>
|
|
346
|
+
</react_native_1.View>
|
|
347
|
+
</react_native_1.View>
|
|
348
|
+
|
|
349
|
+
<react_native_1.View style={{height:48}}/>
|
|
350
|
+
</react_native_1.ScrollView>
|
|
351
|
+
</react_native_1.View>};exports.AboutModal=AboutModal,exports.default=exports.AboutModal;const styles=react_native_1.StyleSheet.create({container:{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground},scrollView:{flex:1},scrollContent:{padding:16,gap:14},heroCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16,gap:12},heroHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},heroBrandRow:{flexDirection:"row",alignItems:"center",gap:12,flex:1},heroIconBox:{width:44,height:44,borderRadius:12,backgroundColor:`${AppColors_1.AppColors.purple}1A`,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}33`},heroTitleRow:{flexDirection:"row",alignItems:"center",gap:8,flexWrap:"wrap"},heroTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:15,lineHeight:20,color:AppColors_1.AppColors.primaryBlack},versionBadge:{backgroundColor:`${AppColors_1.AppColors.purple}18`,paddingHorizontal:7,paddingVertical:2,borderRadius:6,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}33`},versionBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:AppColors_1.AppColors.purple},updateBadge:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:"#F59E0B20",paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,borderColor:"#F59E0B60"},updateBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:"#D97706"},upToDateBadge:{backgroundColor:`${AppColors_1.AppColors.emerald500}20`,paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,borderColor:`${AppColors_1.AppColors.emerald500}50`},upToDateBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.emerald600},heroPackageName:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:2},heroDescription:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11.5,lineHeight:16,color:AppColors_1.AppColors.grayText},upgradeBtn:{backgroundColor:AppColors_1.AppColors.purple,paddingVertical:8,paddingHorizontal:12,borderRadius:8,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6},upgradeBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:AppColors_1.AppColors.white},gridContainer:{flexDirection:"row",flexWrap:"wrap",gap:8},gridCard:{flex:1,minWidth:"47%",backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:12,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,paddingVertical:10,paddingHorizontal:12,flexDirection:"row",alignItems:"center",gap:8},gridCardTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,color:AppColors_1.AppColors.primaryBlack},gridCardSub:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:9.5,color:AppColors_1.AppColors.grayText},sectionCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:14,gap:10},sectionHeader:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.8},versionRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},versionLeft:{flexDirection:"row",alignItems:"center",gap:10,flex:1,marginRight:8},npmIconBox:{width:34,height:34,borderRadius:9,backgroundColor:"#CB383715",alignItems:"center",justifyContent:"center"},versionTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:14,lineHeight:18,color:AppColors_1.AppColors.primaryBlack},versionSubtitle:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1},copyActionBtn:{paddingVertical:7,paddingHorizontal:11,borderRadius:8,flexDirection:"row",alignItems:"center",gap:5},copyActionText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11},row:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},rowLabel:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11.5,color:AppColors_1.AppColors.grayText},rowValueBold:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,color:AppColors_1.AppColors.primaryBlack},rowValueRegular:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.primaryBlack},statusTag:{paddingHorizontal:6,paddingVertical:1.5,borderRadius:5,borderWidth:1},statusTagText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10}});
|