Prerequisites
- Firebase SDK integrated with your app
- Firebase private key uploaded in Castled dashboard. More details can be found here
- Complete the basic Push Notifications setup.
- If you are using rich push notification, checkout the additional steps.
- Disable swizzling.
- Notify Castled SDK about push tokens. Please find the code snippet for this below.
-
Monitoring token refresh
-
If fetching token manually, you can notify the SDK about the the new token as below.
-
Monitoring token refresh