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 )
Client SDK (REST / Android / Objective-C / Swift / JS )
- Register device for push notifications
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
"The sync methods of the Backendless API are deprecated and will be removed in the nearest future.
Please, use async methods instead.
“message”: “unknown error occurred”,