Open kariot opened 1 month ago
I'm using the following function to subscribe to push notification in Android.
Future<void> _subscribePushNotification() async { String channelName = ""; String? token = ""; try { if (Platform.isAndroid) { token = await FirebaseMessaging.instance.getToken(); channelName = 'gcm'; } else if (Platform.isIOS) { token = await FirebaseMessaging.instance.getAPNSToken(); channelName = 'apns'; } await QB.subscriptions.create(token ?? '', channelName); debugPrint("_subscribePushNotification"); } on PlatformException catch (e) { debugPrint(e.toString()); } }
Unfortunately I'm getting the following error PlatformException(base Client identification sequence is not valid., null, null, null) I have created a session and have the QB-Token in the headers.
PlatformException(base Client identification sequence is not valid., null, null, null)
QB-Token
I'm using the following function to subscribe to push notification in Android.
Unfortunately I'm getting the following error
PlatformException(base Client identification sequence is not valid., null, null, null)
I have created a session and have theQB-Token
in the headers.