testPush
abstract suspend fun testPush( url: String, appId: String, pushkey: String, eventId: String)
Content copied to clipboard
Directly ask the push gateway to send a push to this device. If successful, the push gateway has accepted the request. In this case, the app should receive a Push with the provided eventId. In case of error, PusherRejected will be thrown. In this case it means that the pushkey is not valid.
Parameters
url
the push gateway url (full path)
appId
the application id
pushkey
the FCM token
eventId
the eventId which will be sent in the Push message. Use a fake eventId.