cordova-plugin-reteno 2.0.1 → 2.0.2
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/docs/api.md
CHANGED
|
@@ -485,7 +485,7 @@ Subscribe to push received events while the app is running.
|
|
|
485
485
|
|
|
486
486
|
Notes:
|
|
487
487
|
|
|
488
|
-
- On Android this is based on the SDK 2.9.
|
|
488
|
+
- On Android this is based on the SDK 2.9.2 `EventListener` / `Procedure` API (`RetenoNotifications.getReceived()`).
|
|
489
489
|
- This listener is not a replacement for `getInitialNotification()` (cold start): if the app was launched by tapping a notification, use `getInitialNotification()`.
|
|
490
490
|
|
|
491
491
|
```js
|
package/docs/ios.md
CHANGED
|
@@ -68,12 +68,12 @@ target 'App' do
|
|
|
68
68
|
|
|
69
69
|
target 'NotificationServiceExtension' do
|
|
70
70
|
inherit! :search_paths
|
|
71
|
-
pod 'Reteno', '2.6.
|
|
71
|
+
pod 'Reteno', '2.6.2'
|
|
72
72
|
end
|
|
73
73
|
|
|
74
74
|
target 'NotificationContentExtension' do
|
|
75
75
|
inherit! :search_paths
|
|
76
|
-
pod 'Reteno', '2.6.
|
|
76
|
+
pod 'Reteno', '2.6.2'
|
|
77
77
|
end
|
|
78
78
|
end
|
|
79
79
|
```
|
|
@@ -187,12 +187,12 @@ target 'App' do
|
|
|
187
187
|
|
|
188
188
|
target 'NotificationServiceExtension' do
|
|
189
189
|
inherit! :search_paths
|
|
190
|
-
pod 'Reteno', '2.6.
|
|
190
|
+
pod 'Reteno', '2.6.2'
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
target 'NotificationContentExtension' do
|
|
194
194
|
inherit! :search_paths
|
|
195
|
-
pod 'Reteno', '2.6.
|
|
195
|
+
pod 'Reteno', '2.6.2'
|
|
196
196
|
end
|
|
197
197
|
end
|
|
198
198
|
```
|
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="cordova-plugin-reteno" version="2.0.
|
|
2
|
+
<plugin id="cordova-plugin-reteno" version="2.0.2" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
|
|
3
3
|
<name>cordova-plugin-reteno</name>
|
|
4
4
|
<engines>
|
|
5
5
|
<engine name="cordova-android" version=">=12.0.0" />
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
<podspec>
|
|
60
60
|
<pods>
|
|
61
|
-
<pod name="Reteno" spec="2.6.
|
|
61
|
+
<pod name="Reteno" spec="2.6.2" />
|
|
62
62
|
<pod name="FirebaseMessaging" />
|
|
63
63
|
</pods>
|
|
64
64
|
</podspec>
|
|
@@ -601,7 +601,7 @@ public class RetenoPlugin extends CordovaPlugin {
|
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
|
-
* Register notification event listeners using the SDK 2.9.
|
|
604
|
+
* Register notification event listeners using the SDK 2.9.2 EventListener API.
|
|
605
605
|
* Each listener is a direct {@link Procedure} implementation — no reflection needed.
|
|
606
606
|
*/
|
|
607
607
|
private void registerNotificationListeners() {
|
package/types/index.ts
CHANGED
|
@@ -55,6 +55,8 @@ export type LogEventPayload = {
|
|
|
55
55
|
date?: string | null;
|
|
56
56
|
/** Optional list of parameters */
|
|
57
57
|
parameters?: CustomEventParameter[] | null;
|
|
58
|
+
/** When true the event is sent to Reteno immediately (iOS only) */
|
|
59
|
+
forcePush?: boolean;
|
|
58
60
|
};
|
|
59
61
|
|
|
60
62
|
export type RequestNotificationPermissionResult = 0 | 1;
|