incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-915) Pause/resume events get fired twice
Date Wed, 13 Jun 2012 22:12:42 GMT

    [ https://issues.apache.org/jira/browse/CB-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294686#comment-13294686
] 

Shazron Abdullah commented on CB-915:
-------------------------------------

Workaround for those that need this fix in 1.8.0:

Add this to your MainViewController.m implementation:

{code}
- (id) __init
{
    static BOOL initialized = NO;
    id obj = self;
    
    if (!initialized) {
        obj = [super __init]; // ignore warning
        initialized = YES;
    }
    
    return obj;
    
}

{code}
                
> Pause/resume events get fired twice
> -----------------------------------
>
>                 Key: CB-915
>                 URL: https://issues.apache.org/jira/browse/CB-915
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.8.1
>         Environment: iPod Touch running 5.1.1
>            Reporter: Filip Maj
>            Assignee: Shazron Abdullah
>             Fix For: 1.9.0
>
>
> Repro:
> * Run mobile spec
> * Go to Events page
> * Hit intercept pause and resume events
> * Push the home button
> * Click the app icon to re-open the app
> Expected behaviour: a single "pause" and "resume" event gets printed to the top dialog.
> Actual behaviour: two "pause" and "resume" events get printed to the top dialog.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message