This is a migrated thread and some comments may be shown as answers.

Problem with push notification

3 Answers 92 Views
Push Notifications
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexius
Top achievements
Rank 1
Alexius asked on 25 Dec 2014, 05:53 PM
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.

3 Answers, 1 is accepted

Sort by
0
Alexius
Top achievements
Rank 1
answered on 25 Dec 2014, 06:38 PM
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.
0
Alexius
Top achievements
Rank 1
answered on 26 Dec 2014, 01:51 PM
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
0
Anton Dobrev
Telerik team
answered on 29 Dec 2014, 11:05 AM
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.
 
Tags
Push Notifications
Asked by
Alexius
Top achievements
Rank 1
Answers by
Alexius
Top achievements
Rank 1
Anton Dobrev
Telerik team
Share this question
or