Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Cap-go/capacitor-updater
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jun 3, 2024
2 parents 7a708e0 + 2778cd2 commit b3a153b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 15 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [6.0.21](https://github.com/Cap-go/capacitor-updater/compare/6.0.20...6.0.21) (2024-06-03)


### Bug Fixes

* Js doc missing info ([7adedac](https://github.com/Cap-go/capacitor-updater/commit/7adedac9a5329393c9a321bcc50ee0b9b0012fc6))

### [6.0.20](https://github.com/Cap-go/capacitor-updater/compare/6.0.19...6.0.20) (2024-06-03)

### [6.0.19](https://github.com/Cap-go/capacitor-updater/compare/6.0.18...6.0.19) (2024-06-03)
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -912,12 +912,12 @@ Listen for app ready event in the App, let you know when app is ready to use

#### DownloadOptions

| Prop | Type | Description |
| ---------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`url`** | <code>string</code> | 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.) |
| **`version`** | <code>string</code> | The version code/name of this bundle/version |
| **`sessionKey`** | <code>string</code> | |
| **`checksum`** | <code>string</code> | |
| Prop | Type | Description | Default | Since |
| ---------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | ----- |
| **`url`** | <code>string</code> | 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.) | | |
| **`version`** | <code>string</code> | The version code/name of this bundle/version | | |
| **`sessionKey`** | <code>string</code> | The session key for the update | <code>undefined</code> | 4.0.0 |
| **`checksum`** | <code>string</code> | The checksum for the update | <code>undefined</code> | 4.0.0 |


#### BundleId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class CapacitorUpdaterPlugin extends Plugin {
private static final String channelUrlDefault =
"https://api.capgo.app/channel_self";

private final String PLUGIN_VERSION = "6.0.20";
private final String PLUGIN_VERSION = "6.0.21";
private static final String DELAY_CONDITION_PREFERENCES = "";

private SharedPreferences.Editor editor;
Expand Down
12 changes: 6 additions & 6 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -739,12 +739,12 @@ Listen for app ready event in the App, let you know when app is ready to use

### DownloadOptions

| Prop | Type | Description |
| ---------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`url`** | <code>string</code> | 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.) |
| **`version`** | <code>string</code> | The version code/name of this bundle/version |
| **`sessionKey`** | <code>string</code> | |
| **`checksum`** | <code>string</code> | |
| Prop | Type | Description | Default | Since |
| ---------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | ----- |
| **`url`** | <code>string</code> | 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.) | | |
| **`version`** | <code>string</code> | The version code/name of this bundle/version | | |
| **`sessionKey`** | <code>string</code> | The session key for the update | <code>undefined</code> | 4.0.0 |
| **`checksum`** | <code>string</code> | The checksum for the update | <code>undefined</code> | 4.0.0 |


### BundleId
Expand Down
2 changes: 1 addition & 1 deletion ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Version
@objc(CapacitorUpdaterPlugin)
public class CapacitorUpdaterPlugin: CAPPlugin {
public var implementation = CapacitorUpdater()
private let PLUGIN_VERSION: String = "6.0.20"
private let PLUGIN_VERSION: String = "6.0.21"
static let updateUrlDefault = "https://api.capgo.app/updates"
static let statsUrlDefault = "https://api.capgo.app/stats"
static let channelUrlDefault = "https://api.capgo.app/channel_self"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@capgo/capacitor-updater",
"version": "6.0.20",
"version": "6.0.21",
"packageManager": "[email protected]",
"license": "MPL-2.0",
"description": "Live update for capacitor apps",
Expand Down

0 comments on commit b3a153b

Please sign in to comment.