@capgo/capacitor-updater 6.14.26 → 6.14.29
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/CapgoCapacitorUpdater.podspec +3 -2
- package/Package.swift +2 -2
- package/README.md +341 -74
- package/android/build.gradle +20 -8
- package/android/proguard-rules.pro +22 -5
- package/android/src/main/java/ee/forgr/capacitor_updater/BundleInfo.java +52 -16
- package/android/src/main/java/ee/forgr/capacitor_updater/Callback.java +2 -2
- package/android/src/main/java/ee/forgr/capacitor_updater/CapacitorUpdaterPlugin.java +1196 -508
- package/android/src/main/java/ee/forgr/capacitor_updater/{CapacitorUpdater.java → CapgoUpdater.java} +522 -154
- package/android/src/main/java/ee/forgr/capacitor_updater/{CryptoCipher.java → CryptoCipherV1.java} +17 -9
- package/android/src/main/java/ee/forgr/capacitor_updater/CryptoCipherV2.java +15 -26
- package/android/src/main/java/ee/forgr/capacitor_updater/DelayCondition.java +0 -3
- package/android/src/main/java/ee/forgr/capacitor_updater/DelayUpdateUtils.java +260 -0
- package/android/src/main/java/ee/forgr/capacitor_updater/DownloadService.java +300 -119
- package/android/src/main/java/ee/forgr/capacitor_updater/DownloadWorkerManager.java +63 -25
- package/android/src/main/java/ee/forgr/capacitor_updater/Logger.java +338 -0
- package/android/src/main/java/ee/forgr/capacitor_updater/ShakeDetector.java +72 -0
- package/android/src/main/java/ee/forgr/capacitor_updater/ShakeMenu.java +169 -0
- package/dist/docs.json +652 -63
- package/dist/esm/definitions.d.ts +265 -15
- package/dist/esm/definitions.js.map +1 -1
- package/dist/esm/history.d.ts +1 -0
- package/dist/esm/history.js +283 -0
- package/dist/esm/history.js.map +1 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/web.d.ts +12 -1
- package/dist/esm/web.js +29 -2
- package/dist/esm/web.js.map +1 -1
- package/dist/plugin.cjs.js +311 -2
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +311 -2
- package/dist/plugin.js.map +1 -1
- package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/AES.swift +6 -3
- package/ios/Sources/CapacitorUpdaterPlugin/CapacitorUpdaterPlugin.swift +1575 -0
- package/ios/{Plugin/CapacitorUpdater.swift → Sources/CapacitorUpdaterPlugin/CapgoUpdater.swift} +365 -139
- package/ios/{Plugin/CryptoCipher.swift → Sources/CapacitorUpdaterPlugin/CryptoCipherV1.swift} +13 -6
- package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/CryptoCipherV2.swift +33 -27
- package/ios/Sources/CapacitorUpdaterPlugin/DelayUpdateUtils.swift +220 -0
- package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/InternalUtils.swift +47 -0
- package/ios/Sources/CapacitorUpdaterPlugin/Logger.swift +310 -0
- package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/RSA.swift +1 -0
- package/ios/Sources/CapacitorUpdaterPlugin/ShakeMenu.swift +112 -0
- package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/UserDefaultsExtension.swift +0 -2
- package/package.json +20 -16
- package/ios/Plugin/CapacitorUpdaterPlugin.swift +0 -1030
- /package/{LICENCE → LICENSE} +0 -0
- /package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/BigInt.swift +0 -0
- /package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/BundleInfo.swift +0 -0
- /package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/BundleStatus.swift +0 -0
- /package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/DelayCondition.swift +0 -0
- /package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/DelayUntilNext.swift +0 -0
- /package/ios/{Plugin → Sources/CapacitorUpdaterPlugin}/Info.plist +0 -0
package/dist/docs.json
CHANGED
|
@@ -253,6 +253,42 @@
|
|
|
253
253
|
],
|
|
254
254
|
"slug": "delete"
|
|
255
255
|
},
|
|
256
|
+
{
|
|
257
|
+
"name": "setBundleError",
|
|
258
|
+
"signature": "(options: BundleId) => Promise<BundleInfo>",
|
|
259
|
+
"parameters": [
|
|
260
|
+
{
|
|
261
|
+
"name": "options",
|
|
262
|
+
"docs": "A {@link BundleId} object containing the bundle id to mark as errored.",
|
|
263
|
+
"type": "BundleId"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"returns": "Promise<BundleInfo>",
|
|
267
|
+
"tags": [
|
|
268
|
+
{
|
|
269
|
+
"name": "param",
|
|
270
|
+
"text": "options A {@link BundleId} object containing the bundle id to mark as errored."
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "returns",
|
|
274
|
+
"text": "The updated {@link BundleInfo} for the bundle."
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "throws",
|
|
278
|
+
"text": "{Error} When the bundle does not exist or the feature is disabled."
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "since",
|
|
282
|
+
"text": "7.20.0"
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"docs": "Mark an installed bundle as errored. Only available when {@link PluginsConfig.CapacitorUpdater.allowManualBundleError} is true.",
|
|
286
|
+
"complexTypes": [
|
|
287
|
+
"BundleInfo",
|
|
288
|
+
"BundleId"
|
|
289
|
+
],
|
|
290
|
+
"slug": "setbundleerror"
|
|
291
|
+
},
|
|
256
292
|
{
|
|
257
293
|
"name": "list",
|
|
258
294
|
"signature": "(options?: ListOptions | undefined) => Promise<BundleListResult>",
|
|
@@ -484,7 +520,7 @@
|
|
|
484
520
|
"text": "4.7.0"
|
|
485
521
|
}
|
|
486
522
|
],
|
|
487
|
-
"docs": "Sets the channel for this device. The channel has to allow for self assignment for this to work.\nDo not use this method to set the channel at boot
|
|
523
|
+
"docs": "Sets the channel for this device. The channel has to allow for self assignment for this to work.\nDo not use this method to set the channel at boot.\nThis method is to set the channel after the app is ready, and user interacted.\nIf you want to set the channel at boot, use the {@link PluginsConfig} to set the default channel.\nThis methods send to Capgo backend a request to link the device ID to the channel. Capgo can accept or refuse depending of the setting of your channel.",
|
|
488
524
|
"complexTypes": [
|
|
489
525
|
"ChannelRes",
|
|
490
526
|
"SetChannelOptions"
|
|
@@ -547,6 +583,31 @@
|
|
|
547
583
|
],
|
|
548
584
|
"slug": "getchannel"
|
|
549
585
|
},
|
|
586
|
+
{
|
|
587
|
+
"name": "listChannels",
|
|
588
|
+
"signature": "() => Promise<ListChannelsResult>",
|
|
589
|
+
"parameters": [],
|
|
590
|
+
"returns": "Promise<ListChannelsResult>",
|
|
591
|
+
"tags": [
|
|
592
|
+
{
|
|
593
|
+
"name": "returns",
|
|
594
|
+
"text": "A Promise that resolves with the available channels"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"name": "throws",
|
|
598
|
+
"text": "{Error}"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "since",
|
|
602
|
+
"text": "7.5.0"
|
|
603
|
+
}
|
|
604
|
+
],
|
|
605
|
+
"docs": "List all channels available for this device that allow self-assignment",
|
|
606
|
+
"complexTypes": [
|
|
607
|
+
"ListChannelsResult"
|
|
608
|
+
],
|
|
609
|
+
"slug": "listchannels"
|
|
610
|
+
},
|
|
550
611
|
{
|
|
551
612
|
"name": "setCustomId",
|
|
552
613
|
"signature": "(options: SetCustomIdOptions) => Promise<void>",
|
|
@@ -576,7 +637,7 @@
|
|
|
576
637
|
"text": "4.9.0"
|
|
577
638
|
}
|
|
578
639
|
],
|
|
579
|
-
"docs": "Set a custom ID for this device",
|
|
640
|
+
"docs": "Set a custom ID for this device\n\nWhen {@link PluginsConfig.CapacitorUpdater.persistCustomId} is true, the value will be stored natively and restored on the next app launch.\nPass an empty string to remove any previously stored customId.",
|
|
580
641
|
"complexTypes": [
|
|
581
642
|
"SetCustomIdOptions"
|
|
582
643
|
],
|
|
@@ -618,7 +679,7 @@
|
|
|
618
679
|
"text": "{Error}"
|
|
619
680
|
}
|
|
620
681
|
],
|
|
621
|
-
"docs": "Get unique ID used to identify device (sent to auto update server)",
|
|
682
|
+
"docs": "Get unique ID used to identify device (sent to auto update server), this ID is made following Apple and Google privacy best practices, and not persisted between installs",
|
|
622
683
|
"complexTypes": [
|
|
623
684
|
"DeviceId"
|
|
624
685
|
],
|
|
@@ -703,7 +764,7 @@
|
|
|
703
764
|
"text": "2.0.11"
|
|
704
765
|
}
|
|
705
766
|
],
|
|
706
|
-
"docs": "Listen for bundle download event in the App. Fires once a download has started, during downloading and when finished
|
|
767
|
+
"docs": "Listen for bundle download event in the App. Fires once a download has started, during downloading and when finished.\nThis will return you all download percent during the download",
|
|
707
768
|
"complexTypes": [
|
|
708
769
|
"PluginListenerHandle",
|
|
709
770
|
"DownloadEvent"
|
|
@@ -797,6 +858,35 @@
|
|
|
797
858
|
],
|
|
798
859
|
"slug": "addlistenerdownloadcomplete-"
|
|
799
860
|
},
|
|
861
|
+
{
|
|
862
|
+
"name": "addListener",
|
|
863
|
+
"signature": "(eventName: 'breakingAvailable', listenerFunc: (state: BreakingAvailableEvent) => void) => Promise<PluginListenerHandle>",
|
|
864
|
+
"parameters": [
|
|
865
|
+
{
|
|
866
|
+
"name": "eventName",
|
|
867
|
+
"docs": "",
|
|
868
|
+
"type": "'breakingAvailable'"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "listenerFunc",
|
|
872
|
+
"docs": "",
|
|
873
|
+
"type": "(state: MajorAvailableEvent) => void"
|
|
874
|
+
}
|
|
875
|
+
],
|
|
876
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
877
|
+
"tags": [
|
|
878
|
+
{
|
|
879
|
+
"name": "since",
|
|
880
|
+
"text": "7.22.0"
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
"docs": "Listen for breaking update events when the backend flags an update as incompatible with the current app.\nEmits the same payload as the legacy `majorAvailable` listener.",
|
|
884
|
+
"complexTypes": [
|
|
885
|
+
"PluginListenerHandle",
|
|
886
|
+
"BreakingAvailableEvent"
|
|
887
|
+
],
|
|
888
|
+
"slug": "addlistenerbreakingavailable-"
|
|
889
|
+
},
|
|
800
890
|
{
|
|
801
891
|
"name": "addListener",
|
|
802
892
|
"signature": "(eventName: 'majorAvailable', listenerFunc: (state: MajorAvailableEvent) => void) => Promise<PluginListenerHandle>",
|
|
@@ -814,6 +904,10 @@
|
|
|
814
904
|
],
|
|
815
905
|
"returns": "Promise<PluginListenerHandle>",
|
|
816
906
|
"tags": [
|
|
907
|
+
{
|
|
908
|
+
"name": "deprecated",
|
|
909
|
+
"text": "Deprecated alias for {@link addListener} with `breakingAvailable`. Emits the same payload. will be removed in v8"
|
|
910
|
+
},
|
|
817
911
|
{
|
|
818
912
|
"name": "since",
|
|
819
913
|
"text": "2.3.0"
|
|
@@ -934,7 +1028,7 @@
|
|
|
934
1028
|
"text": "5.1.0"
|
|
935
1029
|
}
|
|
936
1030
|
],
|
|
937
|
-
"docs": "Listen for app ready event in the App, let you know when app is ready to use",
|
|
1031
|
+
"docs": "Listen for app ready event in the App, let you know when app is ready to use, this event is retain till consumed.",
|
|
938
1032
|
"complexTypes": [
|
|
939
1033
|
"PluginListenerHandle",
|
|
940
1034
|
"AppReadyEvent"
|
|
@@ -986,6 +1080,149 @@
|
|
|
986
1080
|
"BundleInfo"
|
|
987
1081
|
],
|
|
988
1082
|
"slug": "getnextbundle"
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "getFailedUpdate",
|
|
1086
|
+
"signature": "() => Promise<UpdateFailedEvent | null>",
|
|
1087
|
+
"parameters": [],
|
|
1088
|
+
"returns": "Promise<UpdateFailedEvent | null>",
|
|
1089
|
+
"tags": [
|
|
1090
|
+
{
|
|
1091
|
+
"name": "returns",
|
|
1092
|
+
"text": "The last failed update or null when no failure has been recorded. Value is cleared after it is returned once."
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"name": "throws",
|
|
1096
|
+
"text": "{Error}"
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "since",
|
|
1100
|
+
"text": "7.22.0"
|
|
1101
|
+
}
|
|
1102
|
+
],
|
|
1103
|
+
"docs": "Get the most recent update that failed to install, if any. The stored value is cleared after it is retrieved once.",
|
|
1104
|
+
"complexTypes": [
|
|
1105
|
+
"UpdateFailedEvent"
|
|
1106
|
+
],
|
|
1107
|
+
"slug": "getfailedupdate"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "setShakeMenu",
|
|
1111
|
+
"signature": "(options: SetShakeMenuOptions) => Promise<void>",
|
|
1112
|
+
"parameters": [
|
|
1113
|
+
{
|
|
1114
|
+
"name": "options",
|
|
1115
|
+
"docs": "Contains enabled boolean to enable or disable shake menu",
|
|
1116
|
+
"type": "SetShakeMenuOptions"
|
|
1117
|
+
}
|
|
1118
|
+
],
|
|
1119
|
+
"returns": "Promise<void>",
|
|
1120
|
+
"tags": [
|
|
1121
|
+
{
|
|
1122
|
+
"name": "param",
|
|
1123
|
+
"text": "options Contains enabled boolean to enable or disable shake menu"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "returns"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"name": "throws",
|
|
1130
|
+
"text": "{Error}"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"name": "since",
|
|
1134
|
+
"text": "7.5.0"
|
|
1135
|
+
}
|
|
1136
|
+
],
|
|
1137
|
+
"docs": "Enable or disable the shake menu for debugging/testing purposes",
|
|
1138
|
+
"complexTypes": [
|
|
1139
|
+
"SetShakeMenuOptions"
|
|
1140
|
+
],
|
|
1141
|
+
"slug": "setshakemenu"
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"name": "isShakeMenuEnabled",
|
|
1145
|
+
"signature": "() => Promise<ShakeMenuEnabled>",
|
|
1146
|
+
"parameters": [],
|
|
1147
|
+
"returns": "Promise<ShakeMenuEnabled>",
|
|
1148
|
+
"tags": [
|
|
1149
|
+
{
|
|
1150
|
+
"name": "returns",
|
|
1151
|
+
"text": "The current state of shake menu"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"name": "throws",
|
|
1155
|
+
"text": "{Error}"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "since",
|
|
1159
|
+
"text": "7.5.0"
|
|
1160
|
+
}
|
|
1161
|
+
],
|
|
1162
|
+
"docs": "Get the current state of the shake menu",
|
|
1163
|
+
"complexTypes": [
|
|
1164
|
+
"ShakeMenuEnabled"
|
|
1165
|
+
],
|
|
1166
|
+
"slug": "isshakemenuenabled"
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "getAppId",
|
|
1170
|
+
"signature": "() => Promise<GetAppIdRes>",
|
|
1171
|
+
"parameters": [],
|
|
1172
|
+
"returns": "Promise<GetAppIdRes>",
|
|
1173
|
+
"tags": [
|
|
1174
|
+
{
|
|
1175
|
+
"name": "returns",
|
|
1176
|
+
"text": "The current App ID"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"name": "throws",
|
|
1180
|
+
"text": "{Error}"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"name": "since",
|
|
1184
|
+
"text": "7.14.0"
|
|
1185
|
+
}
|
|
1186
|
+
],
|
|
1187
|
+
"docs": "Get the configured App ID",
|
|
1188
|
+
"complexTypes": [
|
|
1189
|
+
"GetAppIdRes"
|
|
1190
|
+
],
|
|
1191
|
+
"slug": "getappid"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"name": "setAppId",
|
|
1195
|
+
"signature": "(options: SetAppIdOptions) => Promise<void>",
|
|
1196
|
+
"parameters": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "options",
|
|
1199
|
+
"docs": "The new App ID to set",
|
|
1200
|
+
"type": "SetAppIdOptions"
|
|
1201
|
+
}
|
|
1202
|
+
],
|
|
1203
|
+
"returns": "Promise<void>",
|
|
1204
|
+
"tags": [
|
|
1205
|
+
{
|
|
1206
|
+
"name": "param",
|
|
1207
|
+
"text": "options The new App ID to set"
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "returns"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"name": "throws",
|
|
1214
|
+
"text": "{Error} If allowModifyAppId is false or if the operation fails"
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "since",
|
|
1218
|
+
"text": "7.14.0"
|
|
1219
|
+
}
|
|
1220
|
+
],
|
|
1221
|
+
"docs": "Set the App ID for the app (requires allowModifyAppId to be true in config)",
|
|
1222
|
+
"complexTypes": [
|
|
1223
|
+
"SetAppIdOptions"
|
|
1224
|
+
],
|
|
1225
|
+
"slug": "setappid"
|
|
989
1226
|
}
|
|
990
1227
|
],
|
|
991
1228
|
"properties": []
|
|
@@ -1106,7 +1343,7 @@
|
|
|
1106
1343
|
{
|
|
1107
1344
|
"name": "DownloadOptions",
|
|
1108
1345
|
"slug": "downloadoptions",
|
|
1109
|
-
"docs": "",
|
|
1346
|
+
"docs": "This URL and versions are used to download the bundle from the server, If you use backend all information will be gived by the method getLatest.\nIf you don't use backend, you need to provide the URL and version of the bundle. Checksum and sessionKey are required if you encrypted the bundle with the CLI command encrypt, you should receive them as result of the command.",
|
|
1110
1347
|
"tags": [],
|
|
1111
1348
|
"methods": [],
|
|
1112
1349
|
"properties": [
|
|
@@ -1115,7 +1352,7 @@
|
|
|
1115
1352
|
"tags": [],
|
|
1116
1353
|
"docs": "The URL of the bundle zip file (e.g: dist.zip) to be downloaded. (This can be any URL. E.g: Amazon S3, a GitHub tag, any other place you've hosted your bundle.)",
|
|
1117
1354
|
"complexTypes": [],
|
|
1118
|
-
"type": "string
|
|
1355
|
+
"type": "string"
|
|
1119
1356
|
},
|
|
1120
1357
|
{
|
|
1121
1358
|
"name": "version",
|
|
@@ -1136,7 +1373,7 @@
|
|
|
1136
1373
|
"name": "default"
|
|
1137
1374
|
}
|
|
1138
1375
|
],
|
|
1139
|
-
"docs": "The session key for the update",
|
|
1376
|
+
"docs": "The session key for the update, when the bundle is encrypted with a session key",
|
|
1140
1377
|
"complexTypes": [],
|
|
1141
1378
|
"type": "string | undefined"
|
|
1142
1379
|
},
|
|
@@ -1152,9 +1389,57 @@
|
|
|
1152
1389
|
"name": "default"
|
|
1153
1390
|
}
|
|
1154
1391
|
],
|
|
1155
|
-
"docs": "The checksum for the update",
|
|
1392
|
+
"docs": "The checksum for the update, it should be in sha256 and encrypted with private key if the bundle is encrypted",
|
|
1156
1393
|
"complexTypes": [],
|
|
1157
1394
|
"type": "string | undefined"
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "manifest",
|
|
1398
|
+
"tags": [
|
|
1399
|
+
{
|
|
1400
|
+
"text": "6.1.0",
|
|
1401
|
+
"name": "since"
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"text": "undefined",
|
|
1405
|
+
"name": "default"
|
|
1406
|
+
}
|
|
1407
|
+
],
|
|
1408
|
+
"docs": "The manifest for multi-file downloads",
|
|
1409
|
+
"complexTypes": [
|
|
1410
|
+
"ManifestEntry"
|
|
1411
|
+
],
|
|
1412
|
+
"type": "ManifestEntry[] | undefined"
|
|
1413
|
+
}
|
|
1414
|
+
]
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"name": "ManifestEntry",
|
|
1418
|
+
"slug": "manifestentry",
|
|
1419
|
+
"docs": "",
|
|
1420
|
+
"tags": [],
|
|
1421
|
+
"methods": [],
|
|
1422
|
+
"properties": [
|
|
1423
|
+
{
|
|
1424
|
+
"name": "file_name",
|
|
1425
|
+
"tags": [],
|
|
1426
|
+
"docs": "",
|
|
1427
|
+
"complexTypes": [],
|
|
1428
|
+
"type": "string | null"
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"name": "file_hash",
|
|
1432
|
+
"tags": [],
|
|
1433
|
+
"docs": "",
|
|
1434
|
+
"complexTypes": [],
|
|
1435
|
+
"type": "string | null"
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"name": "download_url",
|
|
1439
|
+
"tags": [],
|
|
1440
|
+
"docs": "",
|
|
1441
|
+
"complexTypes": [],
|
|
1442
|
+
"type": "string | null"
|
|
1158
1443
|
}
|
|
1159
1444
|
]
|
|
1160
1445
|
},
|
|
@@ -1341,9 +1626,26 @@
|
|
|
1341
1626
|
"complexTypes": [],
|
|
1342
1627
|
"type": "string | undefined"
|
|
1343
1628
|
},
|
|
1629
|
+
{
|
|
1630
|
+
"name": "breaking",
|
|
1631
|
+
"tags": [
|
|
1632
|
+
{
|
|
1633
|
+
"text": "7.22.0",
|
|
1634
|
+
"name": "since"
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
"docs": "Indicates whether the update was flagged as breaking by the backend.",
|
|
1638
|
+
"complexTypes": [],
|
|
1639
|
+
"type": "boolean | undefined"
|
|
1640
|
+
},
|
|
1344
1641
|
{
|
|
1345
1642
|
"name": "major",
|
|
1346
|
-
"tags": [
|
|
1643
|
+
"tags": [
|
|
1644
|
+
{
|
|
1645
|
+
"text": "Use {@link LatestVersion.breaking} instead.",
|
|
1646
|
+
"name": "deprecated"
|
|
1647
|
+
}
|
|
1648
|
+
],
|
|
1347
1649
|
"docs": "",
|
|
1348
1650
|
"complexTypes": [],
|
|
1349
1651
|
"type": "boolean | undefined"
|
|
@@ -1400,55 +1702,25 @@
|
|
|
1400
1702
|
]
|
|
1401
1703
|
},
|
|
1402
1704
|
{
|
|
1403
|
-
"name": "
|
|
1404
|
-
"slug": "
|
|
1705
|
+
"name": "GetLatestOptions",
|
|
1706
|
+
"slug": "getlatestoptions",
|
|
1405
1707
|
"docs": "",
|
|
1406
1708
|
"tags": [],
|
|
1407
1709
|
"methods": [],
|
|
1408
1710
|
"properties": [
|
|
1409
1711
|
{
|
|
1410
|
-
"name": "
|
|
1411
|
-
"tags": [
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
"
|
|
1422
|
-
},
|
|
1423
|
-
{
|
|
1424
|
-
"name": "download_url",
|
|
1425
|
-
"tags": [],
|
|
1426
|
-
"docs": "",
|
|
1427
|
-
"complexTypes": [],
|
|
1428
|
-
"type": "string | null"
|
|
1429
|
-
}
|
|
1430
|
-
]
|
|
1431
|
-
},
|
|
1432
|
-
{
|
|
1433
|
-
"name": "GetLatestOptions",
|
|
1434
|
-
"slug": "getlatestoptions",
|
|
1435
|
-
"docs": "",
|
|
1436
|
-
"tags": [],
|
|
1437
|
-
"methods": [],
|
|
1438
|
-
"properties": [
|
|
1439
|
-
{
|
|
1440
|
-
"name": "channel",
|
|
1441
|
-
"tags": [
|
|
1442
|
-
{
|
|
1443
|
-
"text": "6.8.0",
|
|
1444
|
-
"name": "since"
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"text": "undefined",
|
|
1448
|
-
"name": "default"
|
|
1449
|
-
}
|
|
1450
|
-
],
|
|
1451
|
-
"docs": "The channel to get the latest version for\nThe channel must allow 'self_assign' for this to work",
|
|
1712
|
+
"name": "channel",
|
|
1713
|
+
"tags": [
|
|
1714
|
+
{
|
|
1715
|
+
"text": "6.8.0",
|
|
1716
|
+
"name": "since"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"text": "undefined",
|
|
1720
|
+
"name": "default"
|
|
1721
|
+
}
|
|
1722
|
+
],
|
|
1723
|
+
"docs": "The channel to get the latest version for\nThe channel must allow 'self_assign' for this to work",
|
|
1452
1724
|
"complexTypes": [],
|
|
1453
1725
|
"type": "string | undefined"
|
|
1454
1726
|
}
|
|
@@ -1577,6 +1849,86 @@
|
|
|
1577
1849
|
}
|
|
1578
1850
|
]
|
|
1579
1851
|
},
|
|
1852
|
+
{
|
|
1853
|
+
"name": "ListChannelsResult",
|
|
1854
|
+
"slug": "listchannelsresult",
|
|
1855
|
+
"docs": "",
|
|
1856
|
+
"tags": [],
|
|
1857
|
+
"methods": [],
|
|
1858
|
+
"properties": [
|
|
1859
|
+
{
|
|
1860
|
+
"name": "channels",
|
|
1861
|
+
"tags": [
|
|
1862
|
+
{
|
|
1863
|
+
"text": "7.5.0",
|
|
1864
|
+
"name": "since"
|
|
1865
|
+
}
|
|
1866
|
+
],
|
|
1867
|
+
"docs": "List of available channels",
|
|
1868
|
+
"complexTypes": [
|
|
1869
|
+
"ChannelInfo"
|
|
1870
|
+
],
|
|
1871
|
+
"type": "ChannelInfo[]"
|
|
1872
|
+
}
|
|
1873
|
+
]
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"name": "ChannelInfo",
|
|
1877
|
+
"slug": "channelinfo",
|
|
1878
|
+
"docs": "",
|
|
1879
|
+
"tags": [],
|
|
1880
|
+
"methods": [],
|
|
1881
|
+
"properties": [
|
|
1882
|
+
{
|
|
1883
|
+
"name": "id",
|
|
1884
|
+
"tags": [
|
|
1885
|
+
{
|
|
1886
|
+
"text": "7.5.0",
|
|
1887
|
+
"name": "since"
|
|
1888
|
+
}
|
|
1889
|
+
],
|
|
1890
|
+
"docs": "The channel ID",
|
|
1891
|
+
"complexTypes": [],
|
|
1892
|
+
"type": "string"
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "name",
|
|
1896
|
+
"tags": [
|
|
1897
|
+
{
|
|
1898
|
+
"text": "7.5.0",
|
|
1899
|
+
"name": "since"
|
|
1900
|
+
}
|
|
1901
|
+
],
|
|
1902
|
+
"docs": "The channel name",
|
|
1903
|
+
"complexTypes": [],
|
|
1904
|
+
"type": "string"
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"name": "public",
|
|
1908
|
+
"tags": [
|
|
1909
|
+
{
|
|
1910
|
+
"text": "7.5.0",
|
|
1911
|
+
"name": "since"
|
|
1912
|
+
}
|
|
1913
|
+
],
|
|
1914
|
+
"docs": "Whether this is a public channel",
|
|
1915
|
+
"complexTypes": [],
|
|
1916
|
+
"type": "boolean"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "allow_self_set",
|
|
1920
|
+
"tags": [
|
|
1921
|
+
{
|
|
1922
|
+
"text": "7.5.0",
|
|
1923
|
+
"name": "since"
|
|
1924
|
+
}
|
|
1925
|
+
],
|
|
1926
|
+
"docs": "Whether devices can self-assign to this channel",
|
|
1927
|
+
"complexTypes": [],
|
|
1928
|
+
"type": "boolean"
|
|
1929
|
+
}
|
|
1930
|
+
]
|
|
1931
|
+
},
|
|
1580
1932
|
{
|
|
1581
1933
|
"name": "SetCustomIdOptions",
|
|
1582
1934
|
"slug": "setcustomidoptions",
|
|
@@ -1587,7 +1939,7 @@
|
|
|
1587
1939
|
{
|
|
1588
1940
|
"name": "customId",
|
|
1589
1941
|
"tags": [],
|
|
1590
|
-
"docs": "",
|
|
1942
|
+
"docs": "Custom identifier to associate with the device. Use an empty string to clear any saved value.",
|
|
1591
1943
|
"complexTypes": [],
|
|
1592
1944
|
"type": "string"
|
|
1593
1945
|
}
|
|
@@ -1782,12 +2134,16 @@
|
|
|
1782
2134
|
{
|
|
1783
2135
|
"name": "version",
|
|
1784
2136
|
"tags": [
|
|
2137
|
+
{
|
|
2138
|
+
"text": "Deprecated alias for {@link BreakingAvailableEvent}. Receives the same payload.",
|
|
2139
|
+
"name": "deprecated"
|
|
2140
|
+
},
|
|
1785
2141
|
{
|
|
1786
2142
|
"text": "4.0.0",
|
|
1787
2143
|
"name": "since"
|
|
1788
2144
|
}
|
|
1789
2145
|
],
|
|
1790
|
-
"docs": "Emit when a
|
|
2146
|
+
"docs": "Emit when a breaking update is available.",
|
|
1791
2147
|
"complexTypes": [],
|
|
1792
2148
|
"type": "string"
|
|
1793
2149
|
}
|
|
@@ -1882,6 +2238,70 @@
|
|
|
1882
2238
|
"type": "boolean"
|
|
1883
2239
|
}
|
|
1884
2240
|
]
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"name": "SetShakeMenuOptions",
|
|
2244
|
+
"slug": "setshakemenuoptions",
|
|
2245
|
+
"docs": "",
|
|
2246
|
+
"tags": [],
|
|
2247
|
+
"methods": [],
|
|
2248
|
+
"properties": [
|
|
2249
|
+
{
|
|
2250
|
+
"name": "enabled",
|
|
2251
|
+
"tags": [],
|
|
2252
|
+
"docs": "",
|
|
2253
|
+
"complexTypes": [],
|
|
2254
|
+
"type": "boolean"
|
|
2255
|
+
}
|
|
2256
|
+
]
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
"name": "ShakeMenuEnabled",
|
|
2260
|
+
"slug": "shakemenuenabled",
|
|
2261
|
+
"docs": "",
|
|
2262
|
+
"tags": [],
|
|
2263
|
+
"methods": [],
|
|
2264
|
+
"properties": [
|
|
2265
|
+
{
|
|
2266
|
+
"name": "enabled",
|
|
2267
|
+
"tags": [],
|
|
2268
|
+
"docs": "",
|
|
2269
|
+
"complexTypes": [],
|
|
2270
|
+
"type": "boolean"
|
|
2271
|
+
}
|
|
2272
|
+
]
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"name": "GetAppIdRes",
|
|
2276
|
+
"slug": "getappidres",
|
|
2277
|
+
"docs": "",
|
|
2278
|
+
"tags": [],
|
|
2279
|
+
"methods": [],
|
|
2280
|
+
"properties": [
|
|
2281
|
+
{
|
|
2282
|
+
"name": "appId",
|
|
2283
|
+
"tags": [],
|
|
2284
|
+
"docs": "",
|
|
2285
|
+
"complexTypes": [],
|
|
2286
|
+
"type": "string"
|
|
2287
|
+
}
|
|
2288
|
+
]
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"name": "SetAppIdOptions",
|
|
2292
|
+
"slug": "setappidoptions",
|
|
2293
|
+
"docs": "",
|
|
2294
|
+
"tags": [],
|
|
2295
|
+
"methods": [],
|
|
2296
|
+
"properties": [
|
|
2297
|
+
{
|
|
2298
|
+
"name": "appId",
|
|
2299
|
+
"tags": [],
|
|
2300
|
+
"docs": "",
|
|
2301
|
+
"complexTypes": [],
|
|
2302
|
+
"type": "string"
|
|
2303
|
+
}
|
|
2304
|
+
]
|
|
1885
2305
|
}
|
|
1886
2306
|
],
|
|
1887
2307
|
"enums": [],
|
|
@@ -1889,7 +2309,7 @@
|
|
|
1889
2309
|
{
|
|
1890
2310
|
"name": "BundleStatus",
|
|
1891
2311
|
"slug": "bundlestatus",
|
|
1892
|
-
"docs": "",
|
|
2312
|
+
"docs": "pending: The bundle is pending to be **SET** as the next bundle.\ndownloading: The bundle is being downloaded.\nsuccess: The bundle has been downloaded and is ready to be **SET** as the next bundle.\nerror: The bundle has failed to download.",
|
|
1893
2313
|
"types": [
|
|
1894
2314
|
{
|
|
1895
2315
|
"text": "'success'",
|
|
@@ -1931,6 +2351,19 @@
|
|
|
1931
2351
|
"complexTypes": []
|
|
1932
2352
|
}
|
|
1933
2353
|
]
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
"name": "BreakingAvailableEvent",
|
|
2357
|
+
"slug": "breakingavailableevent",
|
|
2358
|
+
"docs": "Payload emitted by {@link CapacitorUpdaterPlugin.addListener} with `breakingAvailable`.",
|
|
2359
|
+
"types": [
|
|
2360
|
+
{
|
|
2361
|
+
"text": "MajorAvailableEvent",
|
|
2362
|
+
"complexTypes": [
|
|
2363
|
+
"MajorAvailableEvent"
|
|
2364
|
+
]
|
|
2365
|
+
}
|
|
2366
|
+
]
|
|
1934
2367
|
}
|
|
1935
2368
|
],
|
|
1936
2369
|
"pluginConfigs": [
|
|
@@ -1966,7 +2399,7 @@
|
|
|
1966
2399
|
"name": "example"
|
|
1967
2400
|
}
|
|
1968
2401
|
],
|
|
1969
|
-
"docs": "Configure the number of
|
|
2402
|
+
"docs": "Configure the number of seconds the native plugin should wait before considering API timeout.\n\nOnly available for Android and iOS.",
|
|
1970
2403
|
"complexTypes": [],
|
|
1971
2404
|
"type": "number | undefined"
|
|
1972
2405
|
},
|
|
@@ -2088,9 +2521,13 @@
|
|
|
2088
2521
|
{
|
|
2089
2522
|
"text": "undefined",
|
|
2090
2523
|
"name": "default"
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"text": "Use publicKey instead",
|
|
2527
|
+
"name": "deprecated"
|
|
2091
2528
|
}
|
|
2092
2529
|
],
|
|
2093
|
-
"docs": "Configure the private key for end to end live update encryption.\n\nOnly available for Android and iOS. Deprecated in version 6.2.0
|
|
2530
|
+
"docs": "Configure the private key for end to end live update encryption.\n\nOnly available for Android and iOS. Deprecated in version 6.2.0 in favor of publicKey.\nStill supported for backwards compatibility.",
|
|
2094
2531
|
"complexTypes": [],
|
|
2095
2532
|
"type": "string | undefined"
|
|
2096
2533
|
},
|
|
@@ -2130,7 +2567,7 @@
|
|
|
2130
2567
|
"name": "directUpdate",
|
|
2131
2568
|
"tags": [
|
|
2132
2569
|
{
|
|
2133
|
-
"text": "
|
|
2570
|
+
"text": "false",
|
|
2134
2571
|
"name": "default"
|
|
2135
2572
|
},
|
|
2136
2573
|
{
|
|
@@ -2138,16 +2575,72 @@
|
|
|
2138
2575
|
"name": "since"
|
|
2139
2576
|
}
|
|
2140
2577
|
],
|
|
2141
|
-
"docs": "
|
|
2578
|
+
"docs": "Configure when the plugin should direct install updates. Only for autoUpdate mode.\nWorks well for apps less than 10MB and with uploads done using --partial flag.\nZip or apps more than 10MB will be relatively slow for users to update.\n- false: Never do direct updates (default behavior)\n- atInstall: Direct update only when app is installed/updated from store, otherwise use normal background update\n- always: Always do direct updates immediately when available\n- true: (deprecated) Same as \"always\" for backward compatibility\n\nOnly available for Android and iOS.",
|
|
2579
|
+
"complexTypes": [],
|
|
2580
|
+
"type": "boolean | 'always' | 'atInstall' | undefined"
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"name": "autoSplashscreen",
|
|
2584
|
+
"tags": [
|
|
2585
|
+
{
|
|
2586
|
+
"text": "false",
|
|
2587
|
+
"name": "default"
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
"text": "7.6.0",
|
|
2591
|
+
"name": "since"
|
|
2592
|
+
}
|
|
2593
|
+
],
|
|
2594
|
+
"docs": "Automatically handle splashscreen hiding when using directUpdate. When enabled, the plugin will automatically hide the splashscreen after updates are applied or when no update is needed.\nThis removes the need to manually listen for appReady events and call SplashScreen.hide().\nOnly works when directUpdate is set to \"atInstall\", \"always\", or true.\nRequires the @capacitor/splash-screen plugin to be installed and configured with launchAutoHide: false.\nRequires autoUpdate and directUpdate to be enabled.\n\nOnly available for Android and iOS.",
|
|
2595
|
+
"complexTypes": [],
|
|
2596
|
+
"type": "boolean | undefined"
|
|
2597
|
+
},
|
|
2598
|
+
{
|
|
2599
|
+
"name": "autoSplashscreenLoader",
|
|
2600
|
+
"tags": [
|
|
2601
|
+
{
|
|
2602
|
+
"text": "false",
|
|
2603
|
+
"name": "default"
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
"text": "7.19.0",
|
|
2607
|
+
"name": "since"
|
|
2608
|
+
}
|
|
2609
|
+
],
|
|
2610
|
+
"docs": "Display a native loading indicator on top of the splashscreen while automatic direct updates are running.\nOnly takes effect when {@link autoSplashscreen} is enabled.\nRequires the @capacitor/splash-screen plugin to be installed and configured with launchAutoHide: false.\n\nOnly available for Android and iOS.",
|
|
2142
2611
|
"complexTypes": [],
|
|
2143
2612
|
"type": "boolean | undefined"
|
|
2144
2613
|
},
|
|
2614
|
+
{
|
|
2615
|
+
"name": "autoSplashscreenTimeout",
|
|
2616
|
+
"tags": [
|
|
2617
|
+
{
|
|
2618
|
+
"text": "10000 // (10 seconds)",
|
|
2619
|
+
"name": "default"
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
"text": "7.19.0",
|
|
2623
|
+
"name": "since"
|
|
2624
|
+
}
|
|
2625
|
+
],
|
|
2626
|
+
"docs": "Automatically hide the splashscreen after the specified number of milliseconds when using automatic direct updates.\nIf the timeout elapses, the update continues to download in the background while the splashscreen is dismissed.\nSet to `0` (zero) to disable the timeout.\nWhen the timeout fires, the direct update flow is skipped and the downloaded bundle is installed on the next background/launch.\nRequires {@link autoSplashscreen} to be enabled.\n\nOnly available for Android and iOS.",
|
|
2627
|
+
"complexTypes": [],
|
|
2628
|
+
"type": "number | undefined"
|
|
2629
|
+
},
|
|
2145
2630
|
{
|
|
2146
2631
|
"name": "periodCheckDelay",
|
|
2147
2632
|
"tags": [
|
|
2148
2633
|
{
|
|
2149
|
-
"text": "
|
|
2634
|
+
"text": "0 (disabled)",
|
|
2150
2635
|
"name": "default"
|
|
2636
|
+
},
|
|
2637
|
+
{
|
|
2638
|
+
"text": "3600 (1 hour)",
|
|
2639
|
+
"name": "example"
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
"text": "86400 (24 hours)",
|
|
2643
|
+
"name": "example"
|
|
2151
2644
|
}
|
|
2152
2645
|
],
|
|
2153
2646
|
"docs": "Configure the delay period for period update check. the unit is in seconds.\n\nOnly available for Android and iOS.\nCannot be less than 600 seconds (10 minutes).",
|
|
@@ -2282,6 +2775,70 @@
|
|
|
2282
2775
|
"complexTypes": [],
|
|
2283
2776
|
"type": "boolean | undefined"
|
|
2284
2777
|
},
|
|
2778
|
+
{
|
|
2779
|
+
"name": "allowModifyAppId",
|
|
2780
|
+
"tags": [
|
|
2781
|
+
{
|
|
2782
|
+
"text": "false",
|
|
2783
|
+
"name": "default"
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"text": "7.14.0",
|
|
2787
|
+
"name": "since"
|
|
2788
|
+
}
|
|
2789
|
+
],
|
|
2790
|
+
"docs": "Allow the plugin to modify the appId dynamically from the JavaScript side.",
|
|
2791
|
+
"complexTypes": [],
|
|
2792
|
+
"type": "boolean | undefined"
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
"name": "allowManualBundleError",
|
|
2796
|
+
"tags": [
|
|
2797
|
+
{
|
|
2798
|
+
"text": "false",
|
|
2799
|
+
"name": "default"
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"text": "7.20.0",
|
|
2803
|
+
"name": "since"
|
|
2804
|
+
}
|
|
2805
|
+
],
|
|
2806
|
+
"docs": "Allow marking bundles as errored from JavaScript while using manual update flows.\nWhen enabled, {@link CapacitorUpdaterPlugin.setBundleError} can change a bundle status to `error`.",
|
|
2807
|
+
"complexTypes": [],
|
|
2808
|
+
"type": "boolean | undefined"
|
|
2809
|
+
},
|
|
2810
|
+
{
|
|
2811
|
+
"name": "persistCustomId",
|
|
2812
|
+
"tags": [
|
|
2813
|
+
{
|
|
2814
|
+
"text": "false (will be true by default in a future major release v8.x.x)",
|
|
2815
|
+
"name": "default"
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
"text": "7.17.3",
|
|
2819
|
+
"name": "since"
|
|
2820
|
+
}
|
|
2821
|
+
],
|
|
2822
|
+
"docs": "Persist the customId set through {@link CapacitorUpdaterPlugin.setCustomId} across app restarts.\n\nOnly available for Android and iOS.",
|
|
2823
|
+
"complexTypes": [],
|
|
2824
|
+
"type": "boolean | undefined"
|
|
2825
|
+
},
|
|
2826
|
+
{
|
|
2827
|
+
"name": "persistModifyUrl",
|
|
2828
|
+
"tags": [
|
|
2829
|
+
{
|
|
2830
|
+
"text": "false",
|
|
2831
|
+
"name": "default"
|
|
2832
|
+
},
|
|
2833
|
+
{
|
|
2834
|
+
"text": "7.20.0",
|
|
2835
|
+
"name": "since"
|
|
2836
|
+
}
|
|
2837
|
+
],
|
|
2838
|
+
"docs": "Persist the updateUrl, statsUrl and channelUrl set through {@link CapacitorUpdaterPlugin.setUpdateUrl},\n{@link CapacitorUpdaterPlugin.setStatsUrl} and {@link CapacitorUpdaterPlugin.setChannelUrl} across app restarts.\n\nOnly available for Android and iOS.",
|
|
2839
|
+
"complexTypes": [],
|
|
2840
|
+
"type": "boolean | undefined"
|
|
2841
|
+
},
|
|
2285
2842
|
{
|
|
2286
2843
|
"name": "defaultChannel",
|
|
2287
2844
|
"tags": [
|
|
@@ -2294,7 +2851,7 @@
|
|
|
2294
2851
|
"name": "since"
|
|
2295
2852
|
}
|
|
2296
2853
|
],
|
|
2297
|
-
"docs": "Set the default channel for the app in the config.",
|
|
2854
|
+
"docs": "Set the default channel for the app in the config. Case sensitive.\nThis will setting will override the default channel set in the cloud, but will still respect overrides made in the cloud.\nThis requires the channel to allow devices to self dissociate/associate in the channel settings. https://capgo.app/docs/public-api/channels/#channel-configuration-options",
|
|
2298
2855
|
"complexTypes": [],
|
|
2299
2856
|
"type": "string | undefined"
|
|
2300
2857
|
},
|
|
@@ -2329,6 +2886,38 @@
|
|
|
2329
2886
|
"docs": "Configure the plugin to keep the URL path after a reload.\nWARNING: When a reload is triggered, 'window.history' will be cleared.",
|
|
2330
2887
|
"complexTypes": [],
|
|
2331
2888
|
"type": "boolean | undefined"
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"name": "disableJSLogging",
|
|
2892
|
+
"tags": [
|
|
2893
|
+
{
|
|
2894
|
+
"text": "false",
|
|
2895
|
+
"name": "default"
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"text": "7.3.0",
|
|
2899
|
+
"name": "since"
|
|
2900
|
+
}
|
|
2901
|
+
],
|
|
2902
|
+
"docs": "Disable the JavaScript logging of the plugin. if true, the plugin will not log to the JavaScript console. only the native log will be done",
|
|
2903
|
+
"complexTypes": [],
|
|
2904
|
+
"type": "boolean | undefined"
|
|
2905
|
+
},
|
|
2906
|
+
{
|
|
2907
|
+
"name": "shakeMenu",
|
|
2908
|
+
"tags": [
|
|
2909
|
+
{
|
|
2910
|
+
"text": "false",
|
|
2911
|
+
"name": "default"
|
|
2912
|
+
},
|
|
2913
|
+
{
|
|
2914
|
+
"text": "7.5.0",
|
|
2915
|
+
"name": "since"
|
|
2916
|
+
}
|
|
2917
|
+
],
|
|
2918
|
+
"docs": "Enable shake gesture to show update menu for debugging/testing purposes",
|
|
2919
|
+
"complexTypes": [],
|
|
2920
|
+
"type": "boolean | undefined"
|
|
2332
2921
|
}
|
|
2333
2922
|
],
|
|
2334
2923
|
"docs": "CapacitorUpdater can be configured with these options:"
|