@capgo/capacitor-permissions 0.0.0-stage → 8.2.2
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/CapgoCapacitorPermissions.podspec +17 -0
- package/LICENSE +373 -0
- package/Package.swift +40 -0
- package/README.md +456 -2
- package/android/build.gradle +68 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/kotlin/app/capgo/permissions/Permissions.kt +263 -0
- package/android/src/main/kotlin/app/capgo/permissions/PermissionsPlugin.kt +273 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +587 -0
- package/dist/esm/definitions.d.ts +219 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +27 -0
- package/dist/esm/web.js +113 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +127 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +130 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Sources/PermissionsPlugin/PermissionStatusMapper.swift +139 -0
- package/ios/Sources/PermissionsPlugin/Permissions.swift +222 -0
- package/ios/Sources/PermissionsPlugin/PermissionsPlugin.swift +123 -0
- package/ios/Tests/PermissionsPluginTests/PermissionsTests.swift +73 -0
- package/package.json +93 -4
package/dist/docs.json
ADDED
|
@@ -0,0 +1,587 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "PermissionsPlugin",
|
|
4
|
+
"slug": "permissionsplugin",
|
|
5
|
+
"docs": "Cross-platform permissions API for Capacitor apps.",
|
|
6
|
+
"tags": [
|
|
7
|
+
{
|
|
8
|
+
"text": "8.0.0",
|
|
9
|
+
"name": "since"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"methods": [
|
|
13
|
+
{
|
|
14
|
+
"name": "check",
|
|
15
|
+
"signature": "(options: PermissionOptions) => Promise<PermissionStatusResult>",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "options",
|
|
19
|
+
"docs": "",
|
|
20
|
+
"type": "PermissionOptions"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"returns": "Promise<PermissionStatusResult>",
|
|
24
|
+
"tags": [
|
|
25
|
+
{
|
|
26
|
+
"name": "param",
|
|
27
|
+
"text": "options.permission Logical permission to inspect."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "since",
|
|
31
|
+
"text": "8.0.0"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "example",
|
|
35
|
+
"text": "```typescript\nconst { status } = await Permissions.check({ permission: 'camera' });\n```"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"docs": "Check the current status of one permission without prompting the user.",
|
|
39
|
+
"complexTypes": [
|
|
40
|
+
"PermissionStatusResult",
|
|
41
|
+
"PermissionOptions"
|
|
42
|
+
],
|
|
43
|
+
"slug": "check"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "request",
|
|
47
|
+
"signature": "(options: PermissionOptions) => Promise<PermissionStatusResult>",
|
|
48
|
+
"parameters": [
|
|
49
|
+
{
|
|
50
|
+
"name": "options",
|
|
51
|
+
"docs": "",
|
|
52
|
+
"type": "PermissionOptions"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"returns": "Promise<PermissionStatusResult>",
|
|
56
|
+
"tags": [
|
|
57
|
+
{
|
|
58
|
+
"name": "param",
|
|
59
|
+
"text": "options.permission Logical permission to request."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "since",
|
|
63
|
+
"text": "8.0.0"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "example",
|
|
67
|
+
"text": "```typescript\nconst { status } = await Permissions.request({ permission: 'notifications' });\n```"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"docs": "Request one permission from the user. On Android, shows the system dialog when needed.\nOn iOS, triggers the platform authorization flow for the mapped capability.",
|
|
71
|
+
"complexTypes": [
|
|
72
|
+
"PermissionStatusResult",
|
|
73
|
+
"PermissionOptions"
|
|
74
|
+
],
|
|
75
|
+
"slug": "request"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "checkMultiple",
|
|
79
|
+
"signature": "(options: MultiplePermissionOptions) => Promise<MultiplePermissionStatusResult>",
|
|
80
|
+
"parameters": [
|
|
81
|
+
{
|
|
82
|
+
"name": "options",
|
|
83
|
+
"docs": "",
|
|
84
|
+
"type": "MultiplePermissionOptions"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"returns": "Promise<MultiplePermissionStatusResult>",
|
|
88
|
+
"tags": [
|
|
89
|
+
{
|
|
90
|
+
"name": "param",
|
|
91
|
+
"text": "options.permissions List of permissions to inspect."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "since",
|
|
95
|
+
"text": "8.0.0"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "example",
|
|
99
|
+
"text": "```typescript\nconst { statuses } = await Permissions.checkMultiple({\n permissions: ['camera', 'microphone'],\n});\n```"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"docs": "Check several permissions without prompting.",
|
|
103
|
+
"complexTypes": [
|
|
104
|
+
"MultiplePermissionStatusResult",
|
|
105
|
+
"MultiplePermissionOptions"
|
|
106
|
+
],
|
|
107
|
+
"slug": "checkmultiple"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "requestMultiple",
|
|
111
|
+
"signature": "(options: MultiplePermissionOptions) => Promise<MultiplePermissionStatusResult>",
|
|
112
|
+
"parameters": [
|
|
113
|
+
{
|
|
114
|
+
"name": "options",
|
|
115
|
+
"docs": "",
|
|
116
|
+
"type": "MultiplePermissionOptions"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"returns": "Promise<MultiplePermissionStatusResult>",
|
|
120
|
+
"tags": [
|
|
121
|
+
{
|
|
122
|
+
"name": "param",
|
|
123
|
+
"text": "options.permissions List of permissions to request."
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "since",
|
|
127
|
+
"text": "8.0.0"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"docs": "Request several permissions sequentially so dialogs are not shown on top of each other.",
|
|
131
|
+
"complexTypes": [
|
|
132
|
+
"MultiplePermissionStatusResult",
|
|
133
|
+
"MultiplePermissionOptions"
|
|
134
|
+
],
|
|
135
|
+
"slug": "requestmultiple"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "shouldShowRationale",
|
|
139
|
+
"signature": "(options: PermissionOptions) => Promise<ShouldShowRationaleResult>",
|
|
140
|
+
"parameters": [
|
|
141
|
+
{
|
|
142
|
+
"name": "options",
|
|
143
|
+
"docs": "",
|
|
144
|
+
"type": "PermissionOptions"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"returns": "Promise<ShouldShowRationaleResult>",
|
|
148
|
+
"tags": [
|
|
149
|
+
{
|
|
150
|
+
"name": "param",
|
|
151
|
+
"text": "options.permission Logical permission to inspect."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "since",
|
|
155
|
+
"text": "8.0.0"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "example",
|
|
159
|
+
"text": "```typescript\nconst { shouldShow } = await Permissions.shouldShowRationale({ permission: 'camera' });\nif (shouldShow) {\n await showWhyWeNeedCamera();\n await Permissions.request({ permission: 'camera' });\n}\n```"
|
|
160
|
+
}
|
|
161
|
+
],
|
|
162
|
+
"docs": "Whether Android should show a rationale before requesting again.\nReturns `{ shouldShow: false }` on iOS and web.",
|
|
163
|
+
"complexTypes": [
|
|
164
|
+
"ShouldShowRationaleResult",
|
|
165
|
+
"PermissionOptions"
|
|
166
|
+
],
|
|
167
|
+
"slug": "shouldshowrationale"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "openSettings",
|
|
171
|
+
"signature": "(options?: OpenSettingsOptions | undefined) => Promise<void>",
|
|
172
|
+
"parameters": [
|
|
173
|
+
{
|
|
174
|
+
"name": "options",
|
|
175
|
+
"docs": "",
|
|
176
|
+
"type": "OpenSettingsOptions | undefined"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"returns": "Promise<void>",
|
|
180
|
+
"tags": [
|
|
181
|
+
{
|
|
182
|
+
"name": "param",
|
|
183
|
+
"text": "options.type Settings destination. Defaults to `application`."
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "since",
|
|
187
|
+
"text": "8.0.0"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "example",
|
|
191
|
+
"text": "```typescript\nawait Permissions.openSettings({ type: 'notifications' });\n```"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"docs": "Open the application or notification settings screen.\nRejects on web with `UNIMPLEMENTED`.",
|
|
195
|
+
"complexTypes": [
|
|
196
|
+
"OpenSettingsOptions"
|
|
197
|
+
],
|
|
198
|
+
"slug": "opensettings"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "requestPreciseLocation",
|
|
202
|
+
"signature": "() => Promise<PermissionStatusResult>",
|
|
203
|
+
"parameters": [],
|
|
204
|
+
"returns": "Promise<PermissionStatusResult>",
|
|
205
|
+
"tags": [
|
|
206
|
+
{
|
|
207
|
+
"name": "since",
|
|
208
|
+
"text": "8.0.0"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "example",
|
|
212
|
+
"text": "```typescript\nconst { status } = await Permissions.requestPreciseLocation();\n```"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"docs": "Ask for precise location.\nOn iOS, requests temporary full accuracy when already authorized when-in-use.\nOn Android, requests `ACCESS_FINE_LOCATION`.\nOn web, returns the geolocation permission status after prompting when possible.",
|
|
216
|
+
"complexTypes": [
|
|
217
|
+
"PermissionStatusResult"
|
|
218
|
+
],
|
|
219
|
+
"slug": "requestpreciselocation"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "getPluginVersion",
|
|
223
|
+
"signature": "() => Promise<PluginVersionResult>",
|
|
224
|
+
"parameters": [],
|
|
225
|
+
"returns": "Promise<PluginVersionResult>",
|
|
226
|
+
"tags": [
|
|
227
|
+
{
|
|
228
|
+
"name": "since",
|
|
229
|
+
"text": "8.0.0"
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"docs": "Returns the platform implementation version marker.",
|
|
233
|
+
"complexTypes": [
|
|
234
|
+
"PluginVersionResult"
|
|
235
|
+
],
|
|
236
|
+
"slug": "getpluginversion"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"properties": []
|
|
240
|
+
},
|
|
241
|
+
"interfaces": [
|
|
242
|
+
{
|
|
243
|
+
"name": "PermissionStatusResult",
|
|
244
|
+
"slug": "permissionstatusresult",
|
|
245
|
+
"docs": "Result for a single permission status.",
|
|
246
|
+
"tags": [
|
|
247
|
+
{
|
|
248
|
+
"text": "8.0.0",
|
|
249
|
+
"name": "since"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"methods": [],
|
|
253
|
+
"properties": [
|
|
254
|
+
{
|
|
255
|
+
"name": "status",
|
|
256
|
+
"tags": [
|
|
257
|
+
{
|
|
258
|
+
"text": "8.0.0",
|
|
259
|
+
"name": "since"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"docs": "Current status for the requested permission.",
|
|
263
|
+
"complexTypes": [
|
|
264
|
+
"AppPermissionState"
|
|
265
|
+
],
|
|
266
|
+
"type": "AppPermissionState"
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "PermissionOptions",
|
|
272
|
+
"slug": "permissionoptions",
|
|
273
|
+
"docs": "Options for checking or requesting a single permission.",
|
|
274
|
+
"tags": [
|
|
275
|
+
{
|
|
276
|
+
"text": "8.0.0",
|
|
277
|
+
"name": "since"
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
"methods": [],
|
|
281
|
+
"properties": [
|
|
282
|
+
{
|
|
283
|
+
"name": "permission",
|
|
284
|
+
"tags": [
|
|
285
|
+
{
|
|
286
|
+
"text": "8.0.0",
|
|
287
|
+
"name": "since"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"docs": "Logical permission to evaluate or request.",
|
|
291
|
+
"complexTypes": [
|
|
292
|
+
"PermissionName"
|
|
293
|
+
],
|
|
294
|
+
"type": "PermissionName"
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "MultiplePermissionStatusResult",
|
|
300
|
+
"slug": "multiplepermissionstatusresult",
|
|
301
|
+
"docs": "Result for several permission statuses.",
|
|
302
|
+
"tags": [
|
|
303
|
+
{
|
|
304
|
+
"text": "8.0.0",
|
|
305
|
+
"name": "since"
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"methods": [],
|
|
309
|
+
"properties": [
|
|
310
|
+
{
|
|
311
|
+
"name": "statuses",
|
|
312
|
+
"tags": [
|
|
313
|
+
{
|
|
314
|
+
"text": "8.0.0",
|
|
315
|
+
"name": "since"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"docs": "Map of permission name to status. Keys match the names passed in `permissions`.",
|
|
319
|
+
"complexTypes": [
|
|
320
|
+
"Record",
|
|
321
|
+
"AppPermissionState"
|
|
322
|
+
],
|
|
323
|
+
"type": "Record<string, AppPermissionState>"
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "MultiplePermissionOptions",
|
|
329
|
+
"slug": "multiplepermissionoptions",
|
|
330
|
+
"docs": "Options for checking or requesting several permissions.",
|
|
331
|
+
"tags": [
|
|
332
|
+
{
|
|
333
|
+
"text": "8.0.0",
|
|
334
|
+
"name": "since"
|
|
335
|
+
}
|
|
336
|
+
],
|
|
337
|
+
"methods": [],
|
|
338
|
+
"properties": [
|
|
339
|
+
{
|
|
340
|
+
"name": "permissions",
|
|
341
|
+
"tags": [
|
|
342
|
+
{
|
|
343
|
+
"text": "8.0.0",
|
|
344
|
+
"name": "since"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"docs": "Permissions to evaluate in order. On `requestMultiple`, each permission is requested one after another.",
|
|
348
|
+
"complexTypes": [
|
|
349
|
+
"PermissionName"
|
|
350
|
+
],
|
|
351
|
+
"type": "PermissionName[]"
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "ShouldShowRationaleResult",
|
|
357
|
+
"slug": "shouldshowrationaleresult",
|
|
358
|
+
"docs": "Result for Android rationale checks.",
|
|
359
|
+
"tags": [
|
|
360
|
+
{
|
|
361
|
+
"text": "8.0.0",
|
|
362
|
+
"name": "since"
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"methods": [],
|
|
366
|
+
"properties": [
|
|
367
|
+
{
|
|
368
|
+
"name": "shouldShow",
|
|
369
|
+
"tags": [
|
|
370
|
+
{
|
|
371
|
+
"text": "8.0.0",
|
|
372
|
+
"name": "since"
|
|
373
|
+
}
|
|
374
|
+
],
|
|
375
|
+
"docs": "True only when Android would show a rationale dialog before requesting again.\nAlways false on iOS and web.",
|
|
376
|
+
"complexTypes": [],
|
|
377
|
+
"type": "boolean"
|
|
378
|
+
}
|
|
379
|
+
]
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"name": "OpenSettingsOptions",
|
|
383
|
+
"slug": "opensettingsoptions",
|
|
384
|
+
"docs": "Options for opening system settings.",
|
|
385
|
+
"tags": [
|
|
386
|
+
{
|
|
387
|
+
"text": "8.0.0",
|
|
388
|
+
"name": "since"
|
|
389
|
+
}
|
|
390
|
+
],
|
|
391
|
+
"methods": [],
|
|
392
|
+
"properties": [
|
|
393
|
+
{
|
|
394
|
+
"name": "type",
|
|
395
|
+
"tags": [
|
|
396
|
+
{
|
|
397
|
+
"text": "'application'",
|
|
398
|
+
"name": "default"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"text": "8.0.0",
|
|
402
|
+
"name": "since"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"docs": "Which settings screen to open.",
|
|
406
|
+
"complexTypes": [
|
|
407
|
+
"SettingsType"
|
|
408
|
+
],
|
|
409
|
+
"type": "SettingsType"
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "PluginVersionResult",
|
|
415
|
+
"slug": "pluginversionresult",
|
|
416
|
+
"docs": "Plugin version payload.",
|
|
417
|
+
"tags": [
|
|
418
|
+
{
|
|
419
|
+
"text": "8.0.0",
|
|
420
|
+
"name": "since"
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"methods": [],
|
|
424
|
+
"properties": [
|
|
425
|
+
{
|
|
426
|
+
"name": "version",
|
|
427
|
+
"tags": [
|
|
428
|
+
{
|
|
429
|
+
"text": "8.0.0",
|
|
430
|
+
"name": "since"
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"docs": "Version identifier returned by the platform implementation (`native` on mobile, `web` in browsers).",
|
|
434
|
+
"complexTypes": [],
|
|
435
|
+
"type": "string"
|
|
436
|
+
}
|
|
437
|
+
]
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"enums": [],
|
|
441
|
+
"typeAliases": [
|
|
442
|
+
{
|
|
443
|
+
"name": "AppPermissionState",
|
|
444
|
+
"slug": "apppermissionstate",
|
|
445
|
+
"docs": "Normalized permission status returned by every platform implementation.\n\n- `granted`: the user allowed full access.\n- `denied`: the user has not granted access yet, or Android can show a rationale.\n- `blocked`: the user denied access and the app cannot prompt again without settings.\n- `limited`: partial access (for example iOS limited photo library or reduced location accuracy).\n- `unavailable`: the permission is not supported on this platform or not declared in the app manifest.",
|
|
446
|
+
"types": [
|
|
447
|
+
{
|
|
448
|
+
"text": "'granted'",
|
|
449
|
+
"complexTypes": []
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"text": "'denied'",
|
|
453
|
+
"complexTypes": []
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"text": "'blocked'",
|
|
457
|
+
"complexTypes": []
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"text": "'limited'",
|
|
461
|
+
"complexTypes": []
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"text": "'unavailable'",
|
|
465
|
+
"complexTypes": []
|
|
466
|
+
}
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "PermissionName",
|
|
471
|
+
"slug": "permissionname",
|
|
472
|
+
"docs": "Logical permission identifiers shared across iOS, Android, and web.\n\nAndroid-only names include `activityRecognition`, `phone`, `sms`, `mediaAudio`, `mediaImages`, and `mediaVideo`.\niOS-only names include `reminders` and `appTrackingTransparency`.\nWeb supports a subset via browser APIs (`camera`, `microphone`, `notifications`, `locationWhenInUse`).\nOn web, `locationAlways` is an alias of foreground geolocation only; browsers do not expose background location permission.",
|
|
473
|
+
"types": [
|
|
474
|
+
{
|
|
475
|
+
"text": "'camera'",
|
|
476
|
+
"complexTypes": []
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"text": "'microphone'",
|
|
480
|
+
"complexTypes": []
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"text": "'photoLibrary'",
|
|
484
|
+
"complexTypes": []
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"text": "'photoLibraryAddOnly'",
|
|
488
|
+
"complexTypes": []
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"text": "'contacts'",
|
|
492
|
+
"complexTypes": []
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"text": "'calendar'",
|
|
496
|
+
"complexTypes": []
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"text": "'reminders'",
|
|
500
|
+
"complexTypes": []
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"text": "'locationWhenInUse'",
|
|
504
|
+
"complexTypes": []
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"text": "'locationAlways'",
|
|
508
|
+
"complexTypes": []
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"text": "'bluetooth'",
|
|
512
|
+
"complexTypes": []
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"text": "'motion'",
|
|
516
|
+
"complexTypes": []
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"text": "'notifications'",
|
|
520
|
+
"complexTypes": []
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"text": "'speechRecognition'",
|
|
524
|
+
"complexTypes": []
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"text": "'appTrackingTransparency'",
|
|
528
|
+
"complexTypes": []
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"text": "'activityRecognition'",
|
|
532
|
+
"complexTypes": []
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"text": "'phone'",
|
|
536
|
+
"complexTypes": []
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"text": "'sms'",
|
|
540
|
+
"complexTypes": []
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"text": "'mediaAudio'",
|
|
544
|
+
"complexTypes": []
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"text": "'mediaImages'",
|
|
548
|
+
"complexTypes": []
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"text": "'mediaVideo'",
|
|
552
|
+
"complexTypes": []
|
|
553
|
+
}
|
|
554
|
+
]
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "Record",
|
|
558
|
+
"slug": "record",
|
|
559
|
+
"docs": "Construct a type with a set of properties K of type T",
|
|
560
|
+
"types": [
|
|
561
|
+
{
|
|
562
|
+
"text": "{\r\n [P in K]: T;\r\n}",
|
|
563
|
+
"complexTypes": [
|
|
564
|
+
"K",
|
|
565
|
+
"T"
|
|
566
|
+
]
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "SettingsType",
|
|
572
|
+
"slug": "settingstype",
|
|
573
|
+
"docs": "Settings screen type for `openSettings`.",
|
|
574
|
+
"types": [
|
|
575
|
+
{
|
|
576
|
+
"text": "'application'",
|
|
577
|
+
"complexTypes": []
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"text": "'notifications'",
|
|
581
|
+
"complexTypes": []
|
|
582
|
+
}
|
|
583
|
+
]
|
|
584
|
+
}
|
|
585
|
+
],
|
|
586
|
+
"pluginConfigs": []
|
|
587
|
+
}
|