Icenium Mist v1.3 PushPlugin Ad Hoc Distribution Bug

2 posts, 1 answers
  1. Joe
    Joe avatar
    16 posts
    Member since:
    Jan 2013

    Posted 21 Mar 2013 Link to this post

    I installed and tested an iOS Ad Hoc distribution build of my app using PhoneGap Build with the GenericPush plugin and it worked fine. Eager to test Icenium's new support for this plugin, I imported the project, built and then installed the Ad Hoc build through Icenium Mist by scanning the QR code. Upon attempting to register the device for push notifications I get the error "Can't find variable: device" when it runs the following line of code (documented at

    if (device.platform == 'android' || device.platform == 'Android') {
    pushNotification.register(successHandler, errorHandler,{"senderID":"replace_with_sender_id","ecb":"onNotificationGCM"});
    } else {
    pushNotification.register(tokenHandler, errorHandler {"badge":"true","sound":"true","alert":"true","ecb":"onNotificationAPN"});
  2. Answer
    Jordan avatar
    197 posts

    Posted 23 Mar 2013 Link to this post

    Hi Joe,

    Please check  that you have as first script reference in your html file:

    <script src="cordova.js" type="text/javascript"></script>

    the Telerik team

    Share feedback and vote for features on our Feedback Portal.
    Want some Kendo UI online training - head over to Pluralsight.
Back to Top