react-native-inapp-inspector 2.3.19 → 2.3.21
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/README.md +14 -14
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +67 -0
- package/dist/commonjs/analytics.js +1 -24
- package/dist/commonjs/bundle.js +1 -16
- package/dist/commonjs/capture.js +1 -35
- 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.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 +243 -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 +74 -875
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
- package/dist/commonjs/components/Inspector/FabLauncher.js +42 -466
- package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
- package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
- package/dist/commonjs/components/Inspector/InspectorHeader.js +191 -1110
- package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
- package/dist/commonjs/components/Inspector/MainScreen.js +52 -335
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +97 -644
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +90 -605
- package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
- package/dist/commonjs/components/Inspector/NetworkDetail.js +89 -411
- 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 +18 -434
- 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 +427 -3807
- 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 +36 -334
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +37 -412
- package/dist/commonjs/components/JsonViewer.js +168 -381
- 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 +13 -0
- package/dist/commonjs/components/NetworkIcons.js +521 -1022
- package/dist/commonjs/components/QRCodeView.js +5 -79
- package/dist/commonjs/components/SectionHeader.js +15 -37
- package/dist/commonjs/components/SegmentedTabs.js +7 -62
- 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.d.ts +1 -0
- 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 -1140
- package/dist/commonjs/index.js +5 -2168
- package/dist/commonjs/metro.js +6 -468
- package/dist/commonjs/native/NativeInspector.d.ts +1 -0
- package/dist/commonjs/native/NativeInspector.js +1 -415
- 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 +0 -1
- package/dist/commonjs/types/enums.js +1 -152
- package/dist/commonjs/types/index.js +1 -18
- package/dist/commonjs/types/interfaces.d.ts +2 -2
- 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.js +1 -32
- 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.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 +243 -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 +164 -925
- package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
- package/dist/esm/components/Inspector/FabLauncher.js +68 -454
- package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
- package/dist/esm/components/Inspector/InspectorContext.js +1 -12
- package/dist/esm/components/Inspector/InspectorHeader.js +282 -1163
- package/dist/esm/components/Inspector/LogDetail.js +235 -1023
- package/dist/esm/components/Inspector/MainScreen.js +78 -323
- package/dist/esm/components/Inspector/MediaGalleryTab.js +143 -650
- package/dist/esm/components/Inspector/MediaPreviewModal.js +138 -613
- package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
- package/dist/esm/components/Inspector/NetworkDetail.js +138 -455
- 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 +643 -3985
- 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 +45 -305
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +80 -418
- package/dist/esm/components/JsonViewer.js +179 -354
- 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 +13 -0
- package/dist/esm/components/NetworkIcons.js +523 -838
- package/dist/esm/components/QRCodeView.js +8 -45
- package/dist/esm/components/SectionHeader.js +22 -39
- package/dist/esm/components/SegmentedTabs.js +8 -58
- 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.d.ts +1 -0
- 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 -1140
- package/dist/esm/index.js +7 -1982
- package/dist/esm/metro.js +6 -459
- package/dist/esm/native/NativeInspector.d.ts +1 -0
- package/dist/esm/native/NativeInspector.js +1 -382
- 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 +0 -1
- package/dist/esm/types/enums.js +1 -149
- package/dist/esm/types/index.js +1 -2
- package/dist/esm/types/interfaces.d.ts +2 -2
- package/dist/esm/types/interfaces.js +1 -1
- package/ios/NetworkInspectorModule.mm +60 -12
- package/package.json +5 -3
- package/src/native/NativeInspector.ts +18 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +0 -7
- package/dist/commonjs/components/Inspector/FeedbackModal.js +0 -552
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +0 -7
- package/dist/esm/components/Inspector/FeedbackModal.js +0 -515
- package/src/analytics.ts +0 -35
- package/src/bundle.ts +0 -25
- package/src/capture.ts +0 -109
- 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 -97
- 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 -590
- 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 -1583
- package/src/components/Inspector/LogDetail.tsx +0 -1431
- package/src/components/Inspector/MainScreen.tsx +0 -460
- package/src/components/Inspector/MediaGalleryTab.tsx +0 -829
- package/src/components/Inspector/MediaPreviewModal.tsx +0 -783
- package/src/components/Inspector/NavigationTracker.tsx +0 -13
- package/src/components/Inspector/NetworkDetail.tsx +0 -778
- 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 -5136
- package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
- package/src/components/Inspector/StorageTab.tsx +0 -1159
- package/src/components/Inspector/TabBar.tsx +0 -431
- package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
- package/src/components/JsonViewer.tsx +0 -549
- 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 -2655
- package/src/components/QRCodeView.tsx +0 -75
- package/src/components/SectionHeader.tsx +0 -101
- package/src/components/SegmentedTabs.tsx +0 -84
- 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 -1141
- package/src/index.tsx +0 -2650
- 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 -210
- package/src/types/index.ts +0 -34
- package/src/types/interfaces.ts +0 -535
|
@@ -70,7 +70,6 @@ export declare const SettingsSubTab: {
|
|
|
70
70
|
readonly Ui: "ui";
|
|
71
71
|
readonly Limits: "limits";
|
|
72
72
|
readonly Capture: "capture";
|
|
73
|
-
readonly About: "about";
|
|
74
73
|
};
|
|
75
74
|
export type SettingsSubTab = (typeof SettingsSubTab)[keyof typeof SettingsSubTab];
|
|
76
75
|
export declare const LogFilter: {
|
package/dist/esm/types/enums.js
CHANGED
|
@@ -1,149 +1 @@
|
|
|
1
|
-
export const ActiveTab
|
|
2
|
-
Apis: 'apis',
|
|
3
|
-
Analytics: 'analytics',
|
|
4
|
-
Logs: 'logs',
|
|
5
|
-
Redux: 'redux',
|
|
6
|
-
Bundle: 'bundle',
|
|
7
|
-
Performance: 'performance',
|
|
8
|
-
Crash: 'crash',
|
|
9
|
-
Device: 'device',
|
|
10
|
-
Storage: 'storage',
|
|
11
|
-
Debugging: 'debugging',
|
|
12
|
-
Media: 'media',
|
|
13
|
-
};
|
|
14
|
-
export const Method = {
|
|
15
|
-
All: 'ALL',
|
|
16
|
-
Get: 'GET',
|
|
17
|
-
Post: 'POST',
|
|
18
|
-
Put: 'PUT',
|
|
19
|
-
Patch: 'PATCH',
|
|
20
|
-
Delete: 'DELETE',
|
|
21
|
-
Query: 'QUERY',
|
|
22
|
-
Options: 'OPTIONS',
|
|
23
|
-
Head: 'HEAD',
|
|
24
|
-
};
|
|
25
|
-
export const StatusFilter = {
|
|
26
|
-
All: 'ALL',
|
|
27
|
-
TwoXx: '2xx',
|
|
28
|
-
ThreeXx: '3xx',
|
|
29
|
-
FourXx: '4xx',
|
|
30
|
-
FiveXx: '5xx',
|
|
31
|
-
Failed: 'Failed',
|
|
32
|
-
};
|
|
33
|
-
export const SortOrder = {
|
|
34
|
-
Newest: 'newest',
|
|
35
|
-
Oldest: 'oldest',
|
|
36
|
-
};
|
|
37
|
-
export const LocalFilter = {
|
|
38
|
-
Success: 'success',
|
|
39
|
-
Failed: 'failed',
|
|
40
|
-
Loading: 'loading',
|
|
41
|
-
};
|
|
42
|
-
export const ModalAnimationType = {
|
|
43
|
-
Slide: 'slide',
|
|
44
|
-
Fade: 'fade',
|
|
45
|
-
None: 'none',
|
|
46
|
-
};
|
|
47
|
-
export const SettingsPage = {
|
|
48
|
-
Main: 'main',
|
|
49
|
-
Apis: 'apis',
|
|
50
|
-
Logs: 'logs',
|
|
51
|
-
Analytics: 'analytics',
|
|
52
|
-
Redux: 'redux',
|
|
53
|
-
Bundle: 'bundle',
|
|
54
|
-
Performance: 'performance',
|
|
55
|
-
Crash: 'crash',
|
|
56
|
-
Device: 'device',
|
|
57
|
-
Storage: 'storage',
|
|
58
|
-
Debugging: 'debugging',
|
|
59
|
-
Media: 'media',
|
|
60
|
-
};
|
|
61
|
-
export const SettingsSubTab = {
|
|
62
|
-
Module: 'module',
|
|
63
|
-
Ui: 'ui',
|
|
64
|
-
Limits: 'limits',
|
|
65
|
-
Capture: 'capture',
|
|
66
|
-
About: 'about',
|
|
67
|
-
};
|
|
68
|
-
export const LogFilter = {
|
|
69
|
-
All: 'all',
|
|
70
|
-
Info: 'info',
|
|
71
|
-
Warn: 'warn',
|
|
72
|
-
Error: 'error',
|
|
73
|
-
UserLog: 'user-log',
|
|
74
|
-
Analytics: 'analytics',
|
|
75
|
-
};
|
|
76
|
-
export const ConsoleLogType = {
|
|
77
|
-
Info: 'info',
|
|
78
|
-
Warn: 'warn',
|
|
79
|
-
Error: 'error',
|
|
80
|
-
};
|
|
81
|
-
export const AnalyticsEventSource = {
|
|
82
|
-
Firebase: 'firebase',
|
|
83
|
-
Manual: 'manual',
|
|
84
|
-
};
|
|
85
|
-
export const GAEventCategory = {
|
|
86
|
-
PageView: 'page_view',
|
|
87
|
-
Ecommerce: 'ecommerce',
|
|
88
|
-
System: 'system',
|
|
89
|
-
Custom: 'custom',
|
|
90
|
-
};
|
|
91
|
-
export const StackFrameType = {
|
|
92
|
-
App: 'app',
|
|
93
|
-
Dependency: 'dependency',
|
|
94
|
-
Runtime: 'runtime',
|
|
95
|
-
Native: 'native',
|
|
96
|
-
};
|
|
97
|
-
export const DiffResultType = {
|
|
98
|
-
Added: 'added',
|
|
99
|
-
Removed: 'removed',
|
|
100
|
-
Changed: 'changed',
|
|
101
|
-
};
|
|
102
|
-
export const BundleSubTab = {
|
|
103
|
-
Overview: 'overview',
|
|
104
|
-
Production: 'production',
|
|
105
|
-
Files: 'files',
|
|
106
|
-
Packages: 'packages',
|
|
107
|
-
Media: 'media',
|
|
108
|
-
Optimizer: 'optimizer',
|
|
109
|
-
};
|
|
110
|
-
export const PerformanceSubTab = {
|
|
111
|
-
Overview: 'overview',
|
|
112
|
-
Renders: 'renders',
|
|
113
|
-
Interactions: 'interactions',
|
|
114
|
-
Memory: 'memory',
|
|
115
|
-
};
|
|
116
|
-
export const CrashType = {
|
|
117
|
-
Native: 'native',
|
|
118
|
-
Js: 'js',
|
|
119
|
-
Promise: 'promise',
|
|
120
|
-
Render: 'render',
|
|
121
|
-
Custom: 'custom',
|
|
122
|
-
};
|
|
123
|
-
export const CrashExportFormat = {
|
|
124
|
-
Text: 'text',
|
|
125
|
-
Markdown: 'markdown',
|
|
126
|
-
Json: 'json',
|
|
127
|
-
};
|
|
128
|
-
export const CrashDetailSubTab = {
|
|
129
|
-
Stack: 'stack',
|
|
130
|
-
Diagnostics: 'diagnostics',
|
|
131
|
-
Breadcrumbs: 'breadcrumbs',
|
|
132
|
-
Raw: 'raw',
|
|
133
|
-
};
|
|
134
|
-
export const CrashFilterType = {
|
|
135
|
-
All: 'all',
|
|
136
|
-
Fatal: 'fatal',
|
|
137
|
-
Js: 'js',
|
|
138
|
-
Promise: 'promise',
|
|
139
|
-
Render: 'render',
|
|
140
|
-
Native: 'native',
|
|
141
|
-
};
|
|
142
|
-
export const BreadcrumbType = {
|
|
143
|
-
Navigation: 'navigation',
|
|
144
|
-
Network: 'network',
|
|
145
|
-
Redux: 'redux',
|
|
146
|
-
Console: 'console',
|
|
147
|
-
User: 'user',
|
|
148
|
-
System: 'system',
|
|
149
|
-
};
|
|
1
|
+
export const ActiveTab={Apis:"apis",Analytics:"analytics",Logs:"logs",Redux:"redux",Bundle:"bundle",Performance:"performance",Crash:"crash",Device:"device",Storage:"storage",Debugging:"debugging",Media:"media"},Method={All:"ALL",Get:"GET",Post:"POST",Put:"PUT",Patch:"PATCH",Delete:"DELETE",Query:"QUERY",Options:"OPTIONS",Head:"HEAD"},StatusFilter={All:"ALL",TwoXx:"2xx",ThreeXx:"3xx",FourXx:"4xx",FiveXx:"5xx",Failed:"Failed"},SortOrder={Newest:"newest",Oldest:"oldest"},LocalFilter={Success:"success",Failed:"failed",Loading:"loading"},ModalAnimationType={Slide:"slide",Fade:"fade",None:"none"},SettingsPage={Main:"main",Apis:"apis",Logs:"logs",Analytics:"analytics",Redux:"redux",Bundle:"bundle",Performance:"performance",Crash:"crash",Device:"device",Storage:"storage",Debugging:"debugging",Media:"media"},SettingsSubTab={Module:"module",Ui:"ui",Limits:"limits",Capture:"capture"},LogFilter={All:"all",Info:"info",Warn:"warn",Error:"error",UserLog:"user-log",Analytics:"analytics"},ConsoleLogType={Info:"info",Warn:"warn",Error:"error"},AnalyticsEventSource={Firebase:"firebase",Manual:"manual"},GAEventCategory={PageView:"page_view",Ecommerce:"ecommerce",System:"system",Custom:"custom"},StackFrameType={App:"app",Dependency:"dependency",Runtime:"runtime",Native:"native"},DiffResultType={Added:"added",Removed:"removed",Changed:"changed"},BundleSubTab={Overview:"overview",Production:"production",Files:"files",Packages:"packages",Media:"media",Optimizer:"optimizer"},PerformanceSubTab={Overview:"overview",Renders:"renders",Interactions:"interactions",Memory:"memory"},CrashType={Native:"native",Js:"js",Promise:"promise",Render:"render",Custom:"custom"},CrashExportFormat={Text:"text",Markdown:"markdown",Json:"json"},CrashDetailSubTab={Stack:"stack",Diagnostics:"diagnostics",Breadcrumbs:"breadcrumbs",Raw:"raw"},CrashFilterType={All:"all",Fatal:"fatal",Js:"js",Promise:"promise",Render:"render",Native:"native"},BreadcrumbType={Navigation:"navigation",Network:"network",Redux:"redux",Console:"console",User:"user",System:"system"};
|
package/dist/esm/types/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from './enums';
|
|
1
|
+
export*from"./interfaces";export*from"./enums";
|
|
@@ -213,8 +213,8 @@ export interface InspectorContextValue {
|
|
|
213
213
|
setShowHeaderInfo: React.Dispatch<React.SetStateAction<boolean>>;
|
|
214
214
|
settingsPage: SettingsPage;
|
|
215
215
|
setSettingsPage: React.Dispatch<React.SetStateAction<SettingsPage>>;
|
|
216
|
-
|
|
217
|
-
|
|
216
|
+
isAboutOpen: boolean;
|
|
217
|
+
setIsAboutOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
218
218
|
updateAvailable: boolean;
|
|
219
219
|
latestNpmVersion: string | null;
|
|
220
220
|
clearAnim: Animated.Value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export{};
|
|
@@ -1207,23 +1207,37 @@ RCT_EXPORT_METHOD(getNativeCachedPage:(NSString *)pageKey
|
|
|
1207
1207
|
|
|
1208
1208
|
- (CVPixelBufferRef)createPixelBufferFromUIImage:(UIImage *)image size:(CGSize)size {
|
|
1209
1209
|
if (!image) return NULL;
|
|
1210
|
+
CGImageRef cgImage = image.CGImage;
|
|
1211
|
+
if (!cgImage) return NULL;
|
|
1212
|
+
|
|
1210
1213
|
NSDictionary *options = @{
|
|
1211
1214
|
(id)kCVPixelBufferCGImageCompatibilityKey: @(YES),
|
|
1212
1215
|
(id)kCVPixelBufferCGBitmapContextCompatibilityKey: @(YES)
|
|
1213
1216
|
};
|
|
1214
1217
|
CVPixelBufferRef pxbuffer = NULL;
|
|
1215
|
-
CVReturn status = CVPixelBufferCreate(kCFAllocatorDefault,
|
|
1218
|
+
CVReturn status = CVPixelBufferCreate(kCFAllocatorDefault,
|
|
1219
|
+
(size_t)size.width,
|
|
1220
|
+
(size_t)size.height,
|
|
1221
|
+
kCVPixelFormatType_32BGRA,
|
|
1222
|
+
(__bridge CFDictionaryRef)options,
|
|
1223
|
+
&pxbuffer);
|
|
1216
1224
|
if (status != kCVReturnSuccess || pxbuffer == NULL) return NULL;
|
|
1217
1225
|
|
|
1218
1226
|
CVPixelBufferLockBaseAddress(pxbuffer, 0);
|
|
1219
1227
|
void *pxdata = CVPixelBufferGetBaseAddress(pxbuffer);
|
|
1220
1228
|
size_t bytesPerRow = CVPixelBufferGetBytesPerRow(pxbuffer);
|
|
1221
1229
|
CGColorSpaceRef rgbColorSpace = CGColorSpaceCreateDeviceRGB();
|
|
1222
|
-
CGContextRef context = CGBitmapContextCreate(pxdata,
|
|
1230
|
+
CGContextRef context = CGBitmapContextCreate(pxdata,
|
|
1231
|
+
(size_t)size.width,
|
|
1232
|
+
(size_t)size.height,
|
|
1233
|
+
8,
|
|
1234
|
+
bytesPerRow,
|
|
1235
|
+
rgbColorSpace,
|
|
1236
|
+
(CGBitmapInfo)kCGBitmapByteOrder32Little | (CGBitmapInfo)kCGImageAlphaPremultipliedFirst);
|
|
1223
1237
|
if (context) {
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1238
|
+
UIGraphicsPushContext(context);
|
|
1239
|
+
[image drawInRect:CGRectMake(0, 0, size.width, size.height)];
|
|
1240
|
+
UIGraphicsPopContext();
|
|
1227
1241
|
CGContextRelease(context);
|
|
1228
1242
|
}
|
|
1229
1243
|
CGColorSpaceRelease(rgbColorSpace);
|
|
@@ -1692,18 +1706,16 @@ RCT_EXPORT_METHOD(getCapturedMedia:(RCTPromiseResolveBlock)resolve
|
|
|
1692
1706
|
AVURLAsset *asset = [[AVURLAsset alloc] initWithURL:vidUrl options:nil];
|
|
1693
1707
|
AVAssetImageGenerator *gen = [[AVAssetImageGenerator alloc] initWithAsset:asset];
|
|
1694
1708
|
gen.appliesPreferredTrackTransform = YES;
|
|
1695
|
-
gen.
|
|
1696
|
-
|
|
1709
|
+
gen.requestedTimeToleranceBefore = kCMTimePositiveInfinity;
|
|
1710
|
+
gen.requestedTimeToleranceAfter = kCMTimePositiveInfinity;
|
|
1711
|
+
gen.maximumSize = CGSizeMake(720, 720);
|
|
1712
|
+
CMTime time = kCMTimeZero;
|
|
1697
1713
|
NSError *err = nil;
|
|
1698
1714
|
CGImageRef imgRef = [gen copyCGImageAtTime:time actualTime:NULL error:&err];
|
|
1699
|
-
if (!imgRef) {
|
|
1700
|
-
time = kCMTimeZero;
|
|
1701
|
-
imgRef = [gen copyCGImageAtTime:time actualTime:NULL error:&err];
|
|
1702
|
-
}
|
|
1703
1715
|
if (imgRef) {
|
|
1704
1716
|
UIImage *thumbImg = [UIImage imageWithCGImage:imgRef];
|
|
1705
1717
|
CGImageRelease(imgRef);
|
|
1706
|
-
NSData *tData = UIImageJPEGRepresentation(thumbImg, 0.
|
|
1718
|
+
NSData *tData = UIImageJPEGRepresentation(thumbImg, 0.85);
|
|
1707
1719
|
if (tData) {
|
|
1708
1720
|
[tData writeToFile:thumbFullPath atomically:YES];
|
|
1709
1721
|
item[@"thumbnailUri"] = [NSURL fileURLWithPath:thumbFullPath].absoluteString;
|
|
@@ -1758,6 +1770,41 @@ RCT_EXPORT_METHOD(deleteCapturedMedia:(NSString *)uri
|
|
|
1758
1770
|
});
|
|
1759
1771
|
}
|
|
1760
1772
|
|
|
1773
|
+
RCT_EXPORT_METHOD(copyMediaToClipboard:(NSString *)filePath
|
|
1774
|
+
resolve:(RCTPromiseResolveBlock)resolve
|
|
1775
|
+
reject:(RCTPromiseRejectBlock)reject) {
|
|
1776
|
+
if (!filePath || filePath.length == 0) {
|
|
1777
|
+
resolve(@{@"success": @(NO), @"error": @"File path is empty"});
|
|
1778
|
+
return;
|
|
1779
|
+
}
|
|
1780
|
+
dispatch_async(dispatch_get_main_queue(), ^{
|
|
1781
|
+
@try {
|
|
1782
|
+
NSString *cleanPath = filePath;
|
|
1783
|
+
if ([cleanPath hasPrefix:@"file://"]) {
|
|
1784
|
+
cleanPath = [cleanPath substringFromIndex:7];
|
|
1785
|
+
}
|
|
1786
|
+
cleanPath = [cleanPath stringByRemovingPercentEncoding];
|
|
1787
|
+
|
|
1788
|
+
UIImage *img = [UIImage imageWithContentsOfFile:cleanPath];
|
|
1789
|
+
if (img) {
|
|
1790
|
+
[UIPasteboard generalPasteboard].image = img;
|
|
1791
|
+
resolve(@{@"success": @(YES), @"type": @"image"});
|
|
1792
|
+
} else {
|
|
1793
|
+
NSURL *fileURL = [NSURL fileURLWithPath:cleanPath];
|
|
1794
|
+
if (fileURL) {
|
|
1795
|
+
[UIPasteboard generalPasteboard].URL = fileURL;
|
|
1796
|
+
resolve(@{@"success": @(YES), @"type": @"url"});
|
|
1797
|
+
} else {
|
|
1798
|
+
[UIPasteboard generalPasteboard].string = filePath;
|
|
1799
|
+
resolve(@{@"success": @(YES), @"type": @"string"});
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
} @catch (NSException *ex) {
|
|
1803
|
+
resolve(@{@"success": @(NO), @"error": ex.reason ?: @"Copy failed"});
|
|
1804
|
+
}
|
|
1805
|
+
});
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1761
1808
|
RCT_EXPORT_METHOD(clearAllCapturedMedia:(RCTPromiseResolveBlock)resolve
|
|
1762
1809
|
reject:(RCTPromiseRejectBlock)reject) {
|
|
1763
1810
|
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
|
|
@@ -1774,6 +1821,7 @@ RCT_EXPORT_METHOD(clearAllCapturedMedia:(RCTPromiseResolveBlock)resolve
|
|
|
1774
1821
|
});
|
|
1775
1822
|
}
|
|
1776
1823
|
|
|
1824
|
+
|
|
1777
1825
|
#ifdef RCT_NEW_ARCH_ENABLED
|
|
1778
1826
|
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
|
|
1779
1827
|
(const facebook::react::ObjCTurboModule::InitParams &)params
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-inapp-inspector",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.21",
|
|
4
4
|
"description": "The zero-config, all-in-one in-app debugger for React Native & Expo. Inspect Network (fetch/axios), Console logs, Stack Traces, Redux State, Firebase Analytics, and JS Bundle size directly on device.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
"files": [
|
|
99
99
|
"dist",
|
|
100
|
-
"src",
|
|
100
|
+
"src/native",
|
|
101
101
|
"bin",
|
|
102
102
|
"metro.js",
|
|
103
103
|
"metro.d.ts",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"scripts": {
|
|
118
118
|
"clean": "rm -rf dist",
|
|
119
119
|
"prebuild": "node scripts/gen-version.js && node scripts/gen-telemetry.js",
|
|
120
|
-
"build": "tsc && tsc -p tsconfig.esm.json",
|
|
120
|
+
"build": "tsc && tsc -p tsconfig.esm.json && node scripts/minify-dist.js",
|
|
121
121
|
"clean-build": "npm run clean && npm run build",
|
|
122
122
|
"prepare": "npm run build",
|
|
123
123
|
"watch": "tsc -w",
|
|
@@ -186,12 +186,14 @@
|
|
|
186
186
|
"@types/react": "19.1.0",
|
|
187
187
|
"@types/react-native": "0.72.0",
|
|
188
188
|
"axios": "1.7.2",
|
|
189
|
+
"esbuild": "^0.28.2",
|
|
189
190
|
"prettier": "2.8.8",
|
|
190
191
|
"react": "19.1.0",
|
|
191
192
|
"react-native": "0.81.4",
|
|
192
193
|
"react-native-bundle-visualizer": "4.0.0",
|
|
193
194
|
"react-native-linear-gradient": "2.8.3",
|
|
194
195
|
"react-native-svg": "15.14.0",
|
|
196
|
+
"terser": "^5.51.2",
|
|
195
197
|
"typescript": "5.8.3"
|
|
196
198
|
},
|
|
197
199
|
"dependencies": {
|
|
@@ -642,3 +642,21 @@ export const clearAllCapturedMediaFiles = async (): Promise<boolean> => {
|
|
|
642
642
|
return false;
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Copies a media file (image/video) to the system clipboard as media data if supported.
|
|
648
|
+
*/
|
|
649
|
+
export const copyMediaToClipboard = async (filePath: string): Promise<boolean> => {
|
|
650
|
+
if (!filePath) return false;
|
|
651
|
+
if (!NativeModule || !NativeModule.copyMediaToClipboard) {
|
|
652
|
+
return false;
|
|
653
|
+
}
|
|
654
|
+
try {
|
|
655
|
+
const result = await NativeModule.copyMediaToClipboard(filePath);
|
|
656
|
+
return Boolean(result?.success);
|
|
657
|
+
} catch {
|
|
658
|
+
return false;
|
|
659
|
+
}
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
|