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

Icenium Mist v1.3 PushPlugin bug

2 Answers 68 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cadening
Top achievements
Rank 1
Cadening asked on 27 Mar 2013, 06:11 AM
Trying to get this working but something is not right. (window.plugins is not defined). 

<!--------------------index.html-------------------->
<!DOCTYPE html> 
<html>
    <head>
        <meta charset="UTF-8" />
        <title>Hello, World</title>
        <script src="cordova.js" type="text/javascript"></script>
        <script type="text/javascript" src="Plugins/PushPlugin/PushNotification.js"></script>
        <script>
        document.addEventListener("deviceready", onDeviceReady, false);
        
        function onDeviceReady() {
            /**
             * test device : iphone5
             * message : Cannot read property 'pushNotification' of undefined[alert(window.plugins) => undefined]
             */
            alert("pushNotification:"+window.plugins.pushNotification);
        }
        </script>
    </head> 
    <body> 
        
    </body>
</html>

2 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 27 Mar 2013, 11:29 AM
Hi Cadening,

We have not been able to reproduce such problem with the code you provided. Have you by any chance forgotten to enable the PushPlugin in the Properties of your project (see screenshot)?

Kind regards,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
0
Cadening
Top achievements
Rank 1
answered on 27 Mar 2013, 07:27 PM
i see。These code running in Ion,idon't mean it(PushPlugin is not supported in Ion,it sounds great!)
-----------------------DOC/release notes/v1-3-release-notes
PushPlugin support
The Push Plugin allows push notifications on both Android and iOS devices. It is not supported in Ion.
-----------------------
right,this screenshot it's my product?
i will go to sleep,bye!
(oh,your avatar is cool,believe it or not。
Tags
Report a bug
Asked by
Cadening
Top achievements
Rank 1
Answers by
Steve
Telerik team
Cadening
Top achievements
Rank 1
Share this question
or