I set up everything on the Sendbird dashboard and register the device token to the Sendbird server.
It is required for making voice/video calls.
func application(_ application: UIApplication,
didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
...
SendBirdCall.registerRemotePush(token: deviceToken) { error in
print(error?.description ?? "Unknown Error")
}
...
}
I’m getting the following error:
Error Domain=com.sendbird.calls Code=400111 “Invalid value: “push. Please turn on push notifications at SendBird dashboard.”.” UserInfo={NSLocalizedDescription=Invalid value: “push. Please turn on push notifications at SendBird dashboard.”.}
I integrated another service already and it is working well.
I uploaded the same push certificates to Sendbird.