react-native-inapp-inspector 2.2.4 → 2.2.5

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.
@@ -42,138 +42,72 @@ const react_native_svg_1 = __importStar(require("react-native-svg"));
42
42
  const BrandSquareIcon = ({ size = 56 }) => {
43
43
  return (<react_native_svg_1.default width={size} height={size} viewBox="0 0 256 256" fill="none">
44
44
  <react_native_svg_1.Defs>
45
- <react_native_svg_1.LinearGradient id="tileSquare" x1="30" y1="30" x2="210" y2="222" gradientUnits="userSpaceOnUse">
46
- <react_native_svg_1.Stop offset="0" stopColor="#141B33"/>
47
- <react_native_svg_1.Stop offset="1" stopColor="#0A0E1C"/>
45
+ <react_native_svg_1.LinearGradient id="bs_tile" x1="0" y1="0" x2="256" y2="256" gradientUnits="userSpaceOnUse">
46
+ <react_native_svg_1.Stop offset="0" stopColor="#1E1B4B"/>
47
+ <react_native_svg_1.Stop offset="1" stopColor="#0F172A"/>
48
48
  </react_native_svg_1.LinearGradient>
49
- <react_native_svg_1.LinearGradient id="edgeSquare" x1="14" y1="22" x2="220" y2="228" gradientUnits="userSpaceOnUse">
50
- <react_native_svg_1.Stop offset="0" stopColor="#3A4E7A"/>
51
- <react_native_svg_1.Stop offset="1" stopColor="#1A2238"/>
49
+ <react_native_svg_1.LinearGradient id="bs_beam" x1="0" y1="0" x2="256" y2="256" gradientUnits="userSpaceOnUse">
50
+ <react_native_svg_1.Stop offset="0" stopColor="#818CF8"/>
51
+ <react_native_svg_1.Stop offset="0.5" stopColor="#A855F7"/>
52
+ <react_native_svg_1.Stop offset="1" stopColor="#EC4899"/>
52
53
  </react_native_svg_1.LinearGradient>
53
- <react_native_svg_1.LinearGradient id="beamSquare" x1="70" y1="74" x2="194" y2="187" gradientUnits="userSpaceOnUse">
54
- <react_native_svg_1.Stop offset="0" stopColor="#5EEAD4"/>
55
- <react_native_svg_1.Stop offset="0.5" stopColor="#38BDF8"/>
56
- <react_native_svg_1.Stop offset="1" stopColor="#A78BFA"/>
54
+ <react_native_svg_1.LinearGradient id="bs_body" x1="0" y1="0" x2="0" y2="256" gradientUnits="userSpaceOnUse">
55
+ <react_native_svg_1.Stop offset="0" stopColor="#312E81"/>
56
+ <react_native_svg_1.Stop offset="1" stopColor="#1E1B4B"/>
57
57
  </react_native_svg_1.LinearGradient>
58
- <react_native_svg_1.RadialGradient id="haloSquare" cx="0.5" cy="0.45" r="0.55">
59
- <react_native_svg_1.Stop offset="0" stopColor="#38BDF8" stopOpacity={0.12}/>
60
- <react_native_svg_1.Stop offset="1" stopColor="#38BDF8" stopOpacity={0}/>
58
+ <react_native_svg_1.RadialGradient id="bs_iris" cx="40%" cy="40%" r="60%">
59
+ <react_native_svg_1.Stop offset="0" stopColor="#FDE047"/>
60
+ <react_native_svg_1.Stop offset="0.7" stopColor="#F59E0B"/>
61
+ <react_native_svg_1.Stop offset="1" stopColor="#D97706"/>
61
62
  </react_native_svg_1.RadialGradient>
62
- <react_native_svg_1.LinearGradient id="owlbodySquare" x1="78" y1="60" x2="178" y2="186" gradientUnits="userSpaceOnUse">
63
- <react_native_svg_1.Stop offset="0" stopColor="#202E55"/>
64
- <react_native_svg_1.Stop offset="1" stopColor="#10182F"/>
65
- </react_native_svg_1.LinearGradient>
66
- <react_native_svg_1.LinearGradient id="beakSquare" x1="120" y1="151" x2="136" y2="168" gradientUnits="userSpaceOnUse">
67
- <react_native_svg_1.Stop offset="0" stopColor="#FCD34D"/>
68
- <react_native_svg_1.Stop offset="1" stopColor="#FB923C"/>
69
- </react_native_svg_1.LinearGradient>
70
- <react_native_svg_1.RadialGradient id="irisSquare" cx="0.42" cy="0.38" r="0.72">
71
- <react_native_svg_1.Stop offset="0" stopColor="#FDE68A"/>
72
- <react_native_svg_1.Stop offset="0.5" stopColor="#FBBF24"/>
73
- <react_native_svg_1.Stop offset="1" stopColor="#F59E0B"/>
74
- </react_native_svg_1.RadialGradient>
75
- <react_native_svg_1.RadialGradient id="blushSquare" cx="0.5" cy="0.5" r="0.5">
76
- <react_native_svg_1.Stop offset="0" stopColor="#FB7185" stopOpacity={0.5}/>
77
- <react_native_svg_1.Stop offset="1" stopColor="#FB7185" stopOpacity={0}/>
78
- </react_native_svg_1.RadialGradient>
79
- <react_native_svg_1.LinearGradient id="wingSquare" x1="70" y1="120" x2="190" y2="206" gradientUnits="userSpaceOnUse">
80
- <react_native_svg_1.Stop offset="0" stopColor="#1A2545"/>
81
- <react_native_svg_1.Stop offset="1" stopColor="#0E1530"/>
82
- </react_native_svg_1.LinearGradient>
83
- <react_native_svg_1.LinearGradient id="faceplateSquare" x1="70" y1="72" x2="186" y2="152" gradientUnits="userSpaceOnUse">
84
- <react_native_svg_1.Stop offset="0" stopColor="#35497E"/>
85
- <react_native_svg_1.Stop offset="1" stopColor="#1E2D4D"/>
86
- </react_native_svg_1.LinearGradient>
87
- <react_native_svg_1.RadialGradient id="lensglassSquare" cx="0.4" cy="0.32" r="0.75">
88
- <react_native_svg_1.Stop offset="0" stopColor="#7DE8FF" stopOpacity={0.22}/>
89
- <react_native_svg_1.Stop offset="0.7" stopColor="#7DE8FF" stopOpacity={0.05}/>
90
- <react_native_svg_1.Stop offset="1" stopColor="#7DE8FF" stopOpacity={0}/>
91
- </react_native_svg_1.RadialGradient>
92
- <react_native_svg_1.LinearGradient id="bellySquare" x1="94" y1="126" x2="162" y2="212" gradientUnits="userSpaceOnUse">
93
- <react_native_svg_1.Stop offset="0" stopColor="#33477A"/>
94
- <react_native_svg_1.Stop offset="1" stopColor="#1D2B53"/>
63
+ <react_native_svg_1.LinearGradient id="bs_beak" x1="0" y1="0" x2="0" y2="20" gradientUnits="userSpaceOnUse">
64
+ <react_native_svg_1.Stop offset="0" stopColor="#FBBF24"/>
65
+ <react_native_svg_1.Stop offset="1" stopColor="#F97316"/>
95
66
  </react_native_svg_1.LinearGradient>
96
67
  </react_native_svg_1.Defs>
97
- <react_native_svg_1.Rect x={8} y={8} width={240} height={240} rx={58} fill="url(#tileSquare)"/>
98
- <react_native_svg_1.Rect x={8.6} y={8.6} width={238.8} height={238.8} rx={57.4} fill="none" stroke="url(#edgeSquare)" strokeOpacity={0.6} strokeWidth={1.2}/>
99
- <react_native_svg_1.Circle cx={128} cy={128} r={104} fill="url(#haloSquare)"/>
100
- <react_native_svg_1.G transform="translate(128 128) scale(1.16) translate(-128 -134)">
101
- {/* wing 1 */}
102
- <react_native_svg_1.Path d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z" fill="url(#wingSquare)" stroke="url(#beamSquare)" strokeWidth={2.5} strokeOpacity={0.45}/>
103
- {/* wing 2 */}
104
- <react_native_svg_1.Path d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z" fill="url(#wingSquare)" stroke="url(#beamSquare)" strokeWidth={2.5} strokeOpacity={0.45}/>
105
- {/* body */}
106
- <react_native_svg_1.Path d="M62 150 C58 104 70 70 90 58 L98 42 L116 62 Q128 57 140 62 L158 42 L166 58 C186 70 198 104 194 150 C198 180 184 204 152 212 C140 216 116 216 104 212 C72 204 58 180 62 150 Z" fill="url(#owlbodySquare)" stroke="url(#beamSquare)" strokeWidth={4} strokeLinejoin="round"/>
107
-
108
- {/* inner-ear shadows */}
109
- <react_native_svg_1.Path d="M99 48 L114 62 L104 63 L98 55 Z" fill="#080F22" opacity={0.5}/>
110
- <react_native_svg_1.Path d="M157 48 L142 62 L152 63 L158 55 Z" fill="#080F22" opacity={0.5}/>
111
-
112
- {/* wing feather lines */}
113
- <react_native_svg_1.G stroke="#22325A" strokeWidth={2.2} fill="none" strokeLinecap="round" opacity={0.75}>
114
- <react_native_svg_1.Path d="M80 138 q-5 26 3 50"/>
115
- <react_native_svg_1.Path d="M90 134 q-4 26 3 48"/>
116
- <react_native_svg_1.Path d="M176 138 q5 26 -3 50"/>
117
- <react_native_svg_1.Path d="M166 134 q4 26 -3 48"/>
118
- </react_native_svg_1.G>
119
68
 
120
- {/* belly plate */}
121
- <react_native_svg_1.Path d="M128 126 C151 126 164 148 162 174 C160 198 146 212 128 212 C110 212 96 198 94 174 C92 148 105 126 128 126 Z" fill="url(#bellySquare)"/>
69
+ {/* Rounded App Tile Background */}
70
+ <react_native_svg_1.Rect x="8" y="8" width="240" height="240" rx="54" fill="url(#bs_tile)"/>
71
+ <react_native_svg_1.Rect x="8" y="8" width="240" height="240" rx="54" fill="none" stroke="url(#bs_beam)" strokeWidth="3" strokeOpacity={0.4}/>
122
72
 
123
- {/* belly feather scallops */}
124
- <react_native_svg_1.G stroke="#3E588C" strokeWidth={2.3} fill="none" strokeLinecap="round" opacity={0.4}>
125
- <react_native_svg_1.Path d="M110 154 Q118 162 126 154"/>
126
- <react_native_svg_1.Path d="M126 154 Q134 162 142 154"/>
127
- <react_native_svg_1.Path d="M142 154 Q150 162 158 154"/>
128
- <react_native_svg_1.Path d="M102 172 Q110 180 118 172"/>
129
- <react_native_svg_1.Path d="M150 172 Q158 180 166 172"/>
130
- <react_native_svg_1.Path d="M112 190 Q120 198 128 190"/>
131
- <react_native_svg_1.Path d="M128 190 Q136 198 144 190"/>
132
- </react_native_svg_1.G>
73
+ {/* Owl Outer Body Contour */}
74
+ <react_native_svg_1.Path d="M64 148 C60 102 72 68 92 56 L100 40 L118 60 Q128 55 138 60 L156 40 L164 56 C184 68 196 102 192 148 C196 178 182 202 150 210 C138 214 118 214 106 210 C74 202 60 178 64 148 Z" fill="url(#bs_body)" stroke="url(#bs_beam)" strokeWidth="4" strokeLinejoin="round"/>
133
75
 
134
- {/* developer chest screen + code emblem */}
135
- <react_native_svg_1.Rect x={107} y={161} width={42} height={32} rx={9} fill="#0C1426" stroke="url(#beamSquare)" strokeWidth={2} strokeOpacity={0.7}/>
136
- <react_native_svg_1.G stroke="#8FD0EC" strokeWidth={3} strokeLinecap="round" strokeLinejoin="round" fill="none">
137
- <react_native_svg_1.Path d="M122 170 L115 177 L122 184"/>
138
- <react_native_svg_1.Path d="M134 170 L141 177 L134 184"/>
139
- <react_native_svg_1.Path d="M130 168 L126 186"/>
140
- </react_native_svg_1.G>
76
+ {/* Wings */}
77
+ <react_native_svg_1.Path d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z" fill="#1E1B4B" stroke="#818CF8" strokeWidth="2.5" strokeOpacity={0.6}/>
78
+ <react_native_svg_1.Path d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z" fill="#1E1B4B" stroke="#818CF8" strokeWidth="2.5" strokeOpacity={0.6}/>
141
79
 
142
- {/* facial disc */}
143
- <react_native_svg_1.Path d="M128 92 C148 70 186 78 186 108 C186 134 160 152 128 152 C96 152 70 134 70 108 C70 78 108 70 128 92 Z" fill="url(#faceplateSquare)" stroke="#52709E" strokeWidth={2.6} strokeOpacity={0.7}/>
144
- {/* facial-disc centre ridge */}
145
- <react_native_svg_1.Path d="M128 96 L128 120" stroke="#52709E" strokeWidth={2} strokeLinecap="round" strokeOpacity={0.45}/>
80
+ {/* Belly Screen Plate */}
81
+ <react_native_svg_1.Rect x="105" y="160" width="46" height="34" rx="8" fill="#0B0F19" stroke="url(#bs_beam)" strokeWidth="2"/>
82
+ {/* Code Emblem on Chest */}
83
+ <react_native_svg_1.G stroke="#A5B4FC" strokeWidth="2.8" strokeLinecap="round" strokeLinejoin="round" fill="none">
84
+ <react_native_svg_1.Path d="M120 171 L114 177 L120 183"/>
85
+ <react_native_svg_1.Path d="M136 171 L142 177 L136 183"/>
86
+ <react_native_svg_1.Path d="M130 169 L126 185" stroke="#EC4899"/>
87
+ </react_native_svg_1.G>
146
88
 
147
- {/* feet */}
148
- <react_native_svg_1.G stroke="url(#beakSquare)" strokeWidth={5} strokeLinecap="round" fill="none">
149
- <react_native_svg_1.Path d="M111 209 L105 224 M111 209 L111 226 M111 209 L117 224"/>
150
- <react_native_svg_1.Path d="M145 209 L139 224 M145 209 L145 226 M145 209 L151 224"/>
151
- </react_native_svg_1.G>
89
+ {/* Facial Disc & Mask */}
90
+ <react_native_svg_1.Path d="M128 92 C148 70 186 78 186 108 C186 134 160 152 128 152 C96 152 70 134 70 108 C70 78 108 70 128 92 Z" fill="#2E1065" stroke="#818CF8" strokeWidth="2" strokeOpacity={0.6}/>
152
91
 
153
- {/* normal eye: big cute yellow iris, dark pupil, sparkles */}
154
- <react_native_svg_1.Circle cx={153} cy={107} r={17} fill="url(#irisSquare)" stroke="#1A1205" strokeWidth={2.2}/>
155
- <react_native_svg_1.Circle cx={153} cy={108} r={8.2} fill="#0A0E18"/>
156
- <react_native_svg_1.Circle cx={156.2} cy={104} r={3.1} fill="#ffffff" opacity={0.95}/>
157
- <react_native_svg_1.Circle cx={149.6} cy={111} r={1.6} fill="#ffffff" opacity={0.7}/>
92
+ {/* Right Eye (Normal Cute Eye) */}
93
+ <react_native_svg_1.Circle cx="154" cy="108" r="17" fill="url(#bs_iris)" stroke="#0F172A" strokeWidth="2"/>
94
+ <react_native_svg_1.Circle cx="154" cy="108" r="8.5" fill="#0F172A"/>
95
+ <react_native_svg_1.Circle cx="157" cy="105" r="3" fill="#FFFFFF"/>
96
+ <react_native_svg_1.Circle cx="151" cy="111" r="1.5" fill="#FFFFFF" opacity={0.8}/>
158
97
 
159
- {/* beak */}
160
- <react_native_svg_1.Path d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z" fill="url(#beakSquare)"/>
98
+ {/* Left Eye (Diagnostic Magnifier Lens) */}
99
+ <react_native_svg_1.Circle cx="96" cy="104" r="20" fill="url(#bs_iris)" stroke="#0F172A" strokeWidth="2"/>
100
+ <react_native_svg_1.Circle cx="96" cy="104" r="10" fill="#0F172A"/>
101
+ <react_native_svg_1.Circle cx="99.5" cy="100.5" r="3.5" fill="#FFFFFF"/>
102
+ <react_native_svg_1.Circle cx="92" cy="107" r="1.8" fill="#FFFFFF" opacity={0.8}/>
161
103
 
162
- {/* magnifier held to the big (debug) eye */}
163
- <react_native_svg_1.Circle cx={95} cy={103} r={20} fill="url(#irisSquare)" stroke="#1A1205" strokeWidth={2.6}/>
164
- <react_native_svg_1.Circle cx={95} cy={104} r={10} fill="#0A0E18"/>
165
- <react_native_svg_1.Circle cx={98.6} cy={100} r={3.4} fill="#ffffff" opacity={0.95}/>
166
- <react_native_svg_1.Circle cx={91} cy={107} r={1.8} fill="#ffffff" opacity={0.7}/>
167
- <react_native_svg_1.Circle cx={95} cy={103} r={28} fill="url(#lensglassSquare)"/>
168
- <react_native_svg_1.Path d="M77 87 A28 28 0 0 1 106 79" fill="none" stroke="#ffffff" strokeWidth={4} strokeLinecap="round" strokeOpacity={0.5}/>
169
- <react_native_svg_1.Line x1={75} y1={123} x2={54} y2={147} stroke="#0A0F1C" strokeWidth={14} strokeLinecap="round"/>
170
- <react_native_svg_1.Line x1={75} y1={123} x2={54} y2={147} stroke="url(#beamSquare)" strokeWidth={8.5} strokeLinecap="round"/>
171
- <react_native_svg_1.Circle cx={95} cy={103} r={28} fill="none" stroke="url(#beamSquare)" strokeWidth={7}/>
104
+ {/* Magnifier Glass Ring & Handle */}
105
+ <react_native_svg_1.Line x1="76" y1="124" x2="55" y2="148" stroke="#0F172A" strokeWidth="12" strokeLinecap="round"/>
106
+ <react_native_svg_1.Line x1="76" y1="124" x2="55" y2="148" stroke="url(#bs_beam)" strokeWidth="7" strokeLinecap="round"/>
107
+ <react_native_svg_1.Circle cx="96" cy="104" r="28" fill="#38BDF8" fillOpacity={0.12} stroke="url(#bs_beam)" strokeWidth="6"/>
172
108
 
173
- {/* rosy cheeks */}
174
- <react_native_svg_1.Ellipse cx={83} cy={127} rx={9} ry={6} fill="url(#blushSquare)"/>
175
- <react_native_svg_1.Ellipse cx={167} cy={122} rx={9} ry={6} fill="url(#blushSquare)"/>
176
- </react_native_svg_1.G>
109
+ {/* Beak */}
110
+ <react_native_svg_1.Path d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z" fill="url(#bs_beak)"/>
177
111
  </react_native_svg_1.default>);
178
112
  };
179
113
  exports.BrandSquareIcon = BrandSquareIcon;
@@ -36,24 +36,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.TelemetryConsentModal = void 0;
37
37
  const react_1 = __importStar(require("react"));
38
38
  const react_native_1 = require("react-native");
39
- const react_native_svg_1 = __importStar(require("react-native-svg"));
40
39
  const BrandSquareIcon_1 = require("../BrandSquareIcon");
40
+ const NetworkIcons_1 = require("../NetworkIcons");
41
41
  const telemetry_1 = require("../../helpers/telemetry");
42
- // ─── Inline Crisp SVG Icons ───────────────────────────────────────────────────
43
- const ShieldCheckSvg = ({ size = 15, color = '#7C3AED' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
44
- <react_native_svg_1.Path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
45
- <react_native_svg_1.Path d="M9 12l2 2 4-4" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
46
- </react_native_svg_1.default>);
47
- const CheckSvg = ({ size = 14, color = '#FFFFFF' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
48
- <react_native_svg_1.Path d="M20 6L9 17l-5-5" stroke={color} strokeWidth="2.4" strokeLinecap="round" strokeLinejoin="round"/>
49
- </react_native_svg_1.default>);
50
- const CloseSvg = ({ size = 13, color = '#64748B' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
51
- <react_native_svg_1.Path d="M18 6L6 18M6 6l12 12" stroke={color} strokeWidth="2.2" strokeLinecap="round" strokeLinejoin="round"/>
52
- </react_native_svg_1.default>);
53
- const GearSvg = ({ size = 13, color = '#6366F1' }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
54
- <react_native_svg_1.Path d="M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
55
- <react_native_svg_1.Path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1Z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
56
- </react_native_svg_1.default>);
57
42
  const TelemetryConsentModal = () => {
58
43
  const [visible, setVisible] = (0, react_1.useState)(false);
59
44
  const fadeAnim = (0, react_1.useState)(new react_native_1.Animated.Value(0))[0];
@@ -116,7 +101,7 @@ const TelemetryConsentModal = () => {
116
101
  ]}>
117
102
  {/* Top-Right Dismiss Icon Button */}
118
103
  <react_native_1.TouchableOpacity style={styles.topCloseButton} onPress={() => handleDecision(false)} hitSlop={10} activeOpacity={0.7}>
119
- <CloseSvg size={13} color="#64748B"/>
104
+ <NetworkIcons_1.ClearIcon size={12} color="#64748B"/>
120
105
  </react_native_1.TouchableOpacity>
121
106
 
122
107
  {/* Centered Enlarged Square Brand Icon Header */}
@@ -130,7 +115,7 @@ const TelemetryConsentModal = () => {
130
115
 
131
116
  {/* Subheading instruction hint badge */}
132
117
  <react_native_1.View style={styles.hintBadge}>
133
- <GearSvg size={12} color="#6366F1"/>
118
+ <NetworkIcons_1.SettingsIcon size={12} color="#6366F1"/>
134
119
  <react_native_1.Text style={styles.hintBadgeText}>
135
120
  You can enable or disable this anytime in Settings
136
121
  </react_native_1.Text>
@@ -147,7 +132,7 @@ const TelemetryConsentModal = () => {
147
132
  {/* Privacy Callout Box */}
148
133
  <react_native_1.View style={styles.privacyBadge}>
149
134
  <react_native_1.View style={styles.privacyShieldWrapper}>
150
- <ShieldCheckSvg size={15} color="#7C3AED"/>
135
+ <NetworkIcons_1.ShieldCheckIcon size={15} color="#7C3AED"/>
151
136
  </react_native_1.View>
152
137
  <react_native_1.Text style={styles.privacyText}>
153
138
  <react_native_1.Text style={styles.privacyHighlight}>Privacy Guaranteed:</react_native_1.Text> We
@@ -159,12 +144,12 @@ const TelemetryConsentModal = () => {
159
144
  {/* Enhanced Action Buttons with Icons */}
160
145
  <react_native_1.View style={styles.buttonRow}>
161
146
  <react_native_1.TouchableOpacity style={styles.declineButton} onPress={() => handleDecision(false)} activeOpacity={0.7}>
162
- <CloseSvg size={12} color="#64748B"/>
147
+ <NetworkIcons_1.ClearIcon size={12} color="#64748B"/>
163
148
  <react_native_1.Text style={styles.declineText}>Not Now</react_native_1.Text>
164
149
  </react_native_1.TouchableOpacity>
165
150
 
166
151
  <react_native_1.TouchableOpacity style={styles.allowButton} onPress={() => handleDecision(true)} activeOpacity={0.85}>
167
- <CheckSvg size={13} color="#FFFFFF"/>
152
+ <NetworkIcons_1.CheckIcon size={13} color="#FFFFFF"/>
168
153
  <react_native_1.Text style={styles.allowText}>Allow & Share</react_native_1.Text>
169
154
  </react_native_1.TouchableOpacity>
170
155
  </react_native_1.View>
@@ -1 +1 @@
1
- export declare const LIB_VERSION = "2.2.4";
1
+ export declare const LIB_VERSION = "2.2.5";
@@ -3,4 +3,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LIB_VERSION = void 0;
4
4
  // AUTO-GENERATED FILE — do not edit by hand.
5
5
  // Regenerated from package.json on every build by scripts/gen-version.js.
6
- exports.LIB_VERSION = '2.2.4';
6
+ exports.LIB_VERSION = '2.2.5';
@@ -12,10 +12,16 @@ const isNativeModuleAvailable = () => {
12
12
  return !!NativeModule;
13
13
  };
14
14
  exports.isNativeModuleAvailable = isNativeModuleAvailable;
15
- const eventTarget = react_native_1.NativeModules.NetworkInspectorModule || NativeNetworkInspector_1.default;
16
- const nativeEmitter = eventTarget
17
- ? new react_native_1.NativeEventEmitter(eventTarget)
18
- : null;
15
+ const getNativeEmitter = () => {
16
+ try {
17
+ if (react_native_1.NativeModules && react_native_1.NativeModules.NetworkInspectorModule) {
18
+ return new react_native_1.NativeEventEmitter(react_native_1.NativeModules.NetworkInspectorModule);
19
+ }
20
+ }
21
+ catch (e) { }
22
+ return null;
23
+ };
24
+ const nativeEmitter = getNativeEmitter();
19
25
  /**
20
26
  * Retrieves low-level native hardware and system metrics (RAM, Heap, Disk, Battery, CPU).
21
27
  */
@@ -56,18 +62,27 @@ exports.enableNativeCrashProtection = enableNativeCrashProtection;
56
62
  * Subscribes to fatal native crash events caught by the iOS / Kotlin exception handlers.
57
63
  */
58
64
  const subscribeNativeCrashes = (callback) => {
59
- if (!nativeEmitter) {
60
- return () => { };
61
- }
65
+ const cleanups = [];
62
66
  try {
63
- const subscription = nativeEmitter.addListener('onNativeCrash', callback);
64
- return () => {
65
- subscription.remove();
66
- };
67
- }
68
- catch (e) {
69
- return () => { };
70
- }
67
+ const sub1 = react_native_1.DeviceEventEmitter.addListener('onNativeCrash', callback);
68
+ cleanups.push(() => sub1.remove());
69
+ }
70
+ catch (e) { }
71
+ if (nativeEmitter) {
72
+ try {
73
+ const sub2 = nativeEmitter.addListener('onNativeCrash', callback);
74
+ cleanups.push(() => sub2.remove());
75
+ }
76
+ catch (e) { }
77
+ }
78
+ return () => {
79
+ cleanups.forEach(fn => {
80
+ try {
81
+ fn();
82
+ }
83
+ catch (e) { }
84
+ });
85
+ };
71
86
  };
72
87
  exports.subscribeNativeCrashes = subscribeNativeCrashes;
73
88
  /**
@@ -123,18 +138,27 @@ exports.setNativeFloatingButtonBadge = setNativeFloatingButtonBadge;
123
138
  * Subscribes to tap events on the native floating button.
124
139
  */
125
140
  const subscribeNativeFloatingButtonPress = (callback) => {
126
- if (!nativeEmitter) {
127
- return () => { };
128
- }
141
+ const cleanups = [];
129
142
  try {
130
- const subscription = nativeEmitter.addListener('onFloatingButtonPress', callback);
131
- return () => {
132
- subscription.remove();
133
- };
134
- }
135
- catch (e) {
136
- return () => { };
137
- }
143
+ const sub1 = react_native_1.DeviceEventEmitter.addListener('onFloatingButtonPress', callback);
144
+ cleanups.push(() => sub1.remove());
145
+ }
146
+ catch (e) { }
147
+ if (nativeEmitter) {
148
+ try {
149
+ const sub2 = nativeEmitter.addListener('onFloatingButtonPress', callback);
150
+ cleanups.push(() => sub2.remove());
151
+ }
152
+ catch (e) { }
153
+ }
154
+ return () => {
155
+ cleanups.forEach(fn => {
156
+ try {
157
+ fn();
158
+ }
159
+ catch (e) { }
160
+ });
161
+ };
138
162
  };
139
163
  exports.subscribeNativeFloatingButtonPress = subscribeNativeFloatingButtonPress;
140
164
  /**
@@ -1,140 +1,74 @@
1
1
  import React from 'react';
2
- import Svg, { Circle, Path, G, Defs, LinearGradient, RadialGradient, Stop, Rect, Ellipse, Line } from 'react-native-svg';
2
+ import Svg, { Circle, Path, G, Defs, LinearGradient, RadialGradient, Stop, Rect, Line, } from 'react-native-svg';
3
3
  export const BrandSquareIcon = ({ size = 56 }) => {
4
4
  return (<Svg width={size} height={size} viewBox="0 0 256 256" fill="none">
5
5
  <Defs>
6
- <LinearGradient id="tileSquare" x1="30" y1="30" x2="210" y2="222" gradientUnits="userSpaceOnUse">
7
- <Stop offset="0" stopColor="#141B33"/>
8
- <Stop offset="1" stopColor="#0A0E1C"/>
6
+ <LinearGradient id="bs_tile" x1="0" y1="0" x2="256" y2="256" gradientUnits="userSpaceOnUse">
7
+ <Stop offset="0" stopColor="#1E1B4B"/>
8
+ <Stop offset="1" stopColor="#0F172A"/>
9
9
  </LinearGradient>
10
- <LinearGradient id="edgeSquare" x1="14" y1="22" x2="220" y2="228" gradientUnits="userSpaceOnUse">
11
- <Stop offset="0" stopColor="#3A4E7A"/>
12
- <Stop offset="1" stopColor="#1A2238"/>
10
+ <LinearGradient id="bs_beam" x1="0" y1="0" x2="256" y2="256" gradientUnits="userSpaceOnUse">
11
+ <Stop offset="0" stopColor="#818CF8"/>
12
+ <Stop offset="0.5" stopColor="#A855F7"/>
13
+ <Stop offset="1" stopColor="#EC4899"/>
13
14
  </LinearGradient>
14
- <LinearGradient id="beamSquare" x1="70" y1="74" x2="194" y2="187" gradientUnits="userSpaceOnUse">
15
- <Stop offset="0" stopColor="#5EEAD4"/>
16
- <Stop offset="0.5" stopColor="#38BDF8"/>
17
- <Stop offset="1" stopColor="#A78BFA"/>
15
+ <LinearGradient id="bs_body" x1="0" y1="0" x2="0" y2="256" gradientUnits="userSpaceOnUse">
16
+ <Stop offset="0" stopColor="#312E81"/>
17
+ <Stop offset="1" stopColor="#1E1B4B"/>
18
18
  </LinearGradient>
19
- <RadialGradient id="haloSquare" cx="0.5" cy="0.45" r="0.55">
20
- <Stop offset="0" stopColor="#38BDF8" stopOpacity={0.12}/>
21
- <Stop offset="1" stopColor="#38BDF8" stopOpacity={0}/>
19
+ <RadialGradient id="bs_iris" cx="40%" cy="40%" r="60%">
20
+ <Stop offset="0" stopColor="#FDE047"/>
21
+ <Stop offset="0.7" stopColor="#F59E0B"/>
22
+ <Stop offset="1" stopColor="#D97706"/>
22
23
  </RadialGradient>
23
- <LinearGradient id="owlbodySquare" x1="78" y1="60" x2="178" y2="186" gradientUnits="userSpaceOnUse">
24
- <Stop offset="0" stopColor="#202E55"/>
25
- <Stop offset="1" stopColor="#10182F"/>
26
- </LinearGradient>
27
- <LinearGradient id="beakSquare" x1="120" y1="151" x2="136" y2="168" gradientUnits="userSpaceOnUse">
28
- <Stop offset="0" stopColor="#FCD34D"/>
29
- <Stop offset="1" stopColor="#FB923C"/>
30
- </LinearGradient>
31
- <RadialGradient id="irisSquare" cx="0.42" cy="0.38" r="0.72">
32
- <Stop offset="0" stopColor="#FDE68A"/>
33
- <Stop offset="0.5" stopColor="#FBBF24"/>
34
- <Stop offset="1" stopColor="#F59E0B"/>
35
- </RadialGradient>
36
- <RadialGradient id="blushSquare" cx="0.5" cy="0.5" r="0.5">
37
- <Stop offset="0" stopColor="#FB7185" stopOpacity={0.5}/>
38
- <Stop offset="1" stopColor="#FB7185" stopOpacity={0}/>
39
- </RadialGradient>
40
- <LinearGradient id="wingSquare" x1="70" y1="120" x2="190" y2="206" gradientUnits="userSpaceOnUse">
41
- <Stop offset="0" stopColor="#1A2545"/>
42
- <Stop offset="1" stopColor="#0E1530"/>
43
- </LinearGradient>
44
- <LinearGradient id="faceplateSquare" x1="70" y1="72" x2="186" y2="152" gradientUnits="userSpaceOnUse">
45
- <Stop offset="0" stopColor="#35497E"/>
46
- <Stop offset="1" stopColor="#1E2D4D"/>
47
- </LinearGradient>
48
- <RadialGradient id="lensglassSquare" cx="0.4" cy="0.32" r="0.75">
49
- <Stop offset="0" stopColor="#7DE8FF" stopOpacity={0.22}/>
50
- <Stop offset="0.7" stopColor="#7DE8FF" stopOpacity={0.05}/>
51
- <Stop offset="1" stopColor="#7DE8FF" stopOpacity={0}/>
52
- </RadialGradient>
53
- <LinearGradient id="bellySquare" x1="94" y1="126" x2="162" y2="212" gradientUnits="userSpaceOnUse">
54
- <Stop offset="0" stopColor="#33477A"/>
55
- <Stop offset="1" stopColor="#1D2B53"/>
24
+ <LinearGradient id="bs_beak" x1="0" y1="0" x2="0" y2="20" gradientUnits="userSpaceOnUse">
25
+ <Stop offset="0" stopColor="#FBBF24"/>
26
+ <Stop offset="1" stopColor="#F97316"/>
56
27
  </LinearGradient>
57
28
  </Defs>
58
- <Rect x={8} y={8} width={240} height={240} rx={58} fill="url(#tileSquare)"/>
59
- <Rect x={8.6} y={8.6} width={238.8} height={238.8} rx={57.4} fill="none" stroke="url(#edgeSquare)" strokeOpacity={0.6} strokeWidth={1.2}/>
60
- <Circle cx={128} cy={128} r={104} fill="url(#haloSquare)"/>
61
- <G transform="translate(128 128) scale(1.16) translate(-128 -134)">
62
- {/* wing 1 */}
63
- <Path d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z" fill="url(#wingSquare)" stroke="url(#beamSquare)" strokeWidth={2.5} strokeOpacity={0.45}/>
64
- {/* wing 2 */}
65
- <Path d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z" fill="url(#wingSquare)" stroke="url(#beamSquare)" strokeWidth={2.5} strokeOpacity={0.45}/>
66
- {/* body */}
67
- <Path d="M62 150 C58 104 70 70 90 58 L98 42 L116 62 Q128 57 140 62 L158 42 L166 58 C186 70 198 104 194 150 C198 180 184 204 152 212 C140 216 116 216 104 212 C72 204 58 180 62 150 Z" fill="url(#owlbodySquare)" stroke="url(#beamSquare)" strokeWidth={4} strokeLinejoin="round"/>
68
-
69
- {/* inner-ear shadows */}
70
- <Path d="M99 48 L114 62 L104 63 L98 55 Z" fill="#080F22" opacity={0.5}/>
71
- <Path d="M157 48 L142 62 L152 63 L158 55 Z" fill="#080F22" opacity={0.5}/>
72
-
73
- {/* wing feather lines */}
74
- <G stroke="#22325A" strokeWidth={2.2} fill="none" strokeLinecap="round" opacity={0.75}>
75
- <Path d="M80 138 q-5 26 3 50"/>
76
- <Path d="M90 134 q-4 26 3 48"/>
77
- <Path d="M176 138 q5 26 -3 50"/>
78
- <Path d="M166 134 q4 26 -3 48"/>
79
- </G>
80
29
 
81
- {/* belly plate */}
82
- <Path d="M128 126 C151 126 164 148 162 174 C160 198 146 212 128 212 C110 212 96 198 94 174 C92 148 105 126 128 126 Z" fill="url(#bellySquare)"/>
30
+ {/* Rounded App Tile Background */}
31
+ <Rect x="8" y="8" width="240" height="240" rx="54" fill="url(#bs_tile)"/>
32
+ <Rect x="8" y="8" width="240" height="240" rx="54" fill="none" stroke="url(#bs_beam)" strokeWidth="3" strokeOpacity={0.4}/>
83
33
 
84
- {/* belly feather scallops */}
85
- <G stroke="#3E588C" strokeWidth={2.3} fill="none" strokeLinecap="round" opacity={0.4}>
86
- <Path d="M110 154 Q118 162 126 154"/>
87
- <Path d="M126 154 Q134 162 142 154"/>
88
- <Path d="M142 154 Q150 162 158 154"/>
89
- <Path d="M102 172 Q110 180 118 172"/>
90
- <Path d="M150 172 Q158 180 166 172"/>
91
- <Path d="M112 190 Q120 198 128 190"/>
92
- <Path d="M128 190 Q136 198 144 190"/>
93
- </G>
34
+ {/* Owl Outer Body Contour */}
35
+ <Path d="M64 148 C60 102 72 68 92 56 L100 40 L118 60 Q128 55 138 60 L156 40 L164 56 C184 68 196 102 192 148 C196 178 182 202 150 210 C138 214 118 214 106 210 C74 202 60 178 64 148 Z" fill="url(#bs_body)" stroke="url(#bs_beam)" strokeWidth="4" strokeLinejoin="round"/>
94
36
 
95
- {/* developer chest screen + code emblem */}
96
- <Rect x={107} y={161} width={42} height={32} rx={9} fill="#0C1426" stroke="url(#beamSquare)" strokeWidth={2} strokeOpacity={0.7}/>
97
- <G stroke="#8FD0EC" strokeWidth={3} strokeLinecap="round" strokeLinejoin="round" fill="none">
98
- <Path d="M122 170 L115 177 L122 184"/>
99
- <Path d="M134 170 L141 177 L134 184"/>
100
- <Path d="M130 168 L126 186"/>
101
- </G>
37
+ {/* Wings */}
38
+ <Path d="M74 124 C58 154 60 190 86 204 C79 176 77 148 88 126 Z" fill="#1E1B4B" stroke="#818CF8" strokeWidth="2.5" strokeOpacity={0.6}/>
39
+ <Path d="M182 124 C198 154 196 190 170 204 C177 176 179 148 168 126 Z" fill="#1E1B4B" stroke="#818CF8" strokeWidth="2.5" strokeOpacity={0.6}/>
102
40
 
103
- {/* facial disc */}
104
- <Path d="M128 92 C148 70 186 78 186 108 C186 134 160 152 128 152 C96 152 70 134 70 108 C70 78 108 70 128 92 Z" fill="url(#faceplateSquare)" stroke="#52709E" strokeWidth={2.6} strokeOpacity={0.7}/>
105
- {/* facial-disc centre ridge */}
106
- <Path d="M128 96 L128 120" stroke="#52709E" strokeWidth={2} strokeLinecap="round" strokeOpacity={0.45}/>
41
+ {/* Belly Screen Plate */}
42
+ <Rect x="105" y="160" width="46" height="34" rx="8" fill="#0B0F19" stroke="url(#bs_beam)" strokeWidth="2"/>
43
+ {/* Code Emblem on Chest */}
44
+ <G stroke="#A5B4FC" strokeWidth="2.8" strokeLinecap="round" strokeLinejoin="round" fill="none">
45
+ <Path d="M120 171 L114 177 L120 183"/>
46
+ <Path d="M136 171 L142 177 L136 183"/>
47
+ <Path d="M130 169 L126 185" stroke="#EC4899"/>
48
+ </G>
107
49
 
108
- {/* feet */}
109
- <G stroke="url(#beakSquare)" strokeWidth={5} strokeLinecap="round" fill="none">
110
- <Path d="M111 209 L105 224 M111 209 L111 226 M111 209 L117 224"/>
111
- <Path d="M145 209 L139 224 M145 209 L145 226 M145 209 L151 224"/>
112
- </G>
50
+ {/* Facial Disc & Mask */}
51
+ <Path d="M128 92 C148 70 186 78 186 108 C186 134 160 152 128 152 C96 152 70 134 70 108 C70 78 108 70 128 92 Z" fill="#2E1065" stroke="#818CF8" strokeWidth="2" strokeOpacity={0.6}/>
113
52
 
114
- {/* normal eye: big cute yellow iris, dark pupil, sparkles */}
115
- <Circle cx={153} cy={107} r={17} fill="url(#irisSquare)" stroke="#1A1205" strokeWidth={2.2}/>
116
- <Circle cx={153} cy={108} r={8.2} fill="#0A0E18"/>
117
- <Circle cx={156.2} cy={104} r={3.1} fill="#ffffff" opacity={0.95}/>
118
- <Circle cx={149.6} cy={111} r={1.6} fill="#ffffff" opacity={0.7}/>
53
+ {/* Right Eye (Normal Cute Eye) */}
54
+ <Circle cx="154" cy="108" r="17" fill="url(#bs_iris)" stroke="#0F172A" strokeWidth="2"/>
55
+ <Circle cx="154" cy="108" r="8.5" fill="#0F172A"/>
56
+ <Circle cx="157" cy="105" r="3" fill="#FFFFFF"/>
57
+ <Circle cx="151" cy="111" r="1.5" fill="#FFFFFF" opacity={0.8}/>
119
58
 
120
- {/* beak */}
121
- <Path d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z" fill="url(#beakSquare)"/>
59
+ {/* Left Eye (Diagnostic Magnifier Lens) */}
60
+ <Circle cx="96" cy="104" r="20" fill="url(#bs_iris)" stroke="#0F172A" strokeWidth="2"/>
61
+ <Circle cx="96" cy="104" r="10" fill="#0F172A"/>
62
+ <Circle cx="99.5" cy="100.5" r="3.5" fill="#FFFFFF"/>
63
+ <Circle cx="92" cy="107" r="1.8" fill="#FFFFFF" opacity={0.8}/>
122
64
 
123
- {/* magnifier held to the big (debug) eye */}
124
- <Circle cx={95} cy={103} r={20} fill="url(#irisSquare)" stroke="#1A1205" strokeWidth={2.6}/>
125
- <Circle cx={95} cy={104} r={10} fill="#0A0E18"/>
126
- <Circle cx={98.6} cy={100} r={3.4} fill="#ffffff" opacity={0.95}/>
127
- <Circle cx={91} cy={107} r={1.8} fill="#ffffff" opacity={0.7}/>
128
- <Circle cx={95} cy={103} r={28} fill="url(#lensglassSquare)"/>
129
- <Path d="M77 87 A28 28 0 0 1 106 79" fill="none" stroke="#ffffff" strokeWidth={4} strokeLinecap="round" strokeOpacity={0.5}/>
130
- <Line x1={75} y1={123} x2={54} y2={147} stroke="#0A0F1C" strokeWidth={14} strokeLinecap="round"/>
131
- <Line x1={75} y1={123} x2={54} y2={147} stroke="url(#beamSquare)" strokeWidth={8.5} strokeLinecap="round"/>
132
- <Circle cx={95} cy={103} r={28} fill="none" stroke="url(#beamSquare)" strokeWidth={7}/>
65
+ {/* Magnifier Glass Ring & Handle */}
66
+ <Line x1="76" y1="124" x2="55" y2="148" stroke="#0F172A" strokeWidth="12" strokeLinecap="round"/>
67
+ <Line x1="76" y1="124" x2="55" y2="148" stroke="url(#bs_beam)" strokeWidth="7" strokeLinecap="round"/>
68
+ <Circle cx="96" cy="104" r="28" fill="#38BDF8" fillOpacity={0.12} stroke="url(#bs_beam)" strokeWidth="6"/>
133
69
 
134
- {/* rosy cheeks */}
135
- <Ellipse cx={83} cy={127} rx={9} ry={6} fill="url(#blushSquare)"/>
136
- <Ellipse cx={167} cy={122} rx={9} ry={6} fill="url(#blushSquare)"/>
137
- </G>
70
+ {/* Beak */}
71
+ <Path d="M123.5 123 Q128 121 132.5 123 Q131 132 128 134.5 Q125 132 123.5 123 Z" fill="url(#bs_beak)"/>
138
72
  </Svg>);
139
73
  };
140
74
  export default BrandSquareIcon;