Problem with push notification

4 posts, 0 answers
  1. Alexius
    Alexius avatar
    13 posts
    Member since:
    Nov 2012

    Posted 25 Dec 2014 Link to this post

    Hello,

    I created 3 applications that use the library for the push notification. Now that i need to update these applications, there is an errow in the simulator and i can not fix it.

    Thank you for time.
  2. Alexius
    Alexius avatar
    13 posts
    Member since:
    Nov 2012

    Posted 25 Dec 2014 in reply to Alexius Link to this post

    Hello,
    I want to apologize for posting the same message three times. An "error 500" kept appearing whenever I was trying to post the message.
  3. Alexius
    Alexius avatar
    13 posts
    Member since:
    Nov 2012

    Posted 26 Dec 2014 in reply to Alexius Link to this post

    Hello,
    I just realised that the file i;ve be meaning to send you, has failed to upload.

    This is the error that appears in the simulator:
    GET http://app.icenium.com/appbuilder/Mist/MobileSimulator/fA8KSxpnUWixhiCFDAY0…hone/3.2.0/plugins/com.phonegap.plugins.PushPlugin/www/PushNotification.js 404 (Not Found)     cordova.js:1297
        injectScript                      cordova.js:1297
        handlePluginsObject      cordova.js:1352
        (anonymous function)      cordova.js:1360
  4. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 29 Dec 2014 Link to this post

    Hi,

    Thank you for posting to the Telerik Developer Forums.

    The reason for this error is that the plugin is not available in the AppBuilder clients (Web, Desktop, etc.) or Companion App and cannot be loaded in the simulator, there is not a problem in your project. Because the plugin is added to the app package in the Build phase, it is not available in the project for testing in the simulator. Thus, even if the plugin is added to your project, you need to test the behavior on a real device and not in the simulator.

    Also, according to the error, you are using Cordova 3.2 in your project. I'd suggest that you upgrade your project properties to Cordova 3.5 (3.5.1) for Android. Note that this will automatically upgrade the integrated push plugin to the Telerik Push Notifications plugin.

    Let me know if you have further questions.

    Regards,
    Anton Dobrev
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
Back to Top