Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    53
    Vote Rating
    0
    ShaneTex is on a distinguished road

      0  

    Default Ext.device.Notification.show Error when app added to Home screen

    Ext.device.Notification.show Error when app added to Home screen


    I am having a problem getting Ext.device.Notification.show to work after an app is loaded to the home screen on any Iphone/Ipad. The notification works great if I am viewing the app in the browser, but once I add the app to the home screen, the notifications never show. If I run a Ext.Msg.alert(title, message, callback), it works but the notification quits working and never show after I add to the home screen.
    This is my code:


    Ext.device.Notification.show({ title:'Verification', message:'Is your email address: test@sencha.com', buttons:Ext.MessageBox.OKCANCEL, callback:function(button){if(button ==="ok"){ console.log('Verified');}else{ console.log('Nope');}}});

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,107
    Vote Rating
    453
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Ext.device classes are suppose to work when in a packaged app. In the browser or added to homescreen is not a packaged app.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    53
    Vote Rating
    0
    ShaneTex is on a distinguished road

      0  

    Default


    Gothcha, so the simulator class is only for testing purposes.

    So are these the only classes for web/home screen implementation:

    Ext.Msg.confirm(title, message, callback);
    Ext.Msg.alert(title, message, callback);

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,107
    Vote Rating
    453
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    Yes
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User
    Join Date
    Feb 2011
    Posts
    53
    Vote Rating
    0
    ShaneTex is on a distinguished road

      0  

    Default


    Thank you sir...