Hello Sairaj,
You can use the Backend Services JavaScript SDK in a hybrid app for iOS, Android and Windows Phone apps.
You are receiving the error because the native logic used by the SDK (and provided by the Push Notifications plugin for Cordova) is not available in the simulator. The push-related functionality does not work in the AppBuilder simulator and you need to deploy the app to actual devices.
I'd suggest that you examine the steps in this Getting Started article and the related resources to quickly get familiar with the implementation basics for push notifications.
Let me know if this helps.
Regards,
Anton Dobrev
Telerik
You can use the Backend Services JavaScript SDK in a hybrid app for iOS, Android and Windows Phone apps.
You are receiving the error because the native logic used by the SDK (and provided by the Push Notifications plugin for Cordova) is not available in the simulator. The push-related functionality does not work in the AppBuilder simulator and you need to deploy the app to actual devices.
I'd suggest that you examine the steps in this Getting Started article and the related resources to quickly get familiar with the implementation basics for push notifications.
Let me know if this helps.
Regards,
Anton Dobrev
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.