Skip to content

Commit 81aa992

Browse files
author
UnnatiCP
committed
Update Android, iOS, Flutter SDK version
* Update Android, iOS, Flutter SDK version * Added HTML Banner JS method in Android and iOS
1 parent aa4f40d commit 81aa992

6 files changed

Lines changed: 20 additions & 4 deletions

File tree

docs/sdks/android/methods.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,11 @@ CleverPush.getInstance(this).getDeviceToken(object : DeviceTokenListener {
382382

383383
## Tags
384384

385-
**Note:** If the `Sync tags to client on subscription sync (App)` option is enabled under `General Settings → Advanced Settings` in the dashboard, you can add or remove tags directly using the Subscription ID in the dashboard. These changes will automatically sync with the SDK when syncSubscription occurs. To update the tags immediately in the SDK, you can manually (force) call the subscribe() method.
385+
If you want to update tags from **Dashboard to SDK**:
386+
387+
If the `Sync tags to client on subscription sync (App)` option is enabled under `General Settings → Advanced Settings` in the dashboard, you can add or remove tags directly using the Subscription ID in the dashboard.
388+
389+
These changes will automatically sync with the SDK when `syncSubscription` occurs. By default, auto-sync happens every **3 days**. To update the tags immediately in the SDK, you can manually (force) call the `subscribe()` method.
386390

387391
<!--DOCUSAURUS_CODE_TABS-->
388392

@@ -1024,6 +1028,7 @@ CleverPush.goToScreen('screenId');
10241028
CleverPush.nextScreen();
10251029
CleverPush.previousScreen();
10261030
CleverPush.copyToClipboard('text');
1031+
CleverPush.handleLinkBySystem('mailto:example@email.com'); // support multiple link types, including `mailto:`, `tel:`, `market/Play Store`, and standard `http/https` links.
10271032
```
10281033

10291034
<!--END_DOCUSAURUS_CODE_TABS-->

docs/sdks/android/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You can find the newest sdk version number here [Android SDK](https://github.com
2121
```groovy
2222
dependencies {
2323
// ...
24-
implementation 'com.cleverpush:cleverpush:1.35.8'
24+
implementation 'com.cleverpush:cleverpush:1.35.11'
2525
}
2626
```
2727

docs/sdks/expo/methods.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,3 +324,13 @@ If a banner would show during this time, it is added to an internal queue and sh
324324
CleverPush.disableAppBanners();
325325
CleverPush.enableAppBanners();
326326
```
327+
328+
## Get Device Token
329+
330+
You can retrieve the current device token (used for push notifications) with the following method:
331+
332+
```javascript
333+
CleverPush.getDeviceToken((err, deviceToken) => {
334+
console.log('Device Token:', deviceToken);
335+
});
336+
```

docs/sdks/flutter/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: Setup
88
1. Add the following code to your `pubspec.yaml` file
99
```bash
1010
dependencies:
11-
cleverpush_flutter: ^1.24.23
11+
cleverpush_flutter: ^1.24.25
1212
```
1313

1414
2. Run `flutter packages get`

docs/sdks/ios/methods.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,7 @@ CleverPush.setSubscriptionTopics(topicIds);
557557
CleverPush.addSubscriptionTopic(topicId);
558558
CleverPush.removeSubscriptionTopic(topicId);
559559
CleverPush.showTopicsDialog();
560+
CleverPush.handleLinkBySystem('mailto:example@email.com'); // support multiple link types, including `mailto:`, `tel:`, `market/Play Store`, and standard `http/https` links.
560561
```
561562

562563
<!--END_DOCUSAURUS_CODE_TABS-->

docs/sdks/ios/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ title: Setup
1919
Add CleverPush to your Podfile:
2020

2121
```bash
22-
pod 'CleverPush', '~> 1.34.25'
22+
pod 'CleverPush', '~> 1.34.27'
2323
```
2424

2525
#### Swift Package Manager Setup

0 commit comments

Comments
 (0)