Hi
I am trying to setup push notifications within a nativescript application. I have successfully configured and setup the FCM and obtain a registration token which we use within the register device call but we get errors
Backendless Version (3.x / 5.x, Online / Managed / Pro )
Online
Client SDK (REST / Android / Objective-C / Swift / JS )
JS
Application ID
E27B10A2-C4B9-A5A6-FF6A-AB65CBE35A00
Expected Behavior
- Register device for push notifications
Actual Behavior
-
Backendless.Messaging.registerDevice throws “Device is not defined. Please, run the Backendless.setupDevice”
-
However if I try to call Backendless.setupDevice with following device properties
{
“uuid”: “753bc5dd3b5228c3”,
“platform”: “Android”,
“version”: “7.0”
}
We get
"The sync methods of the Backendless API are deprecated and will be removed in the nearest future.
Please, use async methods instead.
error {
“message”: “unknown error occurred”,
“statusCode”: null
}
"
Thank You
Constantin