--- title: "Send Push Notifications to Mobile Apps" url: https://docs.catalyst.zoho.com/en/sdk/java/v1/cloud-scale/push-notifications/send-notifications-mobile/ description: "This page describes the method to send out remote notifications to end-users in your Android or iOS applications with sample code snippets." last_updated: 2025-11-19T15:07:41Z service: Cloud Scale type: general related_links: - name: "Push Notifications" url: /en/cloud-scale/help/push-notifications/introduction --- # Push Notifications to Mobile Apps The [Catalyst Cloud Scale Push Notifications](https://docs.catalyst.zoho.com/en/cloud-scale/help/push-notifications/introduction) component enables you to send notifications to mobile applications built on the Android or iOS platforms. You can send push notifications to a specific target user by using their Catalyst User ID or email address. You can include alerts, updates, or promotional content for the user to engage with your application. To set up push notifications, you must meet the following prerequisites: 1. You must register your mobile application with Catalyst and note down the Application ID (`appId`) from the console after configuring. You can opt to register your application installed in the target device either using individual platform-specific Catalyst mobile SDK methods (available in Android and iOS) or using the Flutter SDK. The `appId` can be fetched by [configuring Android Push Notifications service](https://docs.catalyst.zoho.com/en/cloud-scale/help/push-notifications/android/#configure-and-enroll-for-android-push-notifications) directly in the Catalyst console. [Learn about registering your Android app using Android SDK.](https://docs.catalyst.zoho.com/en/sdk/android/v2/cloud-scale/push-notifications/register-device/) [Learn about registering your iOS app using iOS SDK.](https://docs.catalyst.zoho.com/en/sdk/ios/v2/cloud-scale/push-notifications/register-device/) [Learn about registering your mobile apps (Android or iOS) using Flutter SDK.](https://docs.catalyst.zoho.com/en/sdk/flutter/v2/cloud-scale/push-notifications/register-device/) 2. The mobile application must mandatorily use the [Catalyst Cloud Scale Authentication](https://docs.catalyst.zoho.com/en/cloud-scale/help/authentication/introduction/) component. After all the setup is done, the Catalyst user must be logged in on their device to receive the notification promptly. Once the setup is complete, you can send notifications by calling the Java SDK method below, using your generated Application ID to target the specific app. ### Get Mobile Notification Instance You can create a mobile notification instance and use it to refer to a specific mobile app registered in the Catalyst console. This is done by fetching the mobile notification instance with the `getInstance()` method, by passing the generated `appID` as a parameter. We will use this mobile notification instance to perform additional operations with the Java SDK methods, such as sending push notifications, which will be covered in the next section. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.notifications.ZCMobileNotification; ``` ```java ZCMobileNotification mobile = ZCMobileNotification.getInstance(1234567890l); ``` Here, **1234567890** is the `appID`. Alternatively, if your application involves Catalyst scope-based access, you can pass the `ZCProject project` parameter along with the `appID`. ```java ZCMobileNotification mobile = ZCMobileNotification.getInstance(1234567890l, ZCProject project); ``` ### Send Android Push Notifications After you have [registered your Android application](https://docs.catalyst.zoho.com/en/sdk/flutter/v2/cloud-scale/push-notifications/register-device/) with Catalyst for sending push notifications, you can use the `sendAndroidPushNotification()` method to send push notifications to your application. You will need to pass two parameters to the `sendAndroidPushNotification()` method : * `pushMessage` - A `ZCPush` type object with the details of the push notification message. * `recipient` - The Catalyst User ID of the recipient or the email address of the recipient to whom the message has to be delivered. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.notifications.ZCMobileNotification; import com.zc.component.notifications.ZCPush; import com.zc.component.notifications.ZCPushMessage; ``` ```java ZCPushMessage notificationRes = mobile.sendAndroidPushNotification(new ZCPush() { { setMessage("This message is to test if the functionality is working fine!"); setBadgeCount(1); } }, "emma.b@zylker.com"); ``` `setBadgeCount()` sets the app icon's notification badge count to 1. You can change this value to any number you require. ### Send iOS push notifications Similar to Android, after you have [registered your iOS application](https://docs.catalyst.zoho.com/en/sdk/flutter/v2/cloud-scale/push-notifications/register-device/) with Catalyst for sending push notifications, you can use the `sendIOSPushNotification()` method to send push notifications to your application. #### Sample Code Snippet **Package Imports** ```java import com.zc.component.notifications.ZCMobileNotification; import com.zc.component.notifications.ZCPush; import com.zc.component.notifications.ZCPushMessage; ``` ```java ZCPushMessage notificationRes = mobile.sendIOSPushNotification(new ZCPush() { { setMessage("This message is to test if the functionality is working fine!"); setBadgeCount(1); } }, "emma.b@zylker.com"); ```