Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Feb 2011
    Posts
    75
    Vote Rating
    1
    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
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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
    ________________
    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 in print!

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

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2011
    Posts
    75
    Vote Rating
    1
    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
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Yes
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

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

  5. #5
    Sencha Premium Member
    Join Date
    Feb 2011
    Posts
    75
    Vote Rating
    1
    ShaneTex is on a distinguished road

      0  

    Default


    Thank you sir...

Thread Participants: 1

Tags for this Thread