1
Install and synchronize
2
Complete native setup
Configure Firebase for Android. For iOS, enable the Push Notifications capability and forward both APNs registration callbacks from
AppDelegate.swift. See native setup.3
Initialize
4
Request permission
5
Wait for confirmed registration
6
Identify the signed-in user
login() resolves only after the Pushctl API accepts the association. It rejects if the installation is not registered or the request fails.7
Handle opens
handle.remove() when the listener’s lifecycle ends.Migrate from another provider
Keep the existing provider enabled untilwaitForRegistration() resolves and login() succeeds. Permission alone does not prove that Pushctl has an active installation.