@capgo/capacitor-updater 3.0.3 → 3.0.4

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/README.md CHANGED
@@ -17,7 +17,7 @@ I maintain a more user friendly and complete [documentation](https://github.com/
17
17
  ## install plugin
18
18
 
19
19
  ```bash
20
- npm install capacitor-updater
20
+ npm install @capgo/capacitor-updater
21
21
  npx cap sync
22
22
  ```
23
23
 
@@ -47,7 +47,7 @@ public class CapacitorUpdater {
47
47
  public String statsUrl = "";
48
48
  public String appId = "";
49
49
  public String deviceID = "";
50
- private String pluginVersion = "3.0.3";
50
+ private String pluginVersion = "3.0.4";
51
51
 
52
52
 
53
53
  private FilenameFilter filter = new FilenameFilter() {
@@ -37,7 +37,7 @@ extension Bundle {
37
37
  public var appId = ""
38
38
  public var deviceID = UIDevice.current.identifierForVendor?.uuidString ?? ""
39
39
  public var notifyDownload: (Int) -> Void = { _ in }
40
- public var pluginVersion = "3.0.3"
40
+ public var pluginVersion = "3.0.4"
41
41
  private var versionBuild = Bundle.main.releaseVersionNumber ?? ""
42
42
  private var lastPathHot = ""
43
43
  private var lastPathPersist = ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-updater",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "license": "AGPL-3.0-only",
5
5
  "description": "OTA update for capacitor apps",
6
6
  "main": "dist/plugin.cjs.js",
package/CHANGELOG.md DELETED
@@ -1,326 +0,0 @@
1
- ## 3.0.3 (2022-04-16)
2
-
3
- ### Fix
4
-
5
- - again issue typo version npm
6
-
7
- ## 3.0.2 (2022-04-16)
8
-
9
- ### Fix
10
-
11
- - issue in release naming
12
-
13
- ## 3.0.1 (2022-04-16)
14
-
15
- ### Fix
16
-
17
- - tigger CI
18
-
19
- ## 3.0.0 (2022-04-16)
20
-
21
- ### Fix
22
-
23
- - issue path for auto version update
24
- - tigger CI
25
- - wrong version send
26
- - pack version
27
- - android build
28
- - version number
29
- - remove call when not necessary
30
- - send builtin if no version
31
- - platform
32
- - typing issue
33
- - typing
34
- - def issue
35
- - remove auto update logic from app
36
- - issue with OSX hidden folder
37
-
38
- ### Feat
39
-
40
- - make auto update server side first
41
- - add pluginVersion send to server
42
- - reset on update by default.
43
- - add currentNative to get current
44
- - add updateAvailable event
45
- - add getId method for version by device control
46
- - :boom: use the new auto update system
47
- - add headers to getLatest for future usage
48
-
49
- ### BREAKING CHANGE
50
-
51
- - the url config change and not compatible with the past one
52
-
53
- ## 2.3.3 (2022-04-05)
54
-
55
- ### Fix
56
-
57
- - persistent path issue during delete
58
- - persistent path issue during delete
59
-
60
- ## 2.3.2 (2022-03-31)
61
-
62
- ### Fix
63
-
64
- - issue in android with new event
65
-
66
- ## 2.3.1 (2022-03-31)
67
-
68
- ### Fix
69
-
70
- - npm listing
71
-
72
- ## 2.3.0 (2022-03-31)
73
-
74
- ### Feat
75
-
76
- - add majorAvailable event
77
-
78
- ## 2.2.6 (2022-03-28)
79
-
80
- ### Fix
81
-
82
- - documentation
83
-
84
- ## 2.2.5 (2022-03-28)
85
-
86
- ### Fix
87
-
88
- - issue conversion
89
-
90
- ## 2.2.4 (2022-03-28)
91
-
92
- ### Fix
93
-
94
- - init version
95
-
96
- ## 2.2.3 (2022-03-28)
97
-
98
- ### Fix
99
-
100
- - init value for version ios
101
- - build error ios
102
-
103
- ## 2.2.2 (2022-03-28)
104
-
105
- ### Fix
106
-
107
- - version issue ios
108
-
109
- ## 2.2.1 (2022-03-28)
110
-
111
- ### Fix
112
-
113
- - issue with resetWhenUpdate
114
-
115
- ## 2.2.0 (2022-03-28)
116
-
117
- ### Feat
118
-
119
- - add resetWhenUpdate system
120
-
121
- ### Fix
122
-
123
- - error in ios missing code disableAutoUpdateUnderNative
124
-
125
- ## 2.1.1 (2022-03-26)
126
-
127
- ### Fix
128
-
129
- - use demo-app in the doc
130
-
131
- ## 2.1.0 (2022-03-26)
132
-
133
- ### Feat
134
-
135
- - add disableAutoUpdateUnderNative and disableAutoUpdateToMajor capability
136
-
137
- ## 2.0.16 (2022-03-25)
138
-
139
- ### Fix
140
-
141
- - issue with download percent
142
-
143
- ## 2.0.15 (2022-03-24)
144
-
145
- ### Fix
146
-
147
- - doc add link for API key
148
-
149
- ## 2.0.14 (2022-03-24)
150
-
151
- ### Fix
152
-
153
- - add missing keywork in set step
154
-
155
- ## 2.0.13 (2022-03-24)
156
-
157
- ### Fix
158
-
159
- - better documentation for auto update
160
-
161
- ## 2.0.12 (2022-03-22)
162
-
163
- ### Fix
164
-
165
- - add definition for download event
166
-
167
- ## 2.0.11 (2022-03-16)
168
-
169
- ### Fix
170
-
171
- - keywords npm
172
-
173
- ## 2.0.10 (2022-03-14)
174
-
175
- ### Fix
176
-
177
- - type def for reset
178
-
179
- ## 2.0.9 (2022-03-14)
180
-
181
- ### Fix
182
-
183
- - issue ios copy
184
-
185
- ## 2.0.8 (2022-03-10)
186
-
187
- ### Fix
188
-
189
- - remove duplicated code and allow init without plugin
190
-
191
- ## 2.0.7 (2022-03-09)
192
-
193
- ### Fix
194
-
195
- - broken version system ios
196
- - background thread issue ios
197
-
198
- ## 2.0.6 (2022-03-08)
199
-
200
- ### Fix
201
-
202
- - last typo issue
203
- - typo
204
-
205
- ## 2.0.5 (2022-03-08)
206
-
207
- ### Fix
208
-
209
- - typo again
210
-
211
- ## 2.0.4 (2022-03-08)
212
-
213
- ### Fix
214
-
215
- - typo issue
216
-
217
- ## 2.0.3 (2022-03-07)
218
-
219
- ### Fix
220
-
221
- - build issue
222
-
223
- ## 2.0.2 (2022-03-07)
224
-
225
- ### Fix
226
-
227
- - build issue
228
-
229
- ## 2.0.1 (2022-03-07)
230
-
231
- ### Fix
232
-
233
- - build issue
234
-
235
- ## 2.0.0 (2022-03-07)
236
-
237
- ### BREAKING CHANGE
238
-
239
- - change default to builtin as default value
240
-
241
- ## 1.5.1 (2022-03-07)
242
-
243
- ### Fix
244
-
245
- - typo in text
246
-
247
- ## 1.5.0 (2022-03-07)
248
-
249
- ### Fix
250
-
251
- - remove lint in CI for now
252
- - log messages make them same between platforms
253
- - remove unzip logs
254
- - upgrade version for publication
255
- - android log
256
- - android download issue in evnt system
257
- - log messages android
258
- - remove just dependency
259
- - remove useless doc
260
- - stats use config appId
261
- - android
262
- - SecurityException start path
263
- - documentation links
264
- - make doc beatifull
265
- - documentation in npm
266
- - android issue
267
- - if empty folder
268
- - typo android stats
269
- - android stats methods
270
- - android stats method
271
- - delay android
272
- - issue build
273
- - async get version issue
274
- - remove error with this android
275
- - dispatch async ios
276
- - make first check async
277
- - missing reset versionName
278
- - reset function issue android
279
- - reset function issue android
280
- - android for capacitor-go usage
281
- - typedef
282
- - reset function
283
- - reset for ios
284
- - reset android
285
- - remove bad return
286
- - last android typo
287
- - package
288
- - persistence in android
289
- - current and disable reset in ios for now
290
- - add missing function declarion ios
291
- - typo
292
- - file exist issue
293
- - add back build.gradle mistaken deleted
294
- - update version number missing
295
- - update version number for android version
296
- - docgen
297
- - make persistency work too
298
- - reload only if lastPath set
299
- - give more freedom to dev who use the plugin
300
- - persist version between reload
301
- - make version install work on ios
302
- - path issue
303
- - import ios
304
- - use android studio to catch errors
305
-
306
- ### Feat
307
-
308
- - allow reset to auto update version + add CI
309
- - add download event
310
- - add stats methods
311
- - add cancel delay
312
- - add delayupdate
313
- - release minor version for new feature availability
314
- - make auto update revert if fail to load
315
- - make live update work in IOS and Android
316
- - add versionName and reload + WIP auto update
317
- - add current method
318
- - add reset method to revert to original
319
- - add persistency android
320
- - make hotreload work in Android
321
- - add methods to decouple update
322
- - add just and reload
323
- - make unzip and copy step
324
- - add base of ios, download file
325
- - transfor android and ios with necessary base
326
- - add web definition