Push Notification for windows phone hybrid application.

Thread is closed for posting
2 posts, 0 answers
  1. Sairaj
    Sairaj avatar
    10 posts
    Member since:
    Feb 2015

    Posted 22 Jul 2015 Link to this post


     I am trying to implement push notification for a hybrid application in windows phone. But I saw that javascript sdk doesn't work for windows phone. So is rest api the only option here ? whenever I try to register in web simulator for android also I got this error.

     "EverliveError: The push notification plugin is not available. Ensure that the pushNotification plugin is included and use after `deviceready` event has been fired."

    I have enabled notification plug in and also the register method is fired after deviceReady.


    So waht would be going wrong here ?



  2. Anton Dobrev
    Anton Dobrev avatar
    609 posts

    Posted 27 Jul 2015 Link to this post

    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.

    Anton Dobrev

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top