Results 1 to 3 of 3

Thread: Ext.device.Notification callback not working in iOS Native build

  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    64
    Answers
    1
    Vote Rating
    3
      0  

    Default Unanswered: Ext.device.Notification callback not working in iOS Native build

    Hi i created native iOS app build in sencha CMD 4.0 and Touch 2.3 . The app was successfully installed but when i tried to click on my button with Ext.Device.Notification function it doesn't go to callback function.

    Below is my code:

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

    I also tried to add alert code inside call back but it doesn't go there.

    Code:
     Ext.Msg.alert('Title', button, Ext.emptyFn);
    Anyone experience this issue? Any help is appreciated.

    Thanks in advance.

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,088
    Answers
    342
    Vote Rating
    136
      0  

    Default

    I can't repro on iOS 7.0.2
    Get more personalized support via a support subscription.

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

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

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    64
    Answers
    1
    Vote Rating
    3
      0  

    Default

    Currently i am using iOS 5 fmosely. I dont have any issue using sencha 2.2.1 and cmd 3. But i'm now digging on the latest version.

    Thanks

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •