ZCNotificationService | Zoho Creator Help

ZCNotificationService

This service lets you manage the mobile push notifications with regards to the Zoho Creator SDK.
Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production stage
Methods
registerAPNS(deviceToken: Data)To register the iOS device with the Zoho Creator APNs server
 
unregisterAPNS(completion: @escaping(() -> Swift.Void))To unregister the iOS device from the Zoho Creator APNs server
 
isCreatorServerNotification(notificationInfo: [String: Any]) -> BoolTo find out if the notification is from the Zoho Creator APNs server
 
 
registerAPNS(deviceToken: Data)

Parameters

deviceToken The device token that iOS provides for the didRegisterForRemoteNotificationsWithDeviceToken method
 
unregisterAPNS(completion: @escaping(() -> Swift.Void))

Parameters

completion The completion block upon unregistering the iOS device from the Zoho Creator APNs server
 
isCreatorServerNotification(notificationInfo: [String: Any]) -> Bool

Parameters

notificationInfo The userInfo object that's received in the UNUserNotificationCenterDelegate
 
zcNotification(_ notificationInfo: [String: Any]) -> ZCNotification?

Parameters

notificationInfo The userInfo object that's received in the UNUserNotificationCenterDelegate
ZCNotification contains raw notification data
 

  1. ZCFormAPIService
  2. ZCReportAPIService
  3. ZCApprovalAPIService
  4. ZCPageAPIService