Whale SDK supports two message-delivery options. In both, Broker App ultimately receives the standard message body and passes it to Whale SDK. The difference is whether Whale delivers directly through cloud-push channels or first forwards the message to Broker Server.
| Item | Whale-managed push | Broker-owned push |
|---|---|---|
| Path | Whale → cloud push → device → Broker App | Whale → Broker Server → Broker channel → Broker App |
| Broker Server work | None | Build receiving and downstream-distribution services |
| Channel credentials | Broker securely provides them to Whale | Broker retains them |
| Distribution control | Whale-configured channels and policies | Broker decides whether and how to notify |
| Best fit | Lower integration cost and faster delivery | Existing message center or custom distribution control |
flowchart LR A[Whale creates a business message] --> B[Whale cloud-push service] B --> C[Apple APNs] B --> D[Android vendor channels] C --> E[Broker App] D --> E E --> F[Whale SDK message handling]
Collect channel information
Broker prepares UAT and production details with the Push-channel information form, explicitly marking unused channels as none.
Configure Whale cloud push
The Whale project team configures the confirmed channel information in the corresponding environment.
Integrate Broker App
Broker App integrates the Whale SDK message API and tests notification permission, device token, foreground/background receipt, and notification navigation.
flowchart LR A[Whale creates a business message] --> B[Broker Server endpoint] B --> C[Broker message center] C --> D[Broker push channel] D --> E[Broker App] E -->|Standard message body| F[Whale SDK message handling]
Build the receiving endpoint
Broker Server builds an HTTPS endpoint reachable by Whale.
Configure forwarding
Broker gives the Whale project team the UAT and production endpoints, authentication method, network requirements, and contacts.
Test the server path
Follow Broker-owned push channels to test requests, responses, idempotency, and failures.
Integrate Broker App
Broker App passes the final standard message to Whale SDK and implements safe navigation and compatibility behavior.
This page helps select an option. See Message-push integration for the complete responsibility boundary, client requirements, and acceptance scenarios.