react-native-inapp-inspector 2.3.20 → 2.3.22
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 +58 -1
- package/dist/commonjs/components/AppHeaderLogo.js +2 -2
- package/dist/commonjs/components/ConsoleLogCard.js +1 -1
- package/dist/commonjs/components/HighlightText.js +13 -13
- package/dist/commonjs/components/Inspector/AboutModal.js +143 -251
- package/dist/commonjs/components/Inspector/DebuggingTab.js +19 -13
- package/dist/commonjs/components/Inspector/InspectorHeader.js +54 -80
- package/dist/commonjs/components/Inspector/MainScreen.js +13 -23
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +4 -4
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +1 -1
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +1 -1
- package/dist/commonjs/components/Inspector/TabBar.js +7 -7
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +23 -24
- package/dist/commonjs/components/LogCard.js +16 -16
- package/dist/commonjs/components/NetworkIcons.d.ts +10 -0
- package/dist/commonjs/components/NetworkIcons.js +46 -4
- package/dist/commonjs/components/QRCodeView.js +2 -2
- package/dist/commonjs/components/TreeNode.js +16 -16
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/bundleAnalyzer.js +1 -1
- package/dist/commonjs/helpers/index.d.ts +1 -0
- package/dist/commonjs/helpers/index.js +2 -2
- package/dist/commonjs/index.js +1 -1
- package/dist/commonjs/native/NativeInspector.d.ts +1 -0
- package/dist/commonjs/native/NativeInspector.js +1 -1
- package/dist/commonjs/types/interfaces.d.ts +0 -2
- package/dist/esm/components/AppHeaderLogo.js +6 -6
- package/dist/esm/components/ConsoleLogCard.js +6 -6
- package/dist/esm/components/HighlightText.js +17 -17
- package/dist/esm/components/Inspector/AboutModal.js +205 -313
- package/dist/esm/components/Inspector/DebuggingTab.js +32 -26
- package/dist/esm/components/Inspector/InspectorHeader.js +96 -122
- package/dist/esm/components/Inspector/MainScreen.js +66 -76
- package/dist/esm/components/Inspector/MediaGalleryTab.js +19 -19
- package/dist/esm/components/Inspector/MediaPreviewModal.js +18 -18
- package/dist/esm/components/Inspector/NpmStarPrompt.js +1 -1
- package/dist/esm/components/Inspector/TabBar.js +21 -21
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +65 -66
- package/dist/esm/components/LogCard.js +43 -43
- package/dist/esm/components/NetworkIcons.d.ts +10 -0
- package/dist/esm/components/NetworkIcons.js +191 -149
- package/dist/esm/components/QRCodeView.js +4 -4
- package/dist/esm/components/TreeNode.js +53 -53
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/bundleAnalyzer.js +1 -1
- package/dist/esm/helpers/index.d.ts +1 -0
- package/dist/esm/helpers/index.js +4 -4
- package/dist/esm/index.js +7 -7
- package/dist/esm/native/NativeInspector.d.ts +1 -0
- package/dist/esm/native/NativeInspector.js +1 -1
- package/dist/esm/types/interfaces.d.ts +0 -2
- package/ios/NetworkInspectorModule.mm +39 -3
- package/package.json +1 -1
- package/src/native/NativeInspector.ts +18 -0
- package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +0 -16
- package/dist/commonjs/components/Inspector/FeedbackModal.js +0 -198
- package/dist/esm/components/Inspector/FeedbackModal.d.ts +0 -16
- package/dist/esm/components/Inspector/FeedbackModal.js +0 -198
|
@@ -1,351 +1,243 @@
|
|
|
1
|
-
import
|
|
2
|
-
<
|
|
1
|
+
import"react";import{Platform as z,Linking as B,ScrollView as H,StyleSheet as A,Text as C,View as T}from"react-native";import{AppColors as t}from"../../styles/AppColors";import{AppFonts as V}from"../../styles/AppFonts";import I from"../TouchableScale";import{useInspector as W}from"./InspectorContext";import{LIB_VERSION as F}from"../../constants/version";import{getAppName as L,getBundleIdentifier as $,getAppVersionAndBuild as _,copyToClipboard as v,showToast as P}from"../../helpers";import{PackageIcon as N,GitHubIcon as O,NpmIcon as E,BoltIcon as D,StarIcon as M,BookOpenIcon as U,BugIcon as G,TagIcon as Q,WifiIcon as Z,TerminalIcon as J,AnalyticsIcon as K,DatabaseIcon as X,CameraIcon as Y,CrashIcon as Te,ExternalLinkIcon as S,CopyIcon as Ce}from"../NetworkIcons";export const AboutModal=({onClose:Ve})=>{const{updateAvailable:k,latestNpmVersion:R}=W();return<T style={e.container}>
|
|
2
|
+
<H style={e.scrollView}contentContainerStyle={e.scrollContent}showsVerticalScrollIndicator={!1}>
|
|
3
3
|
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
<
|
|
9
|
-
</
|
|
10
|
-
<
|
|
11
|
-
<
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
</
|
|
16
|
-
{
|
|
17
|
-
<
|
|
18
|
-
v{
|
|
19
|
-
</
|
|
20
|
-
<
|
|
21
|
-
</
|
|
22
|
-
<
|
|
23
|
-
</
|
|
24
|
-
</V>
|
|
25
|
-
<T style={e.heroPackageName}>
|
|
26
|
-
react-native-inapp-inspector
|
|
4
|
+
<T style={e.heroCard}>
|
|
5
|
+
<T style={e.heroHeaderRow}>
|
|
6
|
+
<T style={e.heroBrandRow}>
|
|
7
|
+
<T style={e.heroIconBox}>
|
|
8
|
+
<N color={t.brandPurple}size={24}/>
|
|
9
|
+
</T>
|
|
10
|
+
<T style={{flex:1}}>
|
|
11
|
+
<T style={e.heroTitleRow}>
|
|
12
|
+
<C style={e.heroTitle}>In-App Inspector</C>
|
|
13
|
+
<T style={e.versionBadge}>
|
|
14
|
+
<C style={e.versionBadgeText}>v{F}</C>
|
|
15
|
+
</T>
|
|
16
|
+
{k?<T style={e.updateBadge}>
|
|
17
|
+
<C style={e.updateBadgeText}>
|
|
18
|
+
v{R} Available
|
|
19
|
+
</C>
|
|
20
|
+
<D size={9}color={t.amber600}/>
|
|
21
|
+
</T>:<T style={e.upToDateBadge}>
|
|
22
|
+
<C style={e.upToDateBadgeText}>Up to date</C>
|
|
23
|
+
</T>}
|
|
27
24
|
</T>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<T style={e.heroDescription}>
|
|
33
|
-
High-performance in-app debugging, network logging, console
|
|
34
|
-
inspection, performance profiling, storage viewer & telemetry
|
|
35
|
-
diagnostics for React Native.
|
|
36
|
-
</T>
|
|
37
|
-
|
|
38
|
-
{f&&<B onPress={()=>{M("npm install react-native-inapp-inspector@latest","Install Command"),N("Copied npm upgrade command!")}}style={e.upgradeBtn}>
|
|
39
|
-
<P size={12}color={x.white}/>
|
|
40
|
-
<T style={e.upgradeBtnText}>
|
|
41
|
-
Copy Upgrade Command (v{v})
|
|
42
|
-
</T>
|
|
43
|
-
</B>}
|
|
44
|
-
</V>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
<V style={e.gridContainer}>
|
|
48
|
-
<B onPress={()=>{R.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector").catch(()=>{})}}style={[e.gridCard,{backgroundColor:`${x.purple}0F`,borderColor:`${x.purple}30`}]}>
|
|
49
|
-
<Ve color={x.purple}size={18}/>
|
|
50
|
-
<V style={{flex:1}}>
|
|
51
|
-
<T style={e.gridCardTitle}>⭐ Star on GitHub</T>
|
|
52
|
-
<T style={e.gridCardSub}>Support open source</T>
|
|
53
|
-
</V>
|
|
54
|
-
</B>
|
|
55
|
-
|
|
56
|
-
<B onPress={()=>{R.openURL("https://www.npmjs.com/package/react-native-inapp-inspector").catch(()=>{})}}style={e.gridCard}>
|
|
57
|
-
<J color="#CB3837"size={18}/>
|
|
58
|
-
<V style={{flex:1}}>
|
|
59
|
-
<T style={e.gridCardTitle}>NPM Registry</T>
|
|
60
|
-
<T style={e.gridCardSub}>Package repository</T>
|
|
61
|
-
</V>
|
|
62
|
-
</B>
|
|
63
|
-
|
|
64
|
-
<B onPress={()=>{R.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector#readme").catch(()=>{})}}style={e.gridCard}>
|
|
65
|
-
<T style={{fontSize:16}}>📖</T>
|
|
66
|
-
<V style={{flex:1}}>
|
|
67
|
-
<T style={e.gridCardTitle}>Documentation</T>
|
|
68
|
-
<T style={e.gridCardSub}>Setup & API guide</T>
|
|
69
|
-
</V>
|
|
70
|
-
</B>
|
|
71
|
-
|
|
72
|
-
<B onPress={()=>{R.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector/issues").catch(()=>{})}}style={e.gridCard}>
|
|
73
|
-
<T style={{fontSize:16}}>🐞</T>
|
|
74
|
-
<V style={{flex:1}}>
|
|
75
|
-
<T style={e.gridCardTitle}>Report Issue</T>
|
|
76
|
-
<T style={e.gridCardSub}>Bugs & feature requests</T>
|
|
77
|
-
</V>
|
|
78
|
-
</B>
|
|
79
|
-
|
|
80
|
-
<B onPress={()=>{R.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector/releases").catch(()=>{})}}style={e.gridCard}>
|
|
81
|
-
<T style={{fontSize:16}}>🏷️</T>
|
|
82
|
-
<V style={{flex:1}}>
|
|
83
|
-
<T style={e.gridCardTitle}>Release Notes</T>
|
|
84
|
-
<T style={e.gridCardSub}>Version changelog</T>
|
|
85
|
-
</V>
|
|
86
|
-
</B>
|
|
87
|
-
|
|
88
|
-
<B onPress={K}style={e.gridCard}>
|
|
89
|
-
{F?<Ce color={x.emerald600}size={16}/>:<G color={x.purple}size={16}/>}
|
|
90
|
-
<V style={{flex:1}}>
|
|
91
|
-
<T style={e.gridCardTitle}>
|
|
92
|
-
{F?"Specs Copied!":"Copy Specs JSON"}
|
|
25
|
+
<C style={e.heroPackageName}>
|
|
26
|
+
react-native-inapp-inspector
|
|
27
|
+
</C>
|
|
93
28
|
</T>
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
</B>
|
|
97
|
-
</V>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
<V style={e.sectionCard}>
|
|
101
|
-
<T style={e.sectionHeader}>PACKAGE VERSION & UPGRADES</T>
|
|
29
|
+
</T>
|
|
30
|
+
</T>
|
|
102
31
|
|
|
103
|
-
<
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
<V style={{flex:1}}>
|
|
109
|
-
<V style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
110
|
-
<T style={e.versionTitle}>v{A}</T>
|
|
111
|
-
{f?<V style={e.updateBadge}>
|
|
112
|
-
<T style={e.updateBadgeText}>
|
|
113
|
-
v{v} Available
|
|
114
|
-
</T>
|
|
115
|
-
<P size={9}color="#D97706"/>
|
|
116
|
-
</V>:<V style={e.upToDateBadge}>
|
|
117
|
-
<T style={e.upToDateBadgeText}>Up to date</T>
|
|
118
|
-
</V>}
|
|
119
|
-
</V>
|
|
120
|
-
<T style={e.versionSubtitle}>
|
|
121
|
-
{f?`A newer release (v${v}) is available on npm registry.`:"You are running the latest version from npm registry."}
|
|
122
|
-
</T>
|
|
123
|
-
</V>
|
|
124
|
-
</V>
|
|
32
|
+
<C style={e.heroDescription}>
|
|
33
|
+
The all-in-one on-device debugging, logging, and QA companion for
|
|
34
|
+
React Native & Expo applications. Designed for developers, QA
|
|
35
|
+
testers, and product teams.
|
|
36
|
+
</C>
|
|
125
37
|
|
|
126
|
-
|
|
127
|
-
<
|
|
128
|
-
<
|
|
129
|
-
|
|
130
|
-
</
|
|
131
|
-
</
|
|
132
|
-
|
|
133
|
-
</V>
|
|
38
|
+
{k&&<I onPress={()=>{v("npm install react-native-inapp-inspector@latest","Install Command"),P("Copied npm upgrade command!")}}style={e.upgradeBtn}>
|
|
39
|
+
<D size={12}color={t.white}/>
|
|
40
|
+
<C style={e.upgradeBtnText}>
|
|
41
|
+
Copy Upgrade Command (v{R})
|
|
42
|
+
</C>
|
|
43
|
+
</I>}
|
|
44
|
+
</T>
|
|
134
45
|
|
|
135
46
|
|
|
136
|
-
<
|
|
137
|
-
<
|
|
47
|
+
<T style={e.sectionCard}>
|
|
48
|
+
<C style={e.sectionHeader}>APP INFORMATION</C>
|
|
138
49
|
|
|
139
|
-
<
|
|
140
|
-
<
|
|
141
|
-
<
|
|
142
|
-
<
|
|
143
|
-
</
|
|
50
|
+
<T style={{gap:8}}>
|
|
51
|
+
<T style={e.row}>
|
|
52
|
+
<C style={e.rowLabel}>App Name</C>
|
|
53
|
+
<C style={e.rowValueBold}>{L()}</C>
|
|
54
|
+
</T>
|
|
144
55
|
|
|
145
|
-
<
|
|
146
|
-
<
|
|
147
|
-
<
|
|
148
|
-
</
|
|
56
|
+
<T style={e.row}>
|
|
57
|
+
<C style={e.rowLabel}>Package Identifier</C>
|
|
58
|
+
<C style={e.rowValueRegular}>{$()}</C>
|
|
59
|
+
</T>
|
|
149
60
|
|
|
150
|
-
<
|
|
151
|
-
<
|
|
152
|
-
<
|
|
153
|
-
|
|
61
|
+
<T style={e.row}>
|
|
62
|
+
<C style={e.rowLabel}>App Version</C>
|
|
63
|
+
<C style={e.rowValueBold}>
|
|
64
|
+
{_().formatted}
|
|
65
|
+
</C>
|
|
66
|
+
</T>
|
|
154
67
|
|
|
155
|
-
<
|
|
156
|
-
<
|
|
157
|
-
<
|
|
158
|
-
<
|
|
68
|
+
<T style={e.row}>
|
|
69
|
+
<C style={e.rowLabel}>Environment</C>
|
|
70
|
+
<T style={[e.statusTag,{backgroundColor:__DEV__?`${t.amber500}20`:`${t.emerald500}20`,borderColor:__DEV__?`${t.amber500}50`:`${t.emerald500}50`}]}>
|
|
71
|
+
<C style={[e.statusTagText,{color:__DEV__?t.amber600:t.emerald600}]}>
|
|
159
72
|
{__DEV__?"Development (Debug)":"Production (Release)"}
|
|
160
|
-
</
|
|
161
|
-
</V>
|
|
162
|
-
</V>
|
|
163
|
-
|
|
164
|
-
<V style={e.row}>
|
|
165
|
-
<T style={e.rowLabel}>Metro Bundler Connection</T>
|
|
166
|
-
<T style={[e.rowValueBold,{color:z()?x.emerald600:x.grayText}]}>
|
|
167
|
-
{z()?"Connected (Hot Reload Active)":"Offline / Standalone"}
|
|
168
|
-
</T>
|
|
169
|
-
</V>
|
|
170
|
-
</V>
|
|
171
|
-
</V>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
<V style={e.sectionCard}>
|
|
175
|
-
<T style={e.sectionHeader}>FRAMEWORK & RUNTIME ENGINE</T>
|
|
176
|
-
|
|
177
|
-
<V style={{gap:8}}>
|
|
178
|
-
<V style={e.row}>
|
|
179
|
-
<T style={e.rowLabel}>React Native Version</T>
|
|
180
|
-
<T style={e.rowValueBold}>
|
|
181
|
-
v
|
|
182
|
-
{h.constants?.reactNativeVersion?.major!=null?`${h.constants.reactNativeVersion.major}.${h.constants.reactNativeVersion.minor}.${h.constants.reactNativeVersion.patch}`:"0.74+"}
|
|
183
|
-
</T>
|
|
184
|
-
</V>
|
|
185
|
-
|
|
186
|
-
<V style={e.row}>
|
|
187
|
-
<T style={e.rowLabel}>React Core Version</T>
|
|
188
|
-
<T style={e.rowValueBold}>v{_.version}</T>
|
|
189
|
-
</V>
|
|
190
|
-
|
|
191
|
-
<V style={e.row}>
|
|
192
|
-
<T style={e.rowLabel}>JavaScript Engine</T>
|
|
193
|
-
<V style={[e.statusTag,{backgroundColor:`${x.purple}15`,borderColor:`${x.purple}40`}]}>
|
|
194
|
-
<T style={[e.statusTagText,{color:x.purple,fontSize:10.5}]}>
|
|
195
|
-
{global?.HermesInternal?"Hermes Engine (Active)":"JavaScriptCore (JSC)"}
|
|
196
|
-
</T>
|
|
197
|
-
</V>
|
|
198
|
-
</V>
|
|
199
|
-
|
|
200
|
-
<V style={e.row}>
|
|
201
|
-
<T style={e.rowLabel}>Rendering Architecture</T>
|
|
202
|
-
<T style={e.rowValueBold}>
|
|
203
|
-
{global?.nativeFabricUIManager?"Fabric (New Architecture)":"Paper (Legacy Bridge)"}
|
|
73
|
+
</C>
|
|
204
74
|
</T>
|
|
205
|
-
</
|
|
75
|
+
</T>
|
|
206
76
|
|
|
207
|
-
<
|
|
208
|
-
<
|
|
209
|
-
<
|
|
210
|
-
{
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
77
|
+
<T style={e.row}>
|
|
78
|
+
<C style={e.rowLabel}>Platform</C>
|
|
79
|
+
<C style={e.rowValueRegular}>
|
|
80
|
+
{z.OS==="ios"?"Apple iOS":"Google Android"}{" "}
|
|
81
|
+
(v{z.Version})
|
|
82
|
+
</C>
|
|
83
|
+
</T>
|
|
84
|
+
</T>
|
|
85
|
+
</T>
|
|
215
86
|
|
|
216
87
|
|
|
217
|
-
<
|
|
218
|
-
<
|
|
88
|
+
<T style={e.sectionCard}>
|
|
89
|
+
<C style={e.sectionHeader}>WHAT IN-APP INSPECTOR DOES</C>
|
|
219
90
|
|
|
220
|
-
<
|
|
221
|
-
<
|
|
222
|
-
<T style={e.
|
|
223
|
-
|
|
224
|
-
{h.OS==="ios"?"Apple iOS":h.OS==="android"?"Google Android":h.OS}{" "}
|
|
225
|
-
{h.Version}
|
|
91
|
+
<T style={e.featuresList}>
|
|
92
|
+
<T style={e.featureItem}>
|
|
93
|
+
<T style={[e.featureIconBox,{backgroundColor:`${t.brandPurple}15`}]}>
|
|
94
|
+
<Z color={t.brandPurple}size={18}/>
|
|
226
95
|
</T>
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
96
|
+
<T style={e.featureTextBox}>
|
|
97
|
+
<C style={e.featureTitle}>Network Traffic Monitor</C>
|
|
98
|
+
<C style={e.featureDesc}>
|
|
99
|
+
Inspect HTTP and HTTPS API requests, responses, headers, and
|
|
100
|
+
server latency with waterfall timing charts.
|
|
101
|
+
</C>
|
|
233
102
|
</T>
|
|
234
|
-
</
|
|
103
|
+
</T>
|
|
235
104
|
|
|
236
|
-
<
|
|
237
|
-
<T style={e.
|
|
238
|
-
|
|
239
|
-
{Math.round(I.get("window").width)} ×{" "}
|
|
240
|
-
{Math.round(I.get("window").height)} pt
|
|
105
|
+
<T style={e.featureItem}>
|
|
106
|
+
<T style={[e.featureIconBox,{backgroundColor:`${t.blue500}15`}]}>
|
|
107
|
+
<J color={t.blue500}size={18}/>
|
|
241
108
|
</T>
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
×{" "}
|
|
249
|
-
{Math.round(I.get("screen").height*S.get())}{" "}
|
|
250
|
-
px
|
|
109
|
+
<T style={e.featureTextBox}>
|
|
110
|
+
<C style={e.featureTitle}>Console Logger</C>
|
|
111
|
+
<C style={e.featureDesc}>
|
|
112
|
+
View real-time console logs, warnings, and errors with source
|
|
113
|
+
file origins and formatted stack traces.
|
|
114
|
+
</C>
|
|
251
115
|
</T>
|
|
252
|
-
</
|
|
116
|
+
</T>
|
|
253
117
|
|
|
254
|
-
<
|
|
255
|
-
<T style={e.
|
|
256
|
-
|
|
257
|
-
{S.get().toFixed(1)}x (
|
|
258
|
-
{S.get()>=3?"@3x":S.get()>=2?"@2x":"@1x"}
|
|
259
|
-
) • Font: {S.getFontScale().toFixed(2)}x
|
|
118
|
+
<T style={e.featureItem}>
|
|
119
|
+
<T style={[e.featureIconBox,{backgroundColor:`${t.firebaseOrange}15`}]}>
|
|
120
|
+
<K color={t.firebaseOrange}size={18}/>
|
|
260
121
|
</T>
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
({Intl.DateTimeFormat().resolvedOptions().locale||"en"})
|
|
122
|
+
<T style={e.featureTextBox}>
|
|
123
|
+
<C style={e.featureTitle}>Analytics Telemetry</C>
|
|
124
|
+
<C style={e.featureDesc}>
|
|
125
|
+
Track Firebase and custom analytics events, screen views, and
|
|
126
|
+
user properties live on the device.
|
|
127
|
+
</C>
|
|
268
128
|
</T>
|
|
269
|
-
</
|
|
270
|
-
</V>
|
|
271
|
-
</V>
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
<V style={e.sectionCard}>
|
|
275
|
-
<T style={e.sectionHeader}>INSPECTOR STORAGE & CAPABILITIES</T>
|
|
276
|
-
|
|
277
|
-
<V style={{gap:8}}>
|
|
278
|
-
<V style={e.row}>
|
|
279
|
-
<T style={e.rowLabel}>Storage Persistence Engine</T>
|
|
280
|
-
<V style={[e.statusTag,{backgroundColor:D()?`${x.emerald500}18`:`${x.amber500}18`,borderColor:D()?`${x.emerald500}50`:`${x.amber500}50`}]}>
|
|
281
|
-
<T style={[e.statusTagText,{color:D()?x.emerald600:x.amber500}]}>
|
|
282
|
-
{D()?"MMKV Fast Native Storage":"In-Memory State"}
|
|
283
|
-
</T>
|
|
284
|
-
</V>
|
|
285
|
-
</V>
|
|
129
|
+
</T>
|
|
286
130
|
|
|
287
|
-
<
|
|
288
|
-
<T style={e.
|
|
289
|
-
|
|
290
|
-
{global?.NativeInspectorModule?"Linked & Active":"JavaScript Only"}
|
|
131
|
+
<T style={e.featureItem}>
|
|
132
|
+
<T style={[e.featureIconBox,{backgroundColor:`${t.violet600}15`}]}>
|
|
133
|
+
<X color={t.violet600}size={18}/>
|
|
291
134
|
</T>
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
135
|
+
<T style={e.featureTextBox}>
|
|
136
|
+
<C style={e.featureTitle}>Redux State & Actions</C>
|
|
137
|
+
<C style={e.featureDesc}>
|
|
138
|
+
Inspect dispatched actions, payloads, and state tree diffs
|
|
139
|
+
without connecting desktop companion tools.
|
|
140
|
+
</C>
|
|
298
141
|
</T>
|
|
299
|
-
</
|
|
142
|
+
</T>
|
|
300
143
|
|
|
301
|
-
<
|
|
302
|
-
<T style={e.
|
|
303
|
-
|
|
304
|
-
Redux: {W()?"Connected":"Listening"} •
|
|
305
|
-
Analytics: {j()?"Connected":"Listening"}
|
|
144
|
+
<T style={e.featureItem}>
|
|
145
|
+
<T style={[e.featureIconBox,{backgroundColor:`${t.teal600}15`}]}>
|
|
146
|
+
<Y color={t.teal600}size={18}/>
|
|
306
147
|
</T>
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
148
|
+
<T style={e.featureTextBox}>
|
|
149
|
+
<C style={e.featureTitle}>Screen & Video Capture</C>
|
|
150
|
+
<C style={e.featureDesc}>
|
|
151
|
+
Take screenshots and record test sessions to share with QA and
|
|
152
|
+
engineering teams instantly.
|
|
153
|
+
</C>
|
|
313
154
|
</T>
|
|
314
|
-
</
|
|
155
|
+
</T>
|
|
315
156
|
|
|
316
|
-
<
|
|
317
|
-
<T style={e.
|
|
318
|
-
|
|
319
|
-
Dynamic Auto RAM Tiering Active
|
|
157
|
+
<T style={e.featureItem}>
|
|
158
|
+
<T style={[e.featureIconBox,{backgroundColor:`${t.emerald600}15`}]}>
|
|
159
|
+
<Te color={t.emerald600}size={18}/>
|
|
320
160
|
</T>
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
161
|
+
<T style={e.featureTextBox}>
|
|
162
|
+
<C style={e.featureTitle}>
|
|
163
|
+
Crash Catcher & Diagnostics
|
|
164
|
+
</C>
|
|
165
|
+
<C style={e.featureDesc}>
|
|
166
|
+
Protects against native crashes and provides device health
|
|
167
|
+
metrics including RAM, battery, and storage.
|
|
168
|
+
</C>
|
|
169
|
+
</T>
|
|
170
|
+
</T>
|
|
171
|
+
</T>
|
|
172
|
+
</T>
|
|
324
173
|
|
|
325
174
|
|
|
326
|
-
<
|
|
327
|
-
<
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
175
|
+
<T style={e.gridContainer}>
|
|
176
|
+
<I onPress={()=>{B.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector").catch(()=>{})}}style={[e.gridCard,{backgroundColor:`${t.brandPurple}0F`,borderColor:`${t.brandPurple}30`}]}>
|
|
177
|
+
<O color={t.brandPurple}size={18}/>
|
|
178
|
+
<T style={{flex:1}}>
|
|
179
|
+
<T style={{flexDirection:"row",alignItems:"center",gap:5}}>
|
|
180
|
+
<M color={t.amber500}size={13}/>
|
|
181
|
+
<C style={e.gridCardTitle}>GitHub</C>
|
|
182
|
+
</T>
|
|
183
|
+
<C style={e.gridCardSub}>Star & source code</C>
|
|
333
184
|
</T>
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
<
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
<
|
|
344
|
-
|
|
185
|
+
<S size={12}color={t.grayTextWeak}/>
|
|
186
|
+
</I>
|
|
187
|
+
|
|
188
|
+
<I onPress={()=>{B.openURL("https://www.npmjs.com/package/react-native-inapp-inspector").catch(()=>{})}}style={e.gridCard}>
|
|
189
|
+
<E color={t.npmRed}size={18}/>
|
|
190
|
+
<T style={{flex:1}}>
|
|
191
|
+
<C style={e.gridCardTitle}>NPM Registry</C>
|
|
192
|
+
<C style={e.gridCardSub}>Package updates</C>
|
|
193
|
+
</T>
|
|
194
|
+
<S size={12}color={t.grayTextWeak}/>
|
|
195
|
+
</I>
|
|
196
|
+
|
|
197
|
+
<I onPress={()=>{B.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector#readme").catch(()=>{})}}style={e.gridCard}>
|
|
198
|
+
<U color={t.brandPurple}size={18}/>
|
|
199
|
+
<T style={{flex:1}}>
|
|
200
|
+
<C style={e.gridCardTitle}>Documentation</C>
|
|
201
|
+
<C style={e.gridCardSub}>Integration guide</C>
|
|
202
|
+
</T>
|
|
203
|
+
<S size={12}color={t.grayTextWeak}/>
|
|
204
|
+
</I>
|
|
205
|
+
|
|
206
|
+
<I onPress={()=>{B.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector/issues").catch(()=>{})}}style={e.gridCard}>
|
|
207
|
+
<G color={t.errorColor}size={18}/>
|
|
208
|
+
<T style={{flex:1}}>
|
|
209
|
+
<C style={e.gridCardTitle}>Report Issue</C>
|
|
210
|
+
<C style={e.gridCardSub}>Help & support</C>
|
|
345
211
|
</T>
|
|
346
|
-
|
|
347
|
-
|
|
212
|
+
<S size={12}color={t.grayTextWeak}/>
|
|
213
|
+
</I>
|
|
214
|
+
|
|
215
|
+
<I onPress={()=>{B.openURL("https://github.com/vengatmacuser/react-native-inapp-inspector/releases").catch(()=>{})}}style={e.gridCard}>
|
|
216
|
+
<Q color={t.successGreen}size={18}/>
|
|
217
|
+
<T style={{flex:1}}>
|
|
218
|
+
<C style={e.gridCardTitle}>Release Notes</C>
|
|
219
|
+
<C style={e.gridCardSub}>What's new</C>
|
|
220
|
+
</T>
|
|
221
|
+
<S size={12}color={t.grayTextWeak}/>
|
|
222
|
+
</I>
|
|
223
|
+
|
|
224
|
+
<I onPress={()=>{v("npm install react-native-inapp-inspector","NPM Command"),P("Copied package install command!")}}style={e.gridCard}>
|
|
225
|
+
<Ce color={t.brandPurple}size={16}/>
|
|
226
|
+
<T style={{flex:1}}>
|
|
227
|
+
<C style={e.gridCardTitle}>Copy Install</C>
|
|
228
|
+
<C style={e.gridCardSub}>npm / yarn command</C>
|
|
229
|
+
</T>
|
|
230
|
+
</I>
|
|
231
|
+
</T>
|
|
348
232
|
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
233
|
+
|
|
234
|
+
<T style={e.footer}>
|
|
235
|
+
<C style={e.footerText}>
|
|
236
|
+
React Native In-App Inspector · MIT License
|
|
237
|
+
</C>
|
|
238
|
+
<C style={e.footerSubText}>
|
|
239
|
+
Zero-config on-device debugging tool
|
|
240
|
+
</C>
|
|
241
|
+
</T>
|
|
242
|
+
</H>
|
|
243
|
+
</T>};const e=A.create({container:{flex:1,backgroundColor:t.grayBackground},scrollView:{flex:1},scrollContent:{padding:14,paddingBottom:32,gap:12},heroCard:{backgroundColor:t.primaryLight,borderRadius:14,padding:16,borderWidth:1,borderColor:t.dividerColor,shadowColor:t.shadowColorString,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:8,elevation:2,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:`${t.brandPurple}15`,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:`${t.brandPurple}30`},heroTitleRow:{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap"},heroTitle:{fontFamily:V.interBold,fontSize:17,lineHeight:22,color:t.primaryBlack,letterSpacing:-.3},versionBadge:{backgroundColor:`${t.brandPurple}18`,paddingHorizontal:7,paddingVertical:2,borderRadius:6,borderWidth:1,borderColor:`${t.brandPurple}30`},versionBadgeText:{fontFamily:V.interBold,fontSize:10,lineHeight:13,color:t.brandPurple},updateBadge:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:`${t.amber500}20`,paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,borderColor:`${t.amber500}50`},updateBadgeText:{fontFamily:V.interBold,fontSize:9.5,lineHeight:12,color:t.amber600},upToDateBadge:{backgroundColor:`${t.emerald500}18`,paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,borderColor:`${t.emerald500}35`},upToDateBadgeText:{fontFamily:V.interMedium,fontSize:9.5,lineHeight:12,color:t.emerald600},heroPackageName:{fontFamily:V.interRegular,fontSize:12,lineHeight:16,color:t.grayTextWeak,marginTop:2},heroDescription:{fontFamily:V.interRegular,fontSize:13,lineHeight:18,color:t.grayText},upgradeBtn:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:6,backgroundColor:t.brandPurple,paddingVertical:9,paddingHorizontal:12,borderRadius:8},upgradeBtnText:{fontFamily:V.interBold,fontSize:12,color:t.white},sectionCard:{backgroundColor:t.primaryLight,borderRadius:14,padding:14,borderWidth:1,borderColor:t.dividerColor,gap:10},sectionHeader:{fontFamily:V.interBold,fontSize:11,lineHeight:15,color:t.grayTextWeak,letterSpacing:.6},row:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",paddingVertical:3},rowLabel:{fontFamily:V.interRegular,fontSize:12.5,lineHeight:17,color:t.grayTextWeak},rowValueBold:{fontFamily:V.interBold,fontSize:12.5,lineHeight:17,color:t.primaryBlack},rowValueRegular:{fontFamily:V.interRegular,fontSize:12.5,lineHeight:17,color:t.grayTextStrong},statusTag:{paddingHorizontal:7,paddingVertical:2,borderRadius:6,borderWidth:1},statusTagText:{fontFamily:V.interSemiBold,fontSize:10.5,lineHeight:14},featuresList:{gap:10},featureItem:{flexDirection:"row",alignItems:"flex-start",gap:12,paddingVertical:4},featureIconBox:{width:36,height:36,borderRadius:10,alignItems:"center",justifyContent:"center"},featureTextBox:{flex:1,gap:2},featureTitle:{fontFamily:V.interBold,fontSize:13,lineHeight:17,color:t.primaryBlack},featureDesc:{fontFamily:V.interRegular,fontSize:11.5,lineHeight:16,color:t.grayTextWeak},gridContainer:{flexDirection:"row",flexWrap:"wrap",gap:8},gridCard:{width:"48.5%",flexGrow:1,backgroundColor:t.primaryLight,borderRadius:10,padding:12,flexDirection:"row",alignItems:"center",gap:9,borderWidth:1,borderColor:t.dividerColor},gridCardTitle:{fontFamily:V.interBold,fontSize:12,lineHeight:16,color:t.primaryBlack},gridCardSub:{fontFamily:V.interRegular,fontSize:10,lineHeight:13,color:t.grayTextWeak},footer:{alignItems:"center",justifyContent:"center",paddingVertical:14,gap:3},footerText:{fontFamily:V.interMedium,fontSize:11,lineHeight:15,color:t.grayTextWeak},footerSubText:{fontFamily:V.interRegular,fontSize:10,lineHeight:14,color:t.slate400}});export default AboutModal;
|