You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @apiBody {Number} [triggers.time] [only for event, cohort triggers] Time in ms since 00:00 in case event or cohort message is to be sent in users' timezones
377
378
* @apiBody {Boolean} [triggers.reschedule] [only for event, cohort triggers] Allow rescheduling to next day if it's too late to send on scheduled day
378
379
* @apiBody {Number} [triggers.delay] [only for event, cohort triggers] Milliseconds to delay sending of event or cohort message
379
-
* @apiBody {Number} [triggers.cap] [only for event, cohort & api triggers] Set maximum number of notifications sent to a particular user
380
+
* @apiBody {Number} [triggers.cap] [only for event, cohort & api triggers] Set maximum number of notifications sent to a particular user
380
381
* @apiBody {Number} [triggers.sleep] [only for event, cohort & api triggers] Set minimum time in ms between two notifications for a particular user (a notification is discarded if it's less than that)
381
-
* @apiBody {String[]} [triggers.events] [only for event trigger] Event keys
382
+
* @apiBody {String[]} [triggers.events] [only for event trigger] Event keys
382
383
* @apiBody {String[]} [triggers.cohorts] [only for cohort trigger] Cohort ids
383
384
* @apiBody {Boolean} [triggers.entry] [only for cohort trigger] Send on cohort entry (true) or exit (false)
384
385
* @apiBody {Boolean} [triggers.cancels] [only for cohort trigger] A notification is to be discarded if user exits cohort (when entry = true) before notification is sent
* @apiSuccess {Number} [triggers.time] [only for event, cohort triggers] Time in ms since 00:00 in case event or cohort message is to be sent in users' timezones
427
428
* @apiSuccess {Boolean} [triggers.reschedule] [only for event, cohort triggers] Allow rescheduling to next day if it's too late to send on scheduled day
428
429
* @apiSuccess {Number} [triggers.delay] [only for event, cohort triggers] Milliseconds to delay sending of event or cohort message
429
-
* @apiSuccess {Number} [triggers.cap] [only for event, cohort & api triggers] Set maximum number of notifications sent to a particular user
430
+
* @apiSuccess {Number} [triggers.cap] [only for event, cohort & api triggers] Set maximum number of notifications sent to a particular user
430
431
* @apiSuccess {Number} [triggers.sleep] [only for event, cohort & api triggers] Set minimum time in ms between two notifications for a particular user (a notification is discarded if it's less than that)
431
-
* @apiSuccess {String[]} [triggers.events] [only for event trigger] Event keys
432
+
* @apiSuccess {String[]} [triggers.events] [only for event trigger] Event keys
432
433
* @apiSuccess {String[]} [triggers.cohorts] [only for cohort trigger] Cohort ids
433
434
* @apiSuccess {Boolean} [triggers.entry] [only for cohort trigger] Send on cohort entry (true) or exit (false)
434
435
* @apiSuccess {Boolean} [triggers.cancels] [only for cohort trigger] A notification is to be discarded if user exits cohort (when entry = true) before notification is sent
* @apiSuccess {Object} [result.sent] Number notifications sent successfully
458
459
* @apiSuccess {Object} [result.actioned] Number notifications with positive user reactions (notification taps & button clicks)
459
460
* @apiSuccess {Object} [result.errored] Number notifications which weren't sent due to various errors
460
-
* @apiSuccess {Object[]} [result.lastErrors] Array of last 10 errors
461
+
* @apiSuccess {Object[]} [result.lastErrors] Array of last 10 errors
461
462
* @apiSuccess {Object[]} [result.lastRuns] Array of last 10 sending runs
462
463
* @apiSuccess {Date} [result.next] Next sending date
463
464
* @apiSuccess {Object} [result.subs] Sub results - a map of subresult key to Result object. Subresults are used to store platform and locale specific results.
Copy file name to clipboardexpand all lines: plugins/push/frontend/public/javascripts/countly.views.js
+15-5
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/* eslint-disable no-console */
2
-
/* global countlyVue,app,CV,countlyPushNotification,countlyPushNotificationComponent,CountlyHelpers,countlyCommon,countlyGlobal,countlyAuth,countlyGraphNotesCommon*/
2
+
/* global countlyVue,countlyPlugins,app,CV,countlyPushNotification,countlyPushNotificationComponent,CountlyHelpers,countlyCommon,countlyGlobal,countlyAuth,countlyGraphNotesCommon*/
Copy file name to clipboardexpand all lines: plugins/push/frontend/public/localization/push.properties
+5-2
Original file line number
Diff line number
Diff line change
@@ -201,6 +201,8 @@ push-notification.media-url-platform-description = Add the URL for media specifi
201
201
push-notification.subtitle = Subtitle
202
202
push-notification.enter-your-subtitle = Enter your subtitle
203
203
push-notification.subtitle-description = Add a subheading for your message.
204
+
push-notification.set-content-available = Set content-available
205
+
push-notification.set-content-available-description = Sets the apns-priority header to 5 and content-available property of request body to 1 for the IOS application to receive notifications while the app is in the background
204
206
push-notification.on-click-url = On Click URL
205
207
push-notification.enter-on-click-url = Enter on click URL
206
208
push-notification.on-click-url-description = Add URL link that is opened when user taps a message in drawer.
push-notification-details.delivery-type = Delivery type
308
310
push-notification-details.scheduled-for = Scheduled for
309
311
push-notification-details.expiration-time = Expiration time
310
-
push-notification-details.message-expires-after = Message expires after {0} day(s) and {1} hour(s)
312
+
push-notification-details.message-expires-after = Message expires after {0} day(s) and {1} hour(s)
311
313
push-notification-details.no-errors-found = No errors were found
312
314
push-notification.users-targeted = Users Targeted
313
315
push-notification.users-targeted-description = Total number of users targeted to receive the selected notification.
@@ -389,6 +391,7 @@ push.pool_pushes = Number of notifications in stream batches
389
391
push.pool_bytes = Bytes in binary stream batches
390
392
push.pool_concurrency = Maximum number of same type connections
391
393
push.pool_pools = Maximum number of connections in total
394
+
push.default_content_available = Set content-available to 1 by default for IOS
392
395
393
396
#Drawer from other views
394
397
push-notification.send-message-to-users = Send message to users
@@ -414,7 +417,7 @@ push-notification.error-code.ExpiredCreds.desc = Push Notification credentials h
414
417
push-notification.error-code.BadDeviceToken.desc = The push token received from your app by Countly Server was rejected by APNS as invalid. Please make sure you set `pushTestMode` property on the SDK's initial configuration correctly. Also please make sure provisioning profile (Development or Distribution) is valid, bundle ID is correct and entitlements are properly set.
415
418
push-notification.error-code.MissingTopic.desc = The server failed to parse the certificate, please ensure you use universal certificate and contact support if you do.
416
419
push-notification.error-code.DeviceTokenNotForTopic.desc = APNS certificate doesn't correspond to the Bundle ID of your application.
417
-
push-notification.error-code.TopicDisallowed.desc = Sending Push Notifications to this topic is not allowed. Apple rejects sending Push Notifications to this topic. Most probably there is no such app in Certificates, Identifiers & Profiles portal.
420
+
push-notification.error-code.TopicDisallowed.desc = Sending Push Notifications to this topic is not allowed. Apple rejects sending Push Notifications to this topic. Most probably there is no such app in Certificates, Identifiers & Profiles portal.
418
421
push-notification.error-code.InvalidProviderToken.desc = Please check your Auth key file, Team ID & Bundle ID - some of those is invalid.
push-notification.error-code.InvalidRegistration.desc = Probably you modified the way SDK handles FCM tokens. Please ensure you do it right or contact support.
0 commit comments