react-native-inapp-inspector 1.1.18 → 1.1.19
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/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/package.json +2 -4
- package/assets/banner_dark.svg +0 -186
- package/assets/banner_light.svg +0 -186
- package/assets/icon_circle.svg +0 -148
- package/assets/icon_square.svg +0 -148
- package/assets/social_preview.png +0 -0
- package/assets/walkthrough.gif +0 -0
- package/dist/commonjs/assets/svgAssets.d.ts +0 -3
- package/dist/commonjs/assets/svgAssets.js +0 -17
- package/dist/commonjs/components/AnalyticsTabView.d.ts +0 -15
- package/dist/commonjs/components/AnalyticsTabView.js +0 -157
- package/dist/commonjs/components/ApiDetailView.d.ts +0 -22
- package/dist/commonjs/components/ApiDetailView.js +0 -304
- package/dist/commonjs/components/ApisTabView.d.ts +0 -33
- package/dist/commonjs/components/ApisTabView.js +0 -235
- package/dist/commonjs/components/ConsoleLogDetailView.d.ts +0 -9
- package/dist/commonjs/components/ConsoleLogDetailView.js +0 -278
- package/dist/commonjs/components/ConsoleLogsTabView.d.ts +0 -24
- package/dist/commonjs/components/ConsoleLogsTabView.js +0 -354
- package/dist/commonjs/components/FloatingBubble.d.ts +0 -14
- package/dist/commonjs/components/FloatingBubble.js +0 -75
- package/dist/commonjs/components/Inspector/InsightsDashboard.d.ts +0 -3
- package/dist/commonjs/components/Inspector/InsightsDashboard.js +0 -619
- package/dist/commonjs/components/Inspector/WebViewTab.d.ts +0 -3
- package/dist/commonjs/components/Inspector/WebViewTab.js +0 -757
- package/dist/commonjs/components/InspectorHeader.d.ts +0 -19
- package/dist/commonjs/components/InspectorHeader.js +0 -329
- package/dist/commonjs/components/InspectorTabBar.d.ts +0 -16
- package/dist/commonjs/components/InspectorTabBar.js +0 -90
- package/dist/commonjs/components/NavigationTracker.d.ts +0 -7
- package/dist/commonjs/components/NavigationTracker.js +0 -76
- package/dist/commonjs/components/ReduxTabView.d.ts +0 -9
- package/dist/commonjs/components/ReduxTabView.js +0 -56
- package/dist/commonjs/components/ReduxTreeView.d.ts +0 -16
- package/dist/commonjs/components/ReduxTreeView.js +0 -1257
- package/dist/commonjs/components/SettingsView.d.ts +0 -13
- package/dist/commonjs/components/SettingsView.js +0 -328
- package/dist/commonjs/customHooks/webViewLogger.d.ts +0 -24
- package/dist/commonjs/customHooks/webViewLogger.js +0 -452
- package/dist/commonjs/enums/index.d.ts +0 -39
- package/dist/commonjs/enums/index.js +0 -50
- package/dist/commonjs/i18n/en.json +0 -144
- package/dist/esm/assets/svgAssets.d.ts +0 -3
- package/dist/esm/assets/svgAssets.js +0 -14
- package/dist/esm/components/AnalyticsTabView.d.ts +0 -15
- package/dist/esm/components/AnalyticsTabView.js +0 -151
- package/dist/esm/components/ApiDetailView.d.ts +0 -22
- package/dist/esm/components/ApiDetailView.js +0 -264
- package/dist/esm/components/ApisTabView.d.ts +0 -33
- package/dist/esm/components/ApisTabView.js +0 -196
- package/dist/esm/components/ConsoleLogDetailView.d.ts +0 -9
- package/dist/esm/components/ConsoleLogDetailView.js +0 -271
- package/dist/esm/components/ConsoleLogsTabView.d.ts +0 -24
- package/dist/esm/components/ConsoleLogsTabView.js +0 -348
- package/dist/esm/components/FloatingBubble.d.ts +0 -14
- package/dist/esm/components/FloatingBubble.js +0 -68
- package/dist/esm/components/Inspector/InsightsDashboard.d.ts +0 -3
- package/dist/esm/components/Inspector/InsightsDashboard.js +0 -614
- package/dist/esm/components/Inspector/WebViewTab.d.ts +0 -3
- package/dist/esm/components/Inspector/WebViewTab.js +0 -752
- package/dist/esm/components/InspectorHeader.d.ts +0 -19
- package/dist/esm/components/InspectorHeader.js +0 -323
- package/dist/esm/components/InspectorTabBar.d.ts +0 -16
- package/dist/esm/components/InspectorTabBar.js +0 -84
- package/dist/esm/components/NavigationTracker.d.ts +0 -7
- package/dist/esm/components/NavigationTracker.js +0 -39
- package/dist/esm/components/ReduxTabView.d.ts +0 -9
- package/dist/esm/components/ReduxTabView.js +0 -50
- package/dist/esm/components/ReduxTreeView.d.ts +0 -16
- package/dist/esm/components/ReduxTreeView.js +0 -1218
- package/dist/esm/components/SettingsView.d.ts +0 -13
- package/dist/esm/components/SettingsView.js +0 -321
- package/dist/esm/customHooks/webViewLogger.d.ts +0 -24
- package/dist/esm/customHooks/webViewLogger.js +0 -405
- package/dist/esm/enums/index.d.ts +0 -39
- package/dist/esm/enums/index.js +0 -47
- package/dist/esm/i18n/en.json +0 -144
- package/example/.bundle/config +0 -2
- package/example/.eslintrc.js +0 -4
- package/example/.prettierrc.js +0 -5
- package/example/.watchmanconfig +0 -1
- package/example/App.tsx +0 -879
- package/example/Gemfile +0 -17
- package/example/README.md +0 -53
- package/example/__tests__/App.test.tsx +0 -13
- package/example/android/app/build.gradle +0 -147
- package/example/android/app/debug.keystore +0 -0
- package/example/android/app/proguard-rules.pro +0 -10
- package/example/android/app/src/main/AndroidManifest.xml +0 -27
- package/example/android/app/src/main/java/com/example/MainActivity.kt +0 -22
- package/example/android/app/src/main/java/com/example/MainApplication.kt +0 -52
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/values/strings.xml +0 -3
- package/example/android/app/src/main/res/values/styles.xml +0 -9
- package/example/android/build.gradle +0 -48
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/example/android/gradle.properties +0 -45
- package/example/android/gradlew +0 -248
- package/example/android/gradlew.bat +0 -98
- package/example/android/settings.gradle +0 -25
- package/example/app.json +0 -4
- package/example/assets/app_icon.png +0 -0
- package/example/babel.config.js +0 -3
- package/example/guidance/Video-WalkThrough.mp4 +0 -0
- package/example/index.js +0 -9
- package/example/ios/.xcode.env +0 -11
- package/example/ios/Podfile +0 -34
- package/example/ios/Podfile.lock +0 -2303
- package/example/ios/example/AppDelegate.swift +0 -48
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +0 -62
- package/example/ios/example/Images.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
- package/example/ios/example/Images.xcassets/Contents.json +0 -6
- package/example/ios/example/Info.plist +0 -60
- package/example/ios/example/LaunchScreen.storyboard +0 -47
- package/example/ios/example/PrivacyInfo.xcprivacy +0 -37
- package/example/ios/example.xcodeproj/project.pbxproj +0 -498
- package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +0 -88
- package/example/ios/example.xcworkspace/contents.xcworkspacedata +0 -10
- package/example/jest.config.js +0 -3
- package/example/metro.config.js +0 -45
- package/example/package-lock.json +0 -13508
- package/example/package.json +0 -54
- package/example/polyfill.js +0 -13
- package/example/tsconfig.json +0 -8
- package/fonts/Inter/Inter.ttc +0 -0
- package/fonts/Inter/InterVariable-Italic.ttf +0 -0
- package/fonts/Inter/InterVariable.ttf +0 -0
- package/fonts/Inter/LICENSE.txt +0 -92
- package/fonts/Inter/extras/otf/Inter-Black.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-BlackItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Bold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-BoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraBold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraLight.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ExtraLightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Italic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Light.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-LightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Medium.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-MediumItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Regular.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-SemiBold.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-SemiBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-Thin.otf +0 -0
- package/fonts/Inter/extras/otf/Inter-ThinItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Black.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-BlackItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Bold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-BoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraBold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraLight.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ExtraLightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Italic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Light.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-LightItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Medium.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-MediumItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Regular.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-SemiBold.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-SemiBoldItalic.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-Thin.otf +0 -0
- package/fonts/Inter/extras/otf/InterDisplay-ThinItalic.otf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Black.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-BlackItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Bold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-BoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraLight.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Italic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Light.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-LightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Medium.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-MediumItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Regular.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-SemiBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-Thin.ttf +0 -0
- package/fonts/Inter/extras/ttf/Inter-ThinItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Black.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-BlackItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Bold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-BoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraLight.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ExtraLightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Italic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Light.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-LightItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Medium.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-MediumItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Regular.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-SemiBold.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-SemiBoldItalic.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-Thin.ttf +0 -0
- package/fonts/Inter/extras/ttf/InterDisplay-ThinItalic.ttf +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Black.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-BlackItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Bold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-BoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraLight.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Italic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Light.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-LightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Medium.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-MediumItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Regular.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-SemiBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-Thin.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/Inter-ThinItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Black.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-BlackItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Bold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-BoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLight.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Italic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Light.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-LightItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Medium.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-MediumItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Regular.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBold.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-Thin.woff2 +0 -0
- package/fonts/Inter/extras/woff-hinted/InterDisplay-ThinItalic.woff2 +0 -0
- package/fonts/Inter/help.txt +0 -165
- package/fonts/Inter/web/Inter-Black.woff2 +0 -0
- package/fonts/Inter/web/Inter-BlackItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Bold.woff2 +0 -0
- package/fonts/Inter/web/Inter-BoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraBold.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraLight.woff2 +0 -0
- package/fonts/Inter/web/Inter-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Italic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Light.woff2 +0 -0
- package/fonts/Inter/web/Inter-LightItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Medium.woff2 +0 -0
- package/fonts/Inter/web/Inter-MediumItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Regular.woff2 +0 -0
- package/fonts/Inter/web/Inter-SemiBold.woff2 +0 -0
- package/fonts/Inter/web/Inter-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/Inter-Thin.woff2 +0 -0
- package/fonts/Inter/web/Inter-ThinItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Black.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-BlackItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Bold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-BoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraBold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraLight.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ExtraLightItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Italic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Light.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-LightItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Medium.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-MediumItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Regular.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-SemiBold.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-SemiBoldItalic.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-Thin.woff2 +0 -0
- package/fonts/Inter/web/InterDisplay-ThinItalic.woff2 +0 -0
- package/fonts/Inter/web/InterVariable-Italic.woff2 +0 -0
- package/fonts/Inter/web/InterVariable.woff2 +0 -0
- package/fonts/Inter/web/inter.css +0 -148
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
import React, { forwardRef, useState } from 'react';
|
|
2
|
-
import { View, ActivityIndicator, StyleSheet } from 'react-native';
|
|
3
|
-
let OriginalWebView = null;
|
|
4
|
-
try {
|
|
5
|
-
const RNWebView = require('react-native-webview');
|
|
6
|
-
OriginalWebView = RNWebView.WebView || RNWebView.default;
|
|
7
|
-
}
|
|
8
|
-
catch (e) {
|
|
9
|
-
// Silent fail
|
|
10
|
-
}
|
|
11
|
-
const injectJS = `
|
|
12
|
-
(function() {
|
|
13
|
-
if (!window.__webview_console_overridden__) {
|
|
14
|
-
window.__webview_console_overridden__ = true;
|
|
15
|
-
var originalLog = console.log;
|
|
16
|
-
var originalWarn = console.warn;
|
|
17
|
-
var originalError = console.error;
|
|
18
|
-
var originalInfo = console.info;
|
|
19
|
-
|
|
20
|
-
var sendToRN = function(type, args) {
|
|
21
|
-
if (window.ReactNativeWebView && window.ReactNativeWebView.postMessage) {
|
|
22
|
-
var messageStr = '';
|
|
23
|
-
try {
|
|
24
|
-
var argsList = [];
|
|
25
|
-
for (var i = 0; i < args.length; i++) {
|
|
26
|
-
var arg = args[i];
|
|
27
|
-
if (typeof arg === 'object') {
|
|
28
|
-
try {
|
|
29
|
-
argsList.push(JSON.stringify(arg));
|
|
30
|
-
} catch (e) {
|
|
31
|
-
argsList.push(String(arg));
|
|
32
|
-
}
|
|
33
|
-
} else {
|
|
34
|
-
argsList.push(String(arg));
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
messageStr = argsList.join(' ');
|
|
38
|
-
} catch (err) {
|
|
39
|
-
messageStr = String(args);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
try {
|
|
43
|
-
window.ReactNativeWebView.postMessage(JSON.stringify({
|
|
44
|
-
type: 'webview-log',
|
|
45
|
-
logType: type,
|
|
46
|
-
message: messageStr
|
|
47
|
-
}));
|
|
48
|
-
} catch (postErr) {}
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
console.log = function() {
|
|
53
|
-
if (originalLog) {
|
|
54
|
-
originalLog.apply(console, arguments);
|
|
55
|
-
}
|
|
56
|
-
sendToRN('log', arguments);
|
|
57
|
-
};
|
|
58
|
-
console.warn = function() {
|
|
59
|
-
if (originalWarn) {
|
|
60
|
-
originalWarn.apply(console, arguments);
|
|
61
|
-
}
|
|
62
|
-
sendToRN('warn', arguments);
|
|
63
|
-
};
|
|
64
|
-
console.error = function() {
|
|
65
|
-
if (originalError) {
|
|
66
|
-
originalError.apply(console, arguments);
|
|
67
|
-
}
|
|
68
|
-
sendToRN('error', arguments);
|
|
69
|
-
};
|
|
70
|
-
console.info = function() {
|
|
71
|
-
if (originalInfo) {
|
|
72
|
-
originalInfo.apply(console, arguments);
|
|
73
|
-
}
|
|
74
|
-
sendToRN('info', arguments);
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
if (!window.__webview_html_capture_setup__) {
|
|
79
|
-
window.__webview_html_capture_setup__ = true;
|
|
80
|
-
|
|
81
|
-
var sendHtmlRetries = 0;
|
|
82
|
-
window.__webview_send_html__ = function() {
|
|
83
|
-
if (window.ReactNativeWebView && window.ReactNativeWebView.postMessage) {
|
|
84
|
-
try {
|
|
85
|
-
var html = '';
|
|
86
|
-
try {
|
|
87
|
-
if (document && document.documentElement) {
|
|
88
|
-
html = document.documentElement.outerHTML || '';
|
|
89
|
-
}
|
|
90
|
-
} catch (e) {}
|
|
91
|
-
|
|
92
|
-
// Get CSS
|
|
93
|
-
var css = '';
|
|
94
|
-
try {
|
|
95
|
-
var sheets = document.styleSheets;
|
|
96
|
-
if (sheets) {
|
|
97
|
-
for (var i = 0; i < sheets.length; i++) {
|
|
98
|
-
var sheet = sheets[i];
|
|
99
|
-
try {
|
|
100
|
-
var rules = sheet.cssRules || sheet.rules;
|
|
101
|
-
if (rules) {
|
|
102
|
-
for (var j = 0; j < rules.length; j++) {
|
|
103
|
-
css += rules[j].cssText + String.fromCharCode(10);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
} catch (e) {
|
|
107
|
-
if (sheet.href) {
|
|
108
|
-
css += '/* External stylesheet: ' + sheet.href + ' */' + String.fromCharCode(10);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
} catch (e) {}
|
|
114
|
-
|
|
115
|
-
try {
|
|
116
|
-
var styles = document.querySelectorAll('style');
|
|
117
|
-
if (styles) {
|
|
118
|
-
for (var i = 0; i < styles.length; i++) {
|
|
119
|
-
var style = styles[i];
|
|
120
|
-
if (style && style.textContent) {
|
|
121
|
-
if (css.indexOf(style.textContent) === -1) {
|
|
122
|
-
css += style.textContent + String.fromCharCode(10);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
} catch (e) {}
|
|
128
|
-
|
|
129
|
-
// Get JS
|
|
130
|
-
var js = '';
|
|
131
|
-
try {
|
|
132
|
-
var scripts = document.querySelectorAll('script');
|
|
133
|
-
if (scripts) {
|
|
134
|
-
for (var i = 0; i < scripts.length; i++) {
|
|
135
|
-
var script = scripts[i];
|
|
136
|
-
if (script) {
|
|
137
|
-
if (script.src) {
|
|
138
|
-
js += '// External Script: ' + script.src + String.fromCharCode(10);
|
|
139
|
-
} else if (script.textContent) {
|
|
140
|
-
js += script.textContent + String.fromCharCode(10);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
} catch (e) {}
|
|
146
|
-
|
|
147
|
-
try {
|
|
148
|
-
window.ReactNativeWebView.postMessage(JSON.stringify({
|
|
149
|
-
type: 'webview-html',
|
|
150
|
-
html: html,
|
|
151
|
-
css: css,
|
|
152
|
-
js: js,
|
|
153
|
-
url: window.location.href
|
|
154
|
-
}));
|
|
155
|
-
} catch (postError) {
|
|
156
|
-
try {
|
|
157
|
-
window.ReactNativeWebView.postMessage(JSON.stringify({
|
|
158
|
-
type: 'webview-html',
|
|
159
|
-
html: html,
|
|
160
|
-
css: '/* CSS truncated due to size limit */',
|
|
161
|
-
js: '/* JS truncated due to size limit */',
|
|
162
|
-
url: window.location.href
|
|
163
|
-
}));
|
|
164
|
-
} catch (htmlOnlyError) {
|
|
165
|
-
window.ReactNativeWebView.postMessage(JSON.stringify({
|
|
166
|
-
type: 'webview-html',
|
|
167
|
-
html: '<h1>Page source too large to capture</h1>',
|
|
168
|
-
url: window.location.href
|
|
169
|
-
}));
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
} catch (err) {}
|
|
173
|
-
} else if (sendHtmlRetries < 50) {
|
|
174
|
-
sendHtmlRetries++;
|
|
175
|
-
setTimeout(window.__webview_send_html__, 100);
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
var debounceTimeout = null;
|
|
180
|
-
window.__webview_debounced_send_html__ = function() {
|
|
181
|
-
if (debounceTimeout) {
|
|
182
|
-
clearTimeout(debounceTimeout);
|
|
183
|
-
}
|
|
184
|
-
debounceTimeout = setTimeout(window.__webview_send_html__, 500);
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
// Setup MutationObserver for SPAs
|
|
188
|
-
try {
|
|
189
|
-
var observer = new MutationObserver(function() {
|
|
190
|
-
window.__webview_debounced_send_html__();
|
|
191
|
-
});
|
|
192
|
-
observer.observe(document.documentElement, {
|
|
193
|
-
attributes: true,
|
|
194
|
-
childList: true,
|
|
195
|
-
subtree: true
|
|
196
|
-
});
|
|
197
|
-
} catch (e) {}
|
|
198
|
-
|
|
199
|
-
// Setup SPA router state changes
|
|
200
|
-
try {
|
|
201
|
-
var originalPushState = history.pushState;
|
|
202
|
-
history.pushState = function() {
|
|
203
|
-
originalPushState.apply(this, arguments);
|
|
204
|
-
window.__webview_debounced_send_html__();
|
|
205
|
-
};
|
|
206
|
-
var originalReplaceState = history.replaceState;
|
|
207
|
-
history.replaceState = function() {
|
|
208
|
-
originalReplaceState.apply(this, arguments);
|
|
209
|
-
window.__webview_debounced_send_html__();
|
|
210
|
-
};
|
|
211
|
-
window.addEventListener('popstate', window.__webview_debounced_send_html__);
|
|
212
|
-
window.addEventListener('hashchange', window.__webview_debounced_send_html__);
|
|
213
|
-
} catch (e) {}
|
|
214
|
-
|
|
215
|
-
window.addEventListener('DOMContentLoaded', window.__webview_send_html__);
|
|
216
|
-
window.addEventListener('load', window.__webview_send_html__);
|
|
217
|
-
if (document.readyState === 'interactive' || document.readyState === 'complete') {
|
|
218
|
-
window.__webview_send_html__();
|
|
219
|
-
}
|
|
220
|
-
} else {
|
|
221
|
-
if (window.__webview_send_html__) {
|
|
222
|
-
window.__webview_send_html__();
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
})();
|
|
226
|
-
true;
|
|
227
|
-
`;
|
|
228
|
-
export const WebView = forwardRef((props, ref) => {
|
|
229
|
-
if (!OriginalWebView) {
|
|
230
|
-
console.warn('[NetworkInspector] react-native-webview not found. Make sure it is installed.');
|
|
231
|
-
return null;
|
|
232
|
-
}
|
|
233
|
-
const [loading, setLoading] = useState(false);
|
|
234
|
-
const handleMessage = (event) => {
|
|
235
|
-
try {
|
|
236
|
-
const data = JSON.parse(event.nativeEvent.data);
|
|
237
|
-
if (data.type === 'webview-log') {
|
|
238
|
-
addWebViewLog(data.logType, data.message);
|
|
239
|
-
}
|
|
240
|
-
else if (data.type === 'webview-html') {
|
|
241
|
-
addWebViewHtml(data.url, data.html, data.css, data.js);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
catch (e) { }
|
|
245
|
-
if (props.onMessage) {
|
|
246
|
-
props.onMessage(event);
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
const handleNavigationStateChange = (navState) => {
|
|
250
|
-
addWebViewNav(navState.url, navState.title);
|
|
251
|
-
if (props.onNavigationStateChange) {
|
|
252
|
-
props.onNavigationStateChange(navState);
|
|
253
|
-
}
|
|
254
|
-
};
|
|
255
|
-
const handleLoadStart = (syntheticEvent) => {
|
|
256
|
-
setLoading(true);
|
|
257
|
-
if (props.onLoadStart) {
|
|
258
|
-
props.onLoadStart(syntheticEvent);
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
const handleLoadEnd = (syntheticEvent) => {
|
|
262
|
-
setLoading(false);
|
|
263
|
-
if (props.onLoadEnd) {
|
|
264
|
-
props.onLoadEnd(syntheticEvent);
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
// Register initial URL
|
|
268
|
-
React.useEffect(() => {
|
|
269
|
-
if (props.source && props.source.uri) {
|
|
270
|
-
addWebViewNav(props.source.uri, 'Initial Page');
|
|
271
|
-
}
|
|
272
|
-
}, [props.source?.uri]);
|
|
273
|
-
const combinedInjectedJSBefore = props.injectedJavaScriptBeforeContentLoaded
|
|
274
|
-
? `${injectJS}\n${props.injectedJavaScriptBeforeContentLoaded}`
|
|
275
|
-
: injectJS;
|
|
276
|
-
const combinedInjectedJS = props.injectedJavaScript
|
|
277
|
-
? `${injectJS}\n${props.injectedJavaScript}`
|
|
278
|
-
: injectJS;
|
|
279
|
-
const showLoader = props.showLoader !== false;
|
|
280
|
-
return React.createElement(View, { style: props.style || { flex: 1 } }, React.createElement(OriginalWebView, {
|
|
281
|
-
...props,
|
|
282
|
-
style: { flex: 1 },
|
|
283
|
-
ref: ref,
|
|
284
|
-
injectedJavaScriptBeforeContentLoaded: combinedInjectedJSBefore,
|
|
285
|
-
injectedJavaScript: combinedInjectedJS,
|
|
286
|
-
onMessage: handleMessage,
|
|
287
|
-
onNavigationStateChange: handleNavigationStateChange,
|
|
288
|
-
onLoadStart: handleLoadStart,
|
|
289
|
-
onLoadEnd: handleLoadEnd,
|
|
290
|
-
}), loading &&
|
|
291
|
-
showLoader &&
|
|
292
|
-
React.createElement(View, {
|
|
293
|
-
style: {
|
|
294
|
-
...StyleSheet.absoluteFill,
|
|
295
|
-
justifyContent: 'center',
|
|
296
|
-
alignItems: 'center',
|
|
297
|
-
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
298
|
-
},
|
|
299
|
-
}, React.createElement(ActivityIndicator, {
|
|
300
|
-
size: 'large',
|
|
301
|
-
color: '#684B9B',
|
|
302
|
-
})));
|
|
303
|
-
});
|
|
304
|
-
// Perform monkey-patching to intercept react-native-webview exports globally
|
|
305
|
-
try {
|
|
306
|
-
const RNWebView = require('react-native-webview');
|
|
307
|
-
if (RNWebView) {
|
|
308
|
-
const defineProp = (obj, prop, value) => {
|
|
309
|
-
try {
|
|
310
|
-
Object.defineProperty(obj, prop, {
|
|
311
|
-
value: value,
|
|
312
|
-
configurable: true,
|
|
313
|
-
writable: true,
|
|
314
|
-
enumerable: true,
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
|
-
catch (e) {
|
|
318
|
-
try {
|
|
319
|
-
obj[prop] = value;
|
|
320
|
-
}
|
|
321
|
-
catch (err) { }
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
if (RNWebView.WebView) {
|
|
325
|
-
defineProp(RNWebView, 'WebView', WebView);
|
|
326
|
-
}
|
|
327
|
-
if (RNWebView.default) {
|
|
328
|
-
if (RNWebView.default.WebView) {
|
|
329
|
-
defineProp(RNWebView.default, 'WebView', WebView);
|
|
330
|
-
}
|
|
331
|
-
defineProp(RNWebView, 'default', WebView);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
catch (e) {
|
|
336
|
-
// Silent fail
|
|
337
|
-
}
|
|
338
|
-
let logs = [];
|
|
339
|
-
let navHistory = [];
|
|
340
|
-
let currentHtml = '';
|
|
341
|
-
let currentCss = '';
|
|
342
|
-
let currentJs = '';
|
|
343
|
-
let currentHtmlUrl = '';
|
|
344
|
-
let listeners = [];
|
|
345
|
-
let counter = 0;
|
|
346
|
-
const notify = () => {
|
|
347
|
-
const snapshotLogs = [...logs];
|
|
348
|
-
const snapshotHistory = [...navHistory];
|
|
349
|
-
listeners.forEach(cb => cb());
|
|
350
|
-
};
|
|
351
|
-
export const addWebViewLog = (type, message) => {
|
|
352
|
-
logs.unshift({
|
|
353
|
-
id: counter++,
|
|
354
|
-
type,
|
|
355
|
-
message,
|
|
356
|
-
timestamp: Date.now(),
|
|
357
|
-
});
|
|
358
|
-
logs = logs.slice(0, 100);
|
|
359
|
-
notify();
|
|
360
|
-
};
|
|
361
|
-
export const addWebViewNav = (url, title) => {
|
|
362
|
-
// Prevent duplicate consecutive navigation events for the same URL
|
|
363
|
-
if (navHistory.length > 0 && navHistory[0].url === url) {
|
|
364
|
-
if (title && !navHistory[0].title) {
|
|
365
|
-
navHistory[0].title = title;
|
|
366
|
-
notify();
|
|
367
|
-
}
|
|
368
|
-
return;
|
|
369
|
-
}
|
|
370
|
-
navHistory.unshift({
|
|
371
|
-
url,
|
|
372
|
-
title,
|
|
373
|
-
timestamp: Date.now(),
|
|
374
|
-
});
|
|
375
|
-
navHistory = navHistory.slice(0, 5);
|
|
376
|
-
notify();
|
|
377
|
-
};
|
|
378
|
-
export const addWebViewHtml = (url, html, css, js) => {
|
|
379
|
-
currentHtml = html;
|
|
380
|
-
currentCss = css || '';
|
|
381
|
-
currentJs = js || '';
|
|
382
|
-
currentHtmlUrl = url;
|
|
383
|
-
notify();
|
|
384
|
-
};
|
|
385
|
-
export const getWebViewLogs = () => [...logs];
|
|
386
|
-
export const getWebViewNavHistory = () => [...navHistory];
|
|
387
|
-
export const getWebViewHtml = () => currentHtml;
|
|
388
|
-
export const getWebViewCss = () => currentCss;
|
|
389
|
-
export const getWebViewJs = () => currentJs;
|
|
390
|
-
export const getWebViewHtmlUrl = () => currentHtmlUrl;
|
|
391
|
-
export const clearWebViewData = () => {
|
|
392
|
-
logs = [];
|
|
393
|
-
navHistory = [];
|
|
394
|
-
currentHtml = '';
|
|
395
|
-
currentCss = '';
|
|
396
|
-
currentJs = '';
|
|
397
|
-
currentHtmlUrl = '';
|
|
398
|
-
notify();
|
|
399
|
-
};
|
|
400
|
-
export const subscribeWebView = (cb) => {
|
|
401
|
-
listeners.push(cb);
|
|
402
|
-
return () => {
|
|
403
|
-
listeners = listeners.filter(l => l !== cb);
|
|
404
|
-
};
|
|
405
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare enum InspectorTab {
|
|
2
|
-
APIs = "apis",
|
|
3
|
-
Logs = "logs",
|
|
4
|
-
Analytics = "analytics",
|
|
5
|
-
Redux = "redux"
|
|
6
|
-
}
|
|
7
|
-
export declare enum ApiDetailTab {
|
|
8
|
-
Response = "response",
|
|
9
|
-
Request = "request",
|
|
10
|
-
Headers = "headers",
|
|
11
|
-
Metadata = "metadata"
|
|
12
|
-
}
|
|
13
|
-
export declare enum JsonViewerMode {
|
|
14
|
-
Pretty = "pretty",
|
|
15
|
-
Raw = "raw",
|
|
16
|
-
Table = "table"
|
|
17
|
-
}
|
|
18
|
-
export declare enum ReduxSubTab {
|
|
19
|
-
State = "state",
|
|
20
|
-
Timeline = "timeline"
|
|
21
|
-
}
|
|
22
|
-
export declare enum ReduxActionSubTab {
|
|
23
|
-
Payload = "payload",
|
|
24
|
-
Diff = "diff",
|
|
25
|
-
State = "state"
|
|
26
|
-
}
|
|
27
|
-
export declare enum ConsoleLogLevel {
|
|
28
|
-
Info = "info",
|
|
29
|
-
Warn = "warn",
|
|
30
|
-
Error = "error"
|
|
31
|
-
}
|
|
32
|
-
export declare enum SortOrderEnum {
|
|
33
|
-
Newest = "newest",
|
|
34
|
-
Oldest = "oldest"
|
|
35
|
-
}
|
|
36
|
-
export declare enum AnalyticsSource {
|
|
37
|
-
Firebase = "firebase",
|
|
38
|
-
Manual = "manual"
|
|
39
|
-
}
|
package/dist/esm/enums/index.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export var InspectorTab;
|
|
2
|
-
(function (InspectorTab) {
|
|
3
|
-
InspectorTab["APIs"] = "apis";
|
|
4
|
-
InspectorTab["Logs"] = "logs";
|
|
5
|
-
InspectorTab["Analytics"] = "analytics";
|
|
6
|
-
InspectorTab["Redux"] = "redux";
|
|
7
|
-
})(InspectorTab || (InspectorTab = {}));
|
|
8
|
-
export var ApiDetailTab;
|
|
9
|
-
(function (ApiDetailTab) {
|
|
10
|
-
ApiDetailTab["Response"] = "response";
|
|
11
|
-
ApiDetailTab["Request"] = "request";
|
|
12
|
-
ApiDetailTab["Headers"] = "headers";
|
|
13
|
-
ApiDetailTab["Metadata"] = "metadata";
|
|
14
|
-
})(ApiDetailTab || (ApiDetailTab = {}));
|
|
15
|
-
export var JsonViewerMode;
|
|
16
|
-
(function (JsonViewerMode) {
|
|
17
|
-
JsonViewerMode["Pretty"] = "pretty";
|
|
18
|
-
JsonViewerMode["Raw"] = "raw";
|
|
19
|
-
JsonViewerMode["Table"] = "table";
|
|
20
|
-
})(JsonViewerMode || (JsonViewerMode = {}));
|
|
21
|
-
export var ReduxSubTab;
|
|
22
|
-
(function (ReduxSubTab) {
|
|
23
|
-
ReduxSubTab["State"] = "state";
|
|
24
|
-
ReduxSubTab["Timeline"] = "timeline";
|
|
25
|
-
})(ReduxSubTab || (ReduxSubTab = {}));
|
|
26
|
-
export var ReduxActionSubTab;
|
|
27
|
-
(function (ReduxActionSubTab) {
|
|
28
|
-
ReduxActionSubTab["Payload"] = "payload";
|
|
29
|
-
ReduxActionSubTab["Diff"] = "diff";
|
|
30
|
-
ReduxActionSubTab["State"] = "state";
|
|
31
|
-
})(ReduxActionSubTab || (ReduxActionSubTab = {}));
|
|
32
|
-
export var ConsoleLogLevel;
|
|
33
|
-
(function (ConsoleLogLevel) {
|
|
34
|
-
ConsoleLogLevel["Info"] = "info";
|
|
35
|
-
ConsoleLogLevel["Warn"] = "warn";
|
|
36
|
-
ConsoleLogLevel["Error"] = "error";
|
|
37
|
-
})(ConsoleLogLevel || (ConsoleLogLevel = {}));
|
|
38
|
-
export var SortOrderEnum;
|
|
39
|
-
(function (SortOrderEnum) {
|
|
40
|
-
SortOrderEnum["Newest"] = "newest";
|
|
41
|
-
SortOrderEnum["Oldest"] = "oldest";
|
|
42
|
-
})(SortOrderEnum || (SortOrderEnum = {}));
|
|
43
|
-
export var AnalyticsSource;
|
|
44
|
-
(function (AnalyticsSource) {
|
|
45
|
-
AnalyticsSource["Firebase"] = "firebase";
|
|
46
|
-
AnalyticsSource["Manual"] = "manual";
|
|
47
|
-
})(AnalyticsSource || (AnalyticsSource = {}));
|
package/dist/esm/i18n/en.json
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"header": {
|
|
3
|
-
"title": "InApp Inspector",
|
|
4
|
-
"clear_all": "Clear Everything",
|
|
5
|
-
"clear_all_confirm": "This clears all tabs — APIs, Logs, Analytics, WebView and Redux timeline. Continue?",
|
|
6
|
-
"cancel": "Cancel",
|
|
7
|
-
"clear": "Clear All",
|
|
8
|
-
"engine": "Engine: React Native"
|
|
9
|
-
},
|
|
10
|
-
"tabs": {
|
|
11
|
-
"apis": "APIs",
|
|
12
|
-
"logs": "Logs",
|
|
13
|
-
"analytics": "Analytics",
|
|
14
|
-
"redux": "Redux"
|
|
15
|
-
},
|
|
16
|
-
"search": {
|
|
17
|
-
"apis_placeholder": "Search by URL, method, or status...",
|
|
18
|
-
"logs_placeholder": "Search logs...",
|
|
19
|
-
"log_details_placeholder": "Search in log details...",
|
|
20
|
-
"analytics_placeholder": "Search events...",
|
|
21
|
-
"redux_placeholder": "Search Redux keys or values...",
|
|
22
|
-
"request_placeholder": "Search request...",
|
|
23
|
-
"response_placeholder": "Search response..."
|
|
24
|
-
},
|
|
25
|
-
"filters": {
|
|
26
|
-
"group_by_domain": "Group by Domain",
|
|
27
|
-
"all": "All",
|
|
28
|
-
"user_log": "User Log",
|
|
29
|
-
"info": "Info",
|
|
30
|
-
"warn": "Warn",
|
|
31
|
-
"error": "Error",
|
|
32
|
-
"analytics": "Analytics",
|
|
33
|
-
"showing_requests": "Showing ({{filtered}}/{{total}}) requests",
|
|
34
|
-
"showing_logs": "Showing ({{filtered}}/{{total}}) logs showing",
|
|
35
|
-
"filtering_logs": "Filtering with {{filters}} ({{filtered}}/{{total}}) logs is showing",
|
|
36
|
-
"showing_analytics": "Showing ({{filtered}}/{{total}}) analytics events"
|
|
37
|
-
},
|
|
38
|
-
"details": {
|
|
39
|
-
"console_log": "Console Log",
|
|
40
|
-
"caller_location": "CALLER LOCATION",
|
|
41
|
-
"log_payload": "LOG PAYLOAD",
|
|
42
|
-
"captured_at": "Captured at: ",
|
|
43
|
-
"chars": "chars",
|
|
44
|
-
"query_params": "Query Params",
|
|
45
|
-
"duration": "Duration",
|
|
46
|
-
"timestamp": "Timestamp",
|
|
47
|
-
"request_size": "Request Size",
|
|
48
|
-
"response_size": "Response Size",
|
|
49
|
-
"caller_stack": "Caller Stack",
|
|
50
|
-
"response_headers": "Response Headers",
|
|
51
|
-
"request_headers": "Request Headers",
|
|
52
|
-
"request_payload": "Request Payload",
|
|
53
|
-
"response": "Response",
|
|
54
|
-
"tab_response": "Response",
|
|
55
|
-
"tab_request": "Request",
|
|
56
|
-
"tab_headers": "Headers",
|
|
57
|
-
"tab_metadata": "Metadata",
|
|
58
|
-
"network_request": "Network Request",
|
|
59
|
-
"copy_all": "COPY ALL",
|
|
60
|
-
"general_info": "General Info",
|
|
61
|
-
"no_headers": "No Headers",
|
|
62
|
-
"no_payload": "No Payload",
|
|
63
|
-
"no_response": "No Response"
|
|
64
|
-
},
|
|
65
|
-
"analytics": {
|
|
66
|
-
"title": "Analytics Events",
|
|
67
|
-
"empty": "No analytics events recorded yet.",
|
|
68
|
-
"user_context": "User Context",
|
|
69
|
-
"id": "ID",
|
|
70
|
-
"show_props": "Show Props",
|
|
71
|
-
"hide_props": "Hide Props",
|
|
72
|
-
"event_details": "Event Details",
|
|
73
|
-
"event_name": "Event Name",
|
|
74
|
-
"timestamp": "Timestamp",
|
|
75
|
-
"parameters": "Parameters",
|
|
76
|
-
"no_parameters": "No Parameters"
|
|
77
|
-
},
|
|
78
|
-
"redux": {
|
|
79
|
-
"title": "Redux Store & History",
|
|
80
|
-
"search_label": "SEARCH REDUX STATE / ACTIONS",
|
|
81
|
-
"no_actions": "NO ACTIONS DISPATCHED YET",
|
|
82
|
-
"no_store_title": "No Redux Store",
|
|
83
|
-
"no_store_sub": "To inspect Redux store, call connectReduxStore(store) at app start.",
|
|
84
|
-
"empty_store_title": "Empty Store",
|
|
85
|
-
"empty_store_sub": "Connected store state is empty.",
|
|
86
|
-
"root_reducers": "Root State Reducers",
|
|
87
|
-
"slices": "slice(s)"
|
|
88
|
-
},
|
|
89
|
-
"settings": {
|
|
90
|
-
"title": "Inspector Settings",
|
|
91
|
-
"appearance": "APPEARANCE",
|
|
92
|
-
"dark_mode": "Dark Mode Theme",
|
|
93
|
-
"dark_mode_desc": "Switch between dark and light inspector theme",
|
|
94
|
-
"module_visibility": "MODULE VISIBILITY & TABS",
|
|
95
|
-
"apis_tab": "Network APIs Tab",
|
|
96
|
-
"apis_tab_desc": "Show or hide Network APIs monitoring tab",
|
|
97
|
-
"logs_tab": "Console Logs Tab",
|
|
98
|
-
"logs_tab_desc": "Show or hide Console Logs tab",
|
|
99
|
-
"analytics_tab": "Analytics Events Tab",
|
|
100
|
-
"analytics_tab_desc": "Show or hide Analytics Events tab",
|
|
101
|
-
"redux_tab": "Redux Timeline Tab",
|
|
102
|
-
"redux_tab_desc": "Show or hide Redux store state inspector tab",
|
|
103
|
-
"default_landing_tab": "DEFAULT LANDING TAB",
|
|
104
|
-
"storage_persistence": "STORAGE & PERSISTENCE",
|
|
105
|
-
"custom_storage": "Custom Storage Adapter",
|
|
106
|
-
"custom_storage_active": "Active (AsyncStorage / Custom Storage attached)",
|
|
107
|
-
"custom_storage_memory": "In-Memory only (No persistent storage attached)",
|
|
108
|
-
"reset_settings": "Reset Persisted Settings",
|
|
109
|
-
"reset_settings_desc": "Clear saved theme, tab visibility & preferences",
|
|
110
|
-
"reset_confirm_title": "Reset Settings",
|
|
111
|
-
"reset_confirm_msg": "Are you sure you want to reset all persisted preferences to default?",
|
|
112
|
-
"reset": "Reset",
|
|
113
|
-
"reset_done": "Settings reset to default."
|
|
114
|
-
},
|
|
115
|
-
"empty": {
|
|
116
|
-
"loading": "Loading logs...",
|
|
117
|
-
"no_matching_apis": "No matching APIs",
|
|
118
|
-
"no_network_activity": "No network activity",
|
|
119
|
-
"try_adjusting_filters": "Try adjusting your filters or search.",
|
|
120
|
-
"listening_api_calls": "Listening for incoming API calls...",
|
|
121
|
-
"reload_app": "Reload App",
|
|
122
|
-
"reload": "Reload",
|
|
123
|
-
"reload_dev_only": "App reload is typically only available in development mode."
|
|
124
|
-
},
|
|
125
|
-
"error": {
|
|
126
|
-
"native_crash": "🔴 NATIVE CRASH",
|
|
127
|
-
"js_crash": "🟡 JAVASCRIPT CRASH",
|
|
128
|
-
"crash_desc": "The In-App Inspector or active view encountered an error. Traceback details are parsed below:",
|
|
129
|
-
"method": "Method:",
|
|
130
|
-
"file": "File:",
|
|
131
|
-
"line": "Line:",
|
|
132
|
-
"col": "Col:",
|
|
133
|
-
"copy_traceback": "📋 Copy Crash Traceback",
|
|
134
|
-
"retry_reload": "Retry / Reload",
|
|
135
|
-
"close_inspector": "Close Inspector"
|
|
136
|
-
},
|
|
137
|
-
"json": {
|
|
138
|
-
"pretty_print": "Pretty Print",
|
|
139
|
-
"pretty": "Pretty",
|
|
140
|
-
"raw": "Raw",
|
|
141
|
-
"table": "Table",
|
|
142
|
-
"empty_object": "Empty Object"
|
|
143
|
-
}
|
|
144
|
-
}
|
package/example/.bundle/config
DELETED
package/example/.eslintrc.js
DELETED
package/example/.prettierrc.js
DELETED
package/example/.watchmanconfig
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|