@capawesome/capacitor-live-update 5.0.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/CapawesomeCapacitorLiveUpdate.podspec +20 -0
- package/LICENSE +21 -0
- package/README.md +509 -0
- package/android/build.gradle +62 -0
- package/android/src/main/AndroidManifest.xml +2 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdate.java +613 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdateConfig.java +55 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdatePlugin.java +437 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdatePreferences.java +86 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/api/GetLatestBundleResponse.java +23 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/options/DeleteBundleOptions.java +18 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/options/DownloadBundleOptions.java +27 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/options/SetBundleOptions.java +18 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/options/SetChannelOptions.java +18 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/options/SetCustomIdOptions.java +18 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetBundleResult.java +24 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetBundlesResult.java +27 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetChannelResult.java +21 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetCustomIdResult.java +22 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetDeviceIdResult.java +22 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetVersionCodeResult.java +21 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/GetVersionNameResult.java +21 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/classes/results/SyncResult.java +22 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/interfaces/Callback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/interfaces/EmptyCallback.java +5 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/interfaces/NonEmptyCallback.java +7 -0
- package/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/interfaces/Result.java +7 -0
- package/android/src/main/res/.gitkeep +0 -0
- package/dist/docs.json +785 -0
- package/dist/esm/definitions.d.ts +356 -0
- package/dist/esm/definitions.js +3 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +21 -0
- package/dist/esm/web.js +55 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +71 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +74 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Plugin/Classes/CustomError.swift +38 -0
- package/ios/Plugin/Classes/Options/DeleteBundleOptions.swift +14 -0
- package/ios/Plugin/Classes/Options/DownloadBundleOptions.swift +20 -0
- package/ios/Plugin/Classes/Options/SetBundleOptions.swift +14 -0
- package/ios/Plugin/Classes/Options/SetChannelOptions.swift +14 -0
- package/ios/Plugin/Classes/Options/SetCustomIdOptions.swift +14 -0
- package/ios/Plugin/Classes/Results/GetBundleResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetBundlesResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetChannelResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetCustomIdResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetDeviceIdResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetVersionCodeResult.swift +16 -0
- package/ios/Plugin/Classes/Results/GetVersionNameResult.swift +16 -0
- package/ios/Plugin/Classes/Results/SyncResult.swift +16 -0
- package/ios/Plugin/Info.plist +24 -0
- package/ios/Plugin/LiveUpdate.swift +512 -0
- package/ios/Plugin/LiveUpdateConfig.swift +7 -0
- package/ios/Plugin/LiveUpdatePlugin.h +10 -0
- package/ios/Plugin/LiveUpdatePlugin.m +23 -0
- package/ios/Plugin/LiveUpdatePlugin.swift +247 -0
- package/ios/Plugin/LiveUpdatePreferences.swift +60 -0
- package/ios/Plugin/Protocols/Api/GetLatestBundleResponse.swift +4 -0
- package/ios/Plugin/Protocols/Result.swift +6 -0
- package/package.json +92 -0
package/dist/docs.json
ADDED
|
@@ -0,0 +1,785 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "LiveUpdatePlugin",
|
|
4
|
+
"slug": "liveupdateplugin",
|
|
5
|
+
"docs": "",
|
|
6
|
+
"tags": [],
|
|
7
|
+
"methods": [
|
|
8
|
+
{
|
|
9
|
+
"name": "deleteBundle",
|
|
10
|
+
"signature": "(options: DeleteBundleOptions) => Promise<void>",
|
|
11
|
+
"parameters": [
|
|
12
|
+
{
|
|
13
|
+
"name": "options",
|
|
14
|
+
"docs": "",
|
|
15
|
+
"type": "DeleteBundleOptions"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"returns": "Promise<void>",
|
|
19
|
+
"tags": [
|
|
20
|
+
{
|
|
21
|
+
"name": "since",
|
|
22
|
+
"text": "5.0.0"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"docs": "Delete a bundle from the app.\n\nOnly available on Android and iOS.",
|
|
26
|
+
"complexTypes": [
|
|
27
|
+
"DeleteBundleOptions"
|
|
28
|
+
],
|
|
29
|
+
"slug": "deletebundle"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "downloadBundle",
|
|
33
|
+
"signature": "(options: DownloadBundleOptions) => Promise<void>",
|
|
34
|
+
"parameters": [
|
|
35
|
+
{
|
|
36
|
+
"name": "options",
|
|
37
|
+
"docs": "",
|
|
38
|
+
"type": "DownloadBundleOptions"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"returns": "Promise<void>",
|
|
42
|
+
"tags": [
|
|
43
|
+
{
|
|
44
|
+
"name": "since",
|
|
45
|
+
"text": "5.0.0"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"docs": "Download a bundle.\n\nOnly available on Android and iOS.",
|
|
49
|
+
"complexTypes": [
|
|
50
|
+
"DownloadBundleOptions"
|
|
51
|
+
],
|
|
52
|
+
"slug": "downloadbundle"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "getBundle",
|
|
56
|
+
"signature": "() => Promise<GetBundleResult>",
|
|
57
|
+
"parameters": [],
|
|
58
|
+
"returns": "Promise<GetBundleResult>",
|
|
59
|
+
"tags": [
|
|
60
|
+
{
|
|
61
|
+
"name": "since",
|
|
62
|
+
"text": "5.0.0"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"docs": "Get the active bundle identifier.\n\nOnly available on Android and iOS.",
|
|
66
|
+
"complexTypes": [
|
|
67
|
+
"GetBundleResult"
|
|
68
|
+
],
|
|
69
|
+
"slug": "getbundle"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "getBundles",
|
|
73
|
+
"signature": "() => Promise<GetBundlesResult>",
|
|
74
|
+
"parameters": [],
|
|
75
|
+
"returns": "Promise<GetBundlesResult>",
|
|
76
|
+
"tags": [
|
|
77
|
+
{
|
|
78
|
+
"name": "since",
|
|
79
|
+
"text": "5.0.0"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"docs": "Get all available bundle identifiers.\n\nOnly available on Android and iOS.",
|
|
83
|
+
"complexTypes": [
|
|
84
|
+
"GetBundlesResult"
|
|
85
|
+
],
|
|
86
|
+
"slug": "getbundles"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "getChannel",
|
|
90
|
+
"signature": "() => Promise<GetChannelResult>",
|
|
91
|
+
"parameters": [],
|
|
92
|
+
"returns": "Promise<GetChannelResult>",
|
|
93
|
+
"tags": [
|
|
94
|
+
{
|
|
95
|
+
"name": "since",
|
|
96
|
+
"text": "5.0.0"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"docs": "Get the channel of the app.\n\nOnly available on Android and iOS.",
|
|
100
|
+
"complexTypes": [
|
|
101
|
+
"GetChannelResult"
|
|
102
|
+
],
|
|
103
|
+
"slug": "getchannel"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "getCustomId",
|
|
107
|
+
"signature": "() => Promise<GetCustomIdResult>",
|
|
108
|
+
"parameters": [],
|
|
109
|
+
"returns": "Promise<GetCustomIdResult>",
|
|
110
|
+
"tags": [
|
|
111
|
+
{
|
|
112
|
+
"name": "since",
|
|
113
|
+
"text": "5.0.0"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"docs": "Get the custom identifier of the app.\n\nOnly available on Android and iOS.",
|
|
117
|
+
"complexTypes": [
|
|
118
|
+
"GetCustomIdResult"
|
|
119
|
+
],
|
|
120
|
+
"slug": "getcustomid"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "getDeviceId",
|
|
124
|
+
"signature": "() => Promise<GetDeviceIdResult>",
|
|
125
|
+
"parameters": [],
|
|
126
|
+
"returns": "Promise<GetDeviceIdResult>",
|
|
127
|
+
"tags": [
|
|
128
|
+
{
|
|
129
|
+
"name": "since",
|
|
130
|
+
"text": "5.0.0"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"docs": "Get the device identifier of the app.\n\nOnly available on Android and iOS.",
|
|
134
|
+
"complexTypes": [
|
|
135
|
+
"GetDeviceIdResult"
|
|
136
|
+
],
|
|
137
|
+
"slug": "getdeviceid"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "getVersionCode",
|
|
141
|
+
"signature": "() => Promise<GetVersionCodeResult>",
|
|
142
|
+
"parameters": [],
|
|
143
|
+
"returns": "Promise<GetVersionCodeResult>",
|
|
144
|
+
"tags": [
|
|
145
|
+
{
|
|
146
|
+
"name": "since",
|
|
147
|
+
"text": "5.0.0"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"docs": "Get the version code of the app.\n\nOnly available on Android and iOS.",
|
|
151
|
+
"complexTypes": [
|
|
152
|
+
"GetVersionCodeResult"
|
|
153
|
+
],
|
|
154
|
+
"slug": "getversioncode"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "getVersionName",
|
|
158
|
+
"signature": "() => Promise<GetVersionNameResult>",
|
|
159
|
+
"parameters": [],
|
|
160
|
+
"returns": "Promise<GetVersionNameResult>",
|
|
161
|
+
"tags": [
|
|
162
|
+
{
|
|
163
|
+
"name": "since",
|
|
164
|
+
"text": "5.0.0"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"docs": "Get the version name of the app.\n\nOnly available on Android and iOS.",
|
|
168
|
+
"complexTypes": [
|
|
169
|
+
"GetVersionNameResult"
|
|
170
|
+
],
|
|
171
|
+
"slug": "getversionname"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "ready",
|
|
175
|
+
"signature": "() => Promise<void>",
|
|
176
|
+
"parameters": [],
|
|
177
|
+
"returns": "Promise<void>",
|
|
178
|
+
"tags": [
|
|
179
|
+
{
|
|
180
|
+
"name": "since",
|
|
181
|
+
"text": "5.0.0"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"docs": "Notify the plugin that the app is ready to use and no rollback is needed.\n\nOnly available on Android and iOS.",
|
|
185
|
+
"complexTypes": [],
|
|
186
|
+
"slug": "ready"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "reload",
|
|
190
|
+
"signature": "() => Promise<void>",
|
|
191
|
+
"parameters": [],
|
|
192
|
+
"returns": "Promise<void>",
|
|
193
|
+
"tags": [
|
|
194
|
+
{
|
|
195
|
+
"name": "since",
|
|
196
|
+
"text": "5.0.0"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"docs": "Reload the app to apply the new bundle.\n\nOnly available on Android and iOS.",
|
|
200
|
+
"complexTypes": [],
|
|
201
|
+
"slug": "reload"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "reset",
|
|
205
|
+
"signature": "() => Promise<void>",
|
|
206
|
+
"parameters": [],
|
|
207
|
+
"returns": "Promise<void>",
|
|
208
|
+
"tags": [
|
|
209
|
+
{
|
|
210
|
+
"name": "since",
|
|
211
|
+
"text": "5.0.0"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"docs": "Reset the app to the default bundle.\n\nCall `reload()` or restart the app to apply the changes.\n\nOnly available on Android and iOS.",
|
|
215
|
+
"complexTypes": [],
|
|
216
|
+
"slug": "reset"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "setBundle",
|
|
220
|
+
"signature": "(options: SetBundleOptions) => Promise<void>",
|
|
221
|
+
"parameters": [
|
|
222
|
+
{
|
|
223
|
+
"name": "options",
|
|
224
|
+
"docs": "",
|
|
225
|
+
"type": "SetBundleOptions"
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"returns": "Promise<void>",
|
|
229
|
+
"tags": [
|
|
230
|
+
{
|
|
231
|
+
"name": "since",
|
|
232
|
+
"text": "5.0.0"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"docs": "Set the next bundle to use for the app.\n\nCall `reload()` or restart the app to apply the changes.\n\nOnly available on Android and iOS.",
|
|
236
|
+
"complexTypes": [
|
|
237
|
+
"SetBundleOptions"
|
|
238
|
+
],
|
|
239
|
+
"slug": "setbundle"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "setChannel",
|
|
243
|
+
"signature": "(options: SetChannelOptions) => Promise<void>",
|
|
244
|
+
"parameters": [
|
|
245
|
+
{
|
|
246
|
+
"name": "options",
|
|
247
|
+
"docs": "",
|
|
248
|
+
"type": "SetChannelOptions"
|
|
249
|
+
}
|
|
250
|
+
],
|
|
251
|
+
"returns": "Promise<void>",
|
|
252
|
+
"tags": [
|
|
253
|
+
{
|
|
254
|
+
"name": "since",
|
|
255
|
+
"text": "5.0.0"
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"docs": "Set the channel of the app.\n\nOnly available on Android and iOS.",
|
|
259
|
+
"complexTypes": [
|
|
260
|
+
"SetChannelOptions"
|
|
261
|
+
],
|
|
262
|
+
"slug": "setchannel"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "setCustomId",
|
|
266
|
+
"signature": "(options: SetCustomIdOptions) => Promise<void>",
|
|
267
|
+
"parameters": [
|
|
268
|
+
{
|
|
269
|
+
"name": "options",
|
|
270
|
+
"docs": "",
|
|
271
|
+
"type": "SetCustomIdOptions"
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"returns": "Promise<void>",
|
|
275
|
+
"tags": [
|
|
276
|
+
{
|
|
277
|
+
"name": "since",
|
|
278
|
+
"text": "5.0.0"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"docs": "Set the custom identifier of the app.\n\nOnly available on Android and iOS.",
|
|
282
|
+
"complexTypes": [
|
|
283
|
+
"SetCustomIdOptions"
|
|
284
|
+
],
|
|
285
|
+
"slug": "setcustomid"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "sync",
|
|
289
|
+
"signature": "() => Promise<SyncResult>",
|
|
290
|
+
"parameters": [],
|
|
291
|
+
"returns": "Promise<SyncResult>",
|
|
292
|
+
"tags": [
|
|
293
|
+
{
|
|
294
|
+
"name": "since",
|
|
295
|
+
"text": "5.0.0"
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"docs": "Automatically download and set the latest bundle for the app using the [Capawesome Cloud](https://capawesome.io/cloud/).\n\nCall `reload()` or restart the app to apply the changes.\n\nOnly available on Android and iOS.",
|
|
299
|
+
"complexTypes": [
|
|
300
|
+
"SyncResult"
|
|
301
|
+
],
|
|
302
|
+
"slug": "sync"
|
|
303
|
+
}
|
|
304
|
+
],
|
|
305
|
+
"properties": []
|
|
306
|
+
},
|
|
307
|
+
"interfaces": [
|
|
308
|
+
{
|
|
309
|
+
"name": "DeleteBundleOptions",
|
|
310
|
+
"slug": "deletebundleoptions",
|
|
311
|
+
"docs": "",
|
|
312
|
+
"tags": [
|
|
313
|
+
{
|
|
314
|
+
"text": "5.0.0",
|
|
315
|
+
"name": "since"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"methods": [],
|
|
319
|
+
"properties": [
|
|
320
|
+
{
|
|
321
|
+
"name": "bundleId",
|
|
322
|
+
"tags": [
|
|
323
|
+
{
|
|
324
|
+
"text": "5.0.0",
|
|
325
|
+
"name": "since"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"text": "'1.0.0'",
|
|
329
|
+
"name": "example"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"docs": "The unique identifier of the bundle to delete.",
|
|
333
|
+
"complexTypes": [],
|
|
334
|
+
"type": "string"
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "DownloadBundleOptions",
|
|
340
|
+
"slug": "downloadbundleoptions",
|
|
341
|
+
"docs": "",
|
|
342
|
+
"tags": [],
|
|
343
|
+
"methods": [],
|
|
344
|
+
"properties": [
|
|
345
|
+
{
|
|
346
|
+
"name": "url",
|
|
347
|
+
"tags": [
|
|
348
|
+
{
|
|
349
|
+
"text": "5.0.0",
|
|
350
|
+
"name": "since"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"text": "'https://example.com/bundle.zip'",
|
|
354
|
+
"name": "example"
|
|
355
|
+
}
|
|
356
|
+
],
|
|
357
|
+
"docs": "The URL of the bundle to download.\n\nThe bundle must be a ZIP file containing at least a `index.html` file.",
|
|
358
|
+
"complexTypes": [],
|
|
359
|
+
"type": "string"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "bundleId",
|
|
363
|
+
"tags": [
|
|
364
|
+
{
|
|
365
|
+
"text": "5.0.0",
|
|
366
|
+
"name": "since"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"text": "'1.0.0'",
|
|
370
|
+
"name": "example"
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"docs": "The unique identifier of the bundle.",
|
|
374
|
+
"complexTypes": [],
|
|
375
|
+
"type": "string"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "GetBundleResult",
|
|
381
|
+
"slug": "getbundleresult",
|
|
382
|
+
"docs": "",
|
|
383
|
+
"tags": [
|
|
384
|
+
{
|
|
385
|
+
"text": "5.0.0",
|
|
386
|
+
"name": "since"
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"methods": [],
|
|
390
|
+
"properties": [
|
|
391
|
+
{
|
|
392
|
+
"name": "bundleId",
|
|
393
|
+
"tags": [
|
|
394
|
+
{
|
|
395
|
+
"text": "5.0.0",
|
|
396
|
+
"name": "since"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"text": "'1.0.0'",
|
|
400
|
+
"name": "example"
|
|
401
|
+
}
|
|
402
|
+
],
|
|
403
|
+
"docs": "The unique identifier of the active bundle.\n\nIf `null`, the default bundle is being used.",
|
|
404
|
+
"complexTypes": [],
|
|
405
|
+
"type": "string | null"
|
|
406
|
+
}
|
|
407
|
+
]
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "GetBundlesResult",
|
|
411
|
+
"slug": "getbundlesresult",
|
|
412
|
+
"docs": "",
|
|
413
|
+
"tags": [
|
|
414
|
+
{
|
|
415
|
+
"text": "5.0.0",
|
|
416
|
+
"name": "since"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"methods": [],
|
|
420
|
+
"properties": [
|
|
421
|
+
{
|
|
422
|
+
"name": "bundleIds",
|
|
423
|
+
"tags": [
|
|
424
|
+
{
|
|
425
|
+
"text": "5.0.0",
|
|
426
|
+
"name": "since"
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"docs": "An array of unique identifiers of all available bundles.",
|
|
430
|
+
"complexTypes": [],
|
|
431
|
+
"type": "string[]"
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "GetChannelResult",
|
|
437
|
+
"slug": "getchannelresult",
|
|
438
|
+
"docs": "",
|
|
439
|
+
"tags": [
|
|
440
|
+
{
|
|
441
|
+
"text": "5.0.0",
|
|
442
|
+
"name": "since"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"methods": [],
|
|
446
|
+
"properties": [
|
|
447
|
+
{
|
|
448
|
+
"name": "channel",
|
|
449
|
+
"tags": [
|
|
450
|
+
{
|
|
451
|
+
"text": "5.0.0",
|
|
452
|
+
"name": "since"
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"text": "'production'",
|
|
456
|
+
"name": "example"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"docs": "The channel of the app.\n\nIf `null`, the app is using the default channel.",
|
|
460
|
+
"complexTypes": [],
|
|
461
|
+
"type": "string | null"
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "GetCustomIdResult",
|
|
467
|
+
"slug": "getcustomidresult",
|
|
468
|
+
"docs": "",
|
|
469
|
+
"tags": [
|
|
470
|
+
{
|
|
471
|
+
"text": "5.0.0",
|
|
472
|
+
"name": "since"
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"methods": [],
|
|
476
|
+
"properties": [
|
|
477
|
+
{
|
|
478
|
+
"name": "customId",
|
|
479
|
+
"tags": [
|
|
480
|
+
{
|
|
481
|
+
"text": "5.0.0",
|
|
482
|
+
"name": "since"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"text": "'50d2a548-80b7-4dad-adc7-97c0e79d8a89'",
|
|
486
|
+
"name": "example"
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"docs": "The custom identifier of the app.\n\nIf `null`, no custom identifier is set.",
|
|
490
|
+
"complexTypes": [],
|
|
491
|
+
"type": "string | null"
|
|
492
|
+
}
|
|
493
|
+
]
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "GetDeviceIdResult",
|
|
497
|
+
"slug": "getdeviceidresult",
|
|
498
|
+
"docs": "",
|
|
499
|
+
"tags": [
|
|
500
|
+
{
|
|
501
|
+
"text": "5.0.0",
|
|
502
|
+
"name": "since"
|
|
503
|
+
}
|
|
504
|
+
],
|
|
505
|
+
"methods": [],
|
|
506
|
+
"properties": [
|
|
507
|
+
{
|
|
508
|
+
"name": "deviceId",
|
|
509
|
+
"tags": [
|
|
510
|
+
{
|
|
511
|
+
"text": "5.0.0",
|
|
512
|
+
"name": "since"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"text": "'50d2a548-80b7-4dad-adc7-97c0e79d8a89'",
|
|
516
|
+
"name": "example"
|
|
517
|
+
}
|
|
518
|
+
],
|
|
519
|
+
"docs": "The unique identifier of the device.",
|
|
520
|
+
"complexTypes": [],
|
|
521
|
+
"type": "string"
|
|
522
|
+
}
|
|
523
|
+
]
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "GetVersionCodeResult",
|
|
527
|
+
"slug": "getversioncoderesult",
|
|
528
|
+
"docs": "",
|
|
529
|
+
"tags": [
|
|
530
|
+
{
|
|
531
|
+
"text": "5.0.0",
|
|
532
|
+
"name": "since"
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
"methods": [],
|
|
536
|
+
"properties": [
|
|
537
|
+
{
|
|
538
|
+
"name": "versionCode",
|
|
539
|
+
"tags": [
|
|
540
|
+
{
|
|
541
|
+
"text": "5.0.0",
|
|
542
|
+
"name": "since"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"text": "\"1\"",
|
|
546
|
+
"name": "example"
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"docs": "The version code of the app.\n\nOn **Android**, this is the `versionCode` from the `android/app/build.gradle` file.\nOn **iOS**, this is the `CFBundleVersion` from the `Info.plist` file.",
|
|
550
|
+
"complexTypes": [],
|
|
551
|
+
"type": "string"
|
|
552
|
+
}
|
|
553
|
+
]
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "GetVersionNameResult",
|
|
557
|
+
"slug": "getversionnameresult",
|
|
558
|
+
"docs": "",
|
|
559
|
+
"tags": [
|
|
560
|
+
{
|
|
561
|
+
"text": "5.0.0",
|
|
562
|
+
"name": "since"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"methods": [],
|
|
566
|
+
"properties": [
|
|
567
|
+
{
|
|
568
|
+
"name": "versionName",
|
|
569
|
+
"tags": [
|
|
570
|
+
{
|
|
571
|
+
"text": "5.0.0",
|
|
572
|
+
"name": "since"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"text": "\"1.0.0\"",
|
|
576
|
+
"name": "example"
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
"docs": "The version name of the app.\n\nOn **Android**, this is the `versionName` from the `android/app/build.gradle` file.\nOn **iOS**, this is the `CFBundleShortVersionString` from the `Info.plist` file.",
|
|
580
|
+
"complexTypes": [],
|
|
581
|
+
"type": "string"
|
|
582
|
+
}
|
|
583
|
+
]
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "SetBundleOptions",
|
|
587
|
+
"slug": "setbundleoptions",
|
|
588
|
+
"docs": "",
|
|
589
|
+
"tags": [
|
|
590
|
+
{
|
|
591
|
+
"text": "5.0.0",
|
|
592
|
+
"name": "since"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"methods": [],
|
|
596
|
+
"properties": [
|
|
597
|
+
{
|
|
598
|
+
"name": "bundleId",
|
|
599
|
+
"tags": [
|
|
600
|
+
{
|
|
601
|
+
"text": "5.0.0",
|
|
602
|
+
"name": "since"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"text": "'1.0.0'",
|
|
606
|
+
"name": "example"
|
|
607
|
+
}
|
|
608
|
+
],
|
|
609
|
+
"docs": "The unique identifier of the bundle to use.",
|
|
610
|
+
"complexTypes": [],
|
|
611
|
+
"type": "string"
|
|
612
|
+
}
|
|
613
|
+
]
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "SetChannelOptions",
|
|
617
|
+
"slug": "setchanneloptions",
|
|
618
|
+
"docs": "",
|
|
619
|
+
"tags": [
|
|
620
|
+
{
|
|
621
|
+
"text": "5.0.0",
|
|
622
|
+
"name": "since"
|
|
623
|
+
}
|
|
624
|
+
],
|
|
625
|
+
"methods": [],
|
|
626
|
+
"properties": [
|
|
627
|
+
{
|
|
628
|
+
"name": "channel",
|
|
629
|
+
"tags": [
|
|
630
|
+
{
|
|
631
|
+
"text": "5.0.0",
|
|
632
|
+
"name": "since"
|
|
633
|
+
}
|
|
634
|
+
],
|
|
635
|
+
"docs": "The channel of the app.\n\nSet `null` to remove the channel.",
|
|
636
|
+
"complexTypes": [],
|
|
637
|
+
"type": "string | null"
|
|
638
|
+
}
|
|
639
|
+
]
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"name": "SetCustomIdOptions",
|
|
643
|
+
"slug": "setcustomidoptions",
|
|
644
|
+
"docs": "",
|
|
645
|
+
"tags": [
|
|
646
|
+
{
|
|
647
|
+
"text": "5.0.0",
|
|
648
|
+
"name": "since"
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
"methods": [],
|
|
652
|
+
"properties": [
|
|
653
|
+
{
|
|
654
|
+
"name": "customId",
|
|
655
|
+
"tags": [
|
|
656
|
+
{
|
|
657
|
+
"text": "5.0.0",
|
|
658
|
+
"name": "since"
|
|
659
|
+
}
|
|
660
|
+
],
|
|
661
|
+
"docs": "The custom identifier of the app.\n\nSet `null` to remove the custom identifier.",
|
|
662
|
+
"complexTypes": [],
|
|
663
|
+
"type": "string | null"
|
|
664
|
+
}
|
|
665
|
+
]
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "SyncResult",
|
|
669
|
+
"slug": "syncresult",
|
|
670
|
+
"docs": "",
|
|
671
|
+
"tags": [
|
|
672
|
+
{
|
|
673
|
+
"text": "5.0.0",
|
|
674
|
+
"name": "since"
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"methods": [],
|
|
678
|
+
"properties": [
|
|
679
|
+
{
|
|
680
|
+
"name": "nextBundleId",
|
|
681
|
+
"tags": [
|
|
682
|
+
{
|
|
683
|
+
"text": "5.0.0",
|
|
684
|
+
"name": "since"
|
|
685
|
+
}
|
|
686
|
+
],
|
|
687
|
+
"docs": "The identifier of the next bundle to use.\n\nIf `null`, the app is up-to-date and no new bundle is available.",
|
|
688
|
+
"complexTypes": [],
|
|
689
|
+
"type": "string | null"
|
|
690
|
+
}
|
|
691
|
+
]
|
|
692
|
+
}
|
|
693
|
+
],
|
|
694
|
+
"enums": [],
|
|
695
|
+
"typeAliases": [],
|
|
696
|
+
"pluginConfigs": [
|
|
697
|
+
{
|
|
698
|
+
"name": "LiveUpdate",
|
|
699
|
+
"slug": "liveupdate",
|
|
700
|
+
"properties": [
|
|
701
|
+
{
|
|
702
|
+
"name": "appId",
|
|
703
|
+
"tags": [
|
|
704
|
+
{
|
|
705
|
+
"text": "5.0.0",
|
|
706
|
+
"name": "since"
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"text": "'4100e356-e851-47fe-9d3c-b411eb325a99'",
|
|
710
|
+
"name": "example"
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"docs": "The app ID is used to identify the app when using [Capawesome Cloud](https://capawesome.io/cloud).",
|
|
714
|
+
"complexTypes": [],
|
|
715
|
+
"type": "string | undefined"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "autoDeleteBundles",
|
|
719
|
+
"tags": [
|
|
720
|
+
{
|
|
721
|
+
"text": "5.0.0",
|
|
722
|
+
"name": "since"
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"text": "false",
|
|
726
|
+
"name": "default"
|
|
727
|
+
}
|
|
728
|
+
],
|
|
729
|
+
"docs": "Whether or not to automatically delete unused bundles.\n\nWhen enabled, the plugin will automatically delete unused bundles after calling `ready()`.",
|
|
730
|
+
"complexTypes": [],
|
|
731
|
+
"type": "boolean | undefined"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "enabled",
|
|
735
|
+
"tags": [
|
|
736
|
+
{
|
|
737
|
+
"text": "5.0.0",
|
|
738
|
+
"name": "since"
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"text": "true",
|
|
742
|
+
"name": "default"
|
|
743
|
+
}
|
|
744
|
+
],
|
|
745
|
+
"docs": "Whether or not the plugin is enabled.",
|
|
746
|
+
"complexTypes": [],
|
|
747
|
+
"type": "boolean | undefined"
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
"name": "readyTimeout",
|
|
751
|
+
"tags": [
|
|
752
|
+
{
|
|
753
|
+
"text": "5.0.0",
|
|
754
|
+
"name": "since"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"text": "10000",
|
|
758
|
+
"name": "default"
|
|
759
|
+
}
|
|
760
|
+
],
|
|
761
|
+
"docs": "The timeout in milliseconds to wait for the app to be ready before resetting to the default bundle.",
|
|
762
|
+
"complexTypes": [],
|
|
763
|
+
"type": "number | undefined"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "resetOnUpdate",
|
|
767
|
+
"tags": [
|
|
768
|
+
{
|
|
769
|
+
"text": "5.0.0",
|
|
770
|
+
"name": "since"
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"text": "true",
|
|
774
|
+
"name": "default"
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"docs": "Whether or not the app should be reset to the default bundle during an update.",
|
|
778
|
+
"complexTypes": [],
|
|
779
|
+
"type": "boolean | undefined"
|
|
780
|
+
}
|
|
781
|
+
],
|
|
782
|
+
"docs": ""
|
|
783
|
+
}
|
|
784
|
+
]
|
|
785
|
+
}
|