@g9tm/app-diagnostic-tauri 0.0.0-stage → 0.5.0
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/Cargo.toml +18 -0
- package/README.md +21 -3
- package/android/build.gradle.kts +29 -0
- package/android/proguard-rules.pro +2 -0
- package/android/settings.gradle +2 -0
- package/android/src/main/AndroidManifest.xml +5 -0
- package/android/src/main/java/com/g9tm/appdiagnostic/G9AppDiagnosticHost.kt +131 -0
- package/android/src/main/java/com/g9tm/appdiagnostic/RemoteTouch.kt +67 -0
- package/android/src/main/java/com/g9tm/appdiagnostic/ScreenRecorder.kt +250 -0
- package/android/src/main/java/com/g9tm/appdiagnostic/TouchWatcher.kt +129 -0
- package/android/src/main/java/com/g9tm/appdiagnostic/VoiceRecorder.kt +82 -0
- package/android/src/main/java/com/g9tm/appdiagnostic/WindowCapture.kt +92 -0
- package/android/src/main/java/com/g9tm/appdiagnostic/core/TouchCore.kt +270 -0
- package/android/src/main/java/com/g9tm/appdiagnostic/tauri/G9DiagnosticPlugin.kt +180 -0
- package/build.rs +13 -0
- package/ios/Package.swift +20 -0
- package/ios/Sources/G9AppDiagnosticCore/G9AppDiagnosticHost.m +72 -0
- package/ios/Sources/G9AppDiagnosticCore/G9DiagnosticRecorders.m +514 -0
- package/ios/Sources/G9AppDiagnosticCore/include/G9AppDiagnosticHost.h +32 -0
- package/ios/Sources/G9AppDiagnosticCore/include/G9DiagnosticRecorders.h +36 -0
- package/ios/Sources/G9DiagnosticPlugin/G9DiagnosticPlugin.swift +135 -0
- package/package.json +43 -6
- package/permissions/autogenerated/commands/capabilities.toml +13 -0
- package/permissions/autogenerated/commands/read_chunk.toml +13 -0
- package/permissions/autogenerated/commands/registerListener.toml +13 -0
- package/permissions/autogenerated/commands/remove.toml +13 -0
- package/permissions/autogenerated/commands/remove_listener.toml +13 -0
- package/permissions/autogenerated/commands/screenshot.toml +13 -0
- package/permissions/autogenerated/commands/start_screen.toml +13 -0
- package/permissions/autogenerated/commands/start_voice.toml +13 -0
- package/permissions/autogenerated/commands/state.toml +13 -0
- package/permissions/autogenerated/commands/stop_screen.toml +13 -0
- package/permissions/autogenerated/commands/stop_voice.toml +13 -0
- package/permissions/autogenerated/commands/touch.toml +13 -0
- package/permissions/autogenerated/commands/watch_touches.toml +13 -0
- package/permissions/autogenerated/reference.md +367 -0
- package/permissions/default.toml +9 -0
- package/permissions/schemas/schema.json +462 -0
- package/src/index.ts +97 -0
- package/src/lib.rs +119 -0
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
## Default Permission
|
|
2
|
+
|
|
3
|
+
Every command of the tester mode: the recorders, the screenshot, the tester gesture (its event channel too), the remote touch and the plugin's own files.
|
|
4
|
+
|
|
5
|
+
#### This default permission set includes the following:
|
|
6
|
+
|
|
7
|
+
- `allow-capabilities`
|
|
8
|
+
- `allow-state`
|
|
9
|
+
- `allow-start-screen`
|
|
10
|
+
- `allow-stop-screen`
|
|
11
|
+
- `allow-start-voice`
|
|
12
|
+
- `allow-stop-voice`
|
|
13
|
+
- `allow-screenshot`
|
|
14
|
+
- `allow-watch-touches`
|
|
15
|
+
- `allow-touch`
|
|
16
|
+
- `allow-read-chunk`
|
|
17
|
+
- `allow-remove`
|
|
18
|
+
- `allow-registerListener`
|
|
19
|
+
- `allow-remove-listener`
|
|
20
|
+
|
|
21
|
+
## Permission Table
|
|
22
|
+
|
|
23
|
+
<table>
|
|
24
|
+
<tr>
|
|
25
|
+
<th>Identifier</th>
|
|
26
|
+
<th>Description</th>
|
|
27
|
+
</tr>
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
<tr>
|
|
31
|
+
<td>
|
|
32
|
+
|
|
33
|
+
`g9-diagnostic:allow-capabilities`
|
|
34
|
+
|
|
35
|
+
</td>
|
|
36
|
+
<td>
|
|
37
|
+
|
|
38
|
+
Enables the capabilities command without any pre-configured scope.
|
|
39
|
+
|
|
40
|
+
</td>
|
|
41
|
+
</tr>
|
|
42
|
+
|
|
43
|
+
<tr>
|
|
44
|
+
<td>
|
|
45
|
+
|
|
46
|
+
`g9-diagnostic:deny-capabilities`
|
|
47
|
+
|
|
48
|
+
</td>
|
|
49
|
+
<td>
|
|
50
|
+
|
|
51
|
+
Denies the capabilities command without any pre-configured scope.
|
|
52
|
+
|
|
53
|
+
</td>
|
|
54
|
+
</tr>
|
|
55
|
+
|
|
56
|
+
<tr>
|
|
57
|
+
<td>
|
|
58
|
+
|
|
59
|
+
`g9-diagnostic:allow-read-chunk`
|
|
60
|
+
|
|
61
|
+
</td>
|
|
62
|
+
<td>
|
|
63
|
+
|
|
64
|
+
Enables the read_chunk command without any pre-configured scope.
|
|
65
|
+
|
|
66
|
+
</td>
|
|
67
|
+
</tr>
|
|
68
|
+
|
|
69
|
+
<tr>
|
|
70
|
+
<td>
|
|
71
|
+
|
|
72
|
+
`g9-diagnostic:deny-read-chunk`
|
|
73
|
+
|
|
74
|
+
</td>
|
|
75
|
+
<td>
|
|
76
|
+
|
|
77
|
+
Denies the read_chunk command without any pre-configured scope.
|
|
78
|
+
|
|
79
|
+
</td>
|
|
80
|
+
</tr>
|
|
81
|
+
|
|
82
|
+
<tr>
|
|
83
|
+
<td>
|
|
84
|
+
|
|
85
|
+
`g9-diagnostic:allow-registerListener`
|
|
86
|
+
|
|
87
|
+
</td>
|
|
88
|
+
<td>
|
|
89
|
+
|
|
90
|
+
Enables the registerListener command without any pre-configured scope.
|
|
91
|
+
|
|
92
|
+
</td>
|
|
93
|
+
</tr>
|
|
94
|
+
|
|
95
|
+
<tr>
|
|
96
|
+
<td>
|
|
97
|
+
|
|
98
|
+
`g9-diagnostic:deny-registerListener`
|
|
99
|
+
|
|
100
|
+
</td>
|
|
101
|
+
<td>
|
|
102
|
+
|
|
103
|
+
Denies the registerListener command without any pre-configured scope.
|
|
104
|
+
|
|
105
|
+
</td>
|
|
106
|
+
</tr>
|
|
107
|
+
|
|
108
|
+
<tr>
|
|
109
|
+
<td>
|
|
110
|
+
|
|
111
|
+
`g9-diagnostic:allow-remove`
|
|
112
|
+
|
|
113
|
+
</td>
|
|
114
|
+
<td>
|
|
115
|
+
|
|
116
|
+
Enables the remove command without any pre-configured scope.
|
|
117
|
+
|
|
118
|
+
</td>
|
|
119
|
+
</tr>
|
|
120
|
+
|
|
121
|
+
<tr>
|
|
122
|
+
<td>
|
|
123
|
+
|
|
124
|
+
`g9-diagnostic:deny-remove`
|
|
125
|
+
|
|
126
|
+
</td>
|
|
127
|
+
<td>
|
|
128
|
+
|
|
129
|
+
Denies the remove command without any pre-configured scope.
|
|
130
|
+
|
|
131
|
+
</td>
|
|
132
|
+
</tr>
|
|
133
|
+
|
|
134
|
+
<tr>
|
|
135
|
+
<td>
|
|
136
|
+
|
|
137
|
+
`g9-diagnostic:allow-remove-listener`
|
|
138
|
+
|
|
139
|
+
</td>
|
|
140
|
+
<td>
|
|
141
|
+
|
|
142
|
+
Enables the remove_listener command without any pre-configured scope.
|
|
143
|
+
|
|
144
|
+
</td>
|
|
145
|
+
</tr>
|
|
146
|
+
|
|
147
|
+
<tr>
|
|
148
|
+
<td>
|
|
149
|
+
|
|
150
|
+
`g9-diagnostic:deny-remove-listener`
|
|
151
|
+
|
|
152
|
+
</td>
|
|
153
|
+
<td>
|
|
154
|
+
|
|
155
|
+
Denies the remove_listener command without any pre-configured scope.
|
|
156
|
+
|
|
157
|
+
</td>
|
|
158
|
+
</tr>
|
|
159
|
+
|
|
160
|
+
<tr>
|
|
161
|
+
<td>
|
|
162
|
+
|
|
163
|
+
`g9-diagnostic:allow-screenshot`
|
|
164
|
+
|
|
165
|
+
</td>
|
|
166
|
+
<td>
|
|
167
|
+
|
|
168
|
+
Enables the screenshot command without any pre-configured scope.
|
|
169
|
+
|
|
170
|
+
</td>
|
|
171
|
+
</tr>
|
|
172
|
+
|
|
173
|
+
<tr>
|
|
174
|
+
<td>
|
|
175
|
+
|
|
176
|
+
`g9-diagnostic:deny-screenshot`
|
|
177
|
+
|
|
178
|
+
</td>
|
|
179
|
+
<td>
|
|
180
|
+
|
|
181
|
+
Denies the screenshot command without any pre-configured scope.
|
|
182
|
+
|
|
183
|
+
</td>
|
|
184
|
+
</tr>
|
|
185
|
+
|
|
186
|
+
<tr>
|
|
187
|
+
<td>
|
|
188
|
+
|
|
189
|
+
`g9-diagnostic:allow-start-screen`
|
|
190
|
+
|
|
191
|
+
</td>
|
|
192
|
+
<td>
|
|
193
|
+
|
|
194
|
+
Enables the start_screen command without any pre-configured scope.
|
|
195
|
+
|
|
196
|
+
</td>
|
|
197
|
+
</tr>
|
|
198
|
+
|
|
199
|
+
<tr>
|
|
200
|
+
<td>
|
|
201
|
+
|
|
202
|
+
`g9-diagnostic:deny-start-screen`
|
|
203
|
+
|
|
204
|
+
</td>
|
|
205
|
+
<td>
|
|
206
|
+
|
|
207
|
+
Denies the start_screen command without any pre-configured scope.
|
|
208
|
+
|
|
209
|
+
</td>
|
|
210
|
+
</tr>
|
|
211
|
+
|
|
212
|
+
<tr>
|
|
213
|
+
<td>
|
|
214
|
+
|
|
215
|
+
`g9-diagnostic:allow-start-voice`
|
|
216
|
+
|
|
217
|
+
</td>
|
|
218
|
+
<td>
|
|
219
|
+
|
|
220
|
+
Enables the start_voice command without any pre-configured scope.
|
|
221
|
+
|
|
222
|
+
</td>
|
|
223
|
+
</tr>
|
|
224
|
+
|
|
225
|
+
<tr>
|
|
226
|
+
<td>
|
|
227
|
+
|
|
228
|
+
`g9-diagnostic:deny-start-voice`
|
|
229
|
+
|
|
230
|
+
</td>
|
|
231
|
+
<td>
|
|
232
|
+
|
|
233
|
+
Denies the start_voice command without any pre-configured scope.
|
|
234
|
+
|
|
235
|
+
</td>
|
|
236
|
+
</tr>
|
|
237
|
+
|
|
238
|
+
<tr>
|
|
239
|
+
<td>
|
|
240
|
+
|
|
241
|
+
`g9-diagnostic:allow-state`
|
|
242
|
+
|
|
243
|
+
</td>
|
|
244
|
+
<td>
|
|
245
|
+
|
|
246
|
+
Enables the state command without any pre-configured scope.
|
|
247
|
+
|
|
248
|
+
</td>
|
|
249
|
+
</tr>
|
|
250
|
+
|
|
251
|
+
<tr>
|
|
252
|
+
<td>
|
|
253
|
+
|
|
254
|
+
`g9-diagnostic:deny-state`
|
|
255
|
+
|
|
256
|
+
</td>
|
|
257
|
+
<td>
|
|
258
|
+
|
|
259
|
+
Denies the state command without any pre-configured scope.
|
|
260
|
+
|
|
261
|
+
</td>
|
|
262
|
+
</tr>
|
|
263
|
+
|
|
264
|
+
<tr>
|
|
265
|
+
<td>
|
|
266
|
+
|
|
267
|
+
`g9-diagnostic:allow-stop-screen`
|
|
268
|
+
|
|
269
|
+
</td>
|
|
270
|
+
<td>
|
|
271
|
+
|
|
272
|
+
Enables the stop_screen command without any pre-configured scope.
|
|
273
|
+
|
|
274
|
+
</td>
|
|
275
|
+
</tr>
|
|
276
|
+
|
|
277
|
+
<tr>
|
|
278
|
+
<td>
|
|
279
|
+
|
|
280
|
+
`g9-diagnostic:deny-stop-screen`
|
|
281
|
+
|
|
282
|
+
</td>
|
|
283
|
+
<td>
|
|
284
|
+
|
|
285
|
+
Denies the stop_screen command without any pre-configured scope.
|
|
286
|
+
|
|
287
|
+
</td>
|
|
288
|
+
</tr>
|
|
289
|
+
|
|
290
|
+
<tr>
|
|
291
|
+
<td>
|
|
292
|
+
|
|
293
|
+
`g9-diagnostic:allow-stop-voice`
|
|
294
|
+
|
|
295
|
+
</td>
|
|
296
|
+
<td>
|
|
297
|
+
|
|
298
|
+
Enables the stop_voice command without any pre-configured scope.
|
|
299
|
+
|
|
300
|
+
</td>
|
|
301
|
+
</tr>
|
|
302
|
+
|
|
303
|
+
<tr>
|
|
304
|
+
<td>
|
|
305
|
+
|
|
306
|
+
`g9-diagnostic:deny-stop-voice`
|
|
307
|
+
|
|
308
|
+
</td>
|
|
309
|
+
<td>
|
|
310
|
+
|
|
311
|
+
Denies the stop_voice command without any pre-configured scope.
|
|
312
|
+
|
|
313
|
+
</td>
|
|
314
|
+
</tr>
|
|
315
|
+
|
|
316
|
+
<tr>
|
|
317
|
+
<td>
|
|
318
|
+
|
|
319
|
+
`g9-diagnostic:allow-touch`
|
|
320
|
+
|
|
321
|
+
</td>
|
|
322
|
+
<td>
|
|
323
|
+
|
|
324
|
+
Enables the touch command without any pre-configured scope.
|
|
325
|
+
|
|
326
|
+
</td>
|
|
327
|
+
</tr>
|
|
328
|
+
|
|
329
|
+
<tr>
|
|
330
|
+
<td>
|
|
331
|
+
|
|
332
|
+
`g9-diagnostic:deny-touch`
|
|
333
|
+
|
|
334
|
+
</td>
|
|
335
|
+
<td>
|
|
336
|
+
|
|
337
|
+
Denies the touch command without any pre-configured scope.
|
|
338
|
+
|
|
339
|
+
</td>
|
|
340
|
+
</tr>
|
|
341
|
+
|
|
342
|
+
<tr>
|
|
343
|
+
<td>
|
|
344
|
+
|
|
345
|
+
`g9-diagnostic:allow-watch-touches`
|
|
346
|
+
|
|
347
|
+
</td>
|
|
348
|
+
<td>
|
|
349
|
+
|
|
350
|
+
Enables the watch_touches command without any pre-configured scope.
|
|
351
|
+
|
|
352
|
+
</td>
|
|
353
|
+
</tr>
|
|
354
|
+
|
|
355
|
+
<tr>
|
|
356
|
+
<td>
|
|
357
|
+
|
|
358
|
+
`g9-diagnostic:deny-watch-touches`
|
|
359
|
+
|
|
360
|
+
</td>
|
|
361
|
+
<td>
|
|
362
|
+
|
|
363
|
+
Denies the watch_touches command without any pre-configured scope.
|
|
364
|
+
|
|
365
|
+
</td>
|
|
366
|
+
</tr>
|
|
367
|
+
</table>
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"$schema" = "schemas/schema.json"
|
|
2
|
+
|
|
3
|
+
[default]
|
|
4
|
+
description = "Every command of the tester mode: the recorders, the screenshot, the tester gesture (its event channel too), the remote touch and the plugin's own files."
|
|
5
|
+
permissions = [
|
|
6
|
+
"allow-capabilities", "allow-state", "allow-start-screen", "allow-stop-screen", "allow-start-voice", "allow-stop-voice",
|
|
7
|
+
"allow-screenshot", "allow-watch-touches", "allow-touch", "allow-read-chunk", "allow-remove",
|
|
8
|
+
"allow-registerListener", "allow-remove-listener",
|
|
9
|
+
]
|