incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tan Heng (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-501) orientationchange event is not being fired in 1.6.0
Date Fri, 13 Apr 2012 19:42:17 GMT

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

Tan Heng commented on CB-501:
-----------------------------

My steps:
1. Uninstall the original Cordova and delete whole project.
2. git clone from https://git-wip-us.apache.org/repos/asf/incubator-cordova-ios.git(just after
CB-501 fixed)
3. make a new Cordova-1.6.0.dmg and install it.
4. Create a new Cordova project, and add line 
 "document.addEventListener('orientationchange', function(){console.log('orientationchange
fired!')})" in onDeviceReady() of index.html
5. Select all of supported device orientations in target settings.
6. Use iphone 4.3 simulator and still cannot get orientationchange event fired :(

I use Xcode 4.3.2 iOS 5.1 sdk, on lion.
                
> orientationchange event is not being fired in 1.6.0
> ---------------------------------------------------
>
>                 Key: CB-501
>                 URL: https://issues.apache.org/jira/browse/CB-501
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.6.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>             Fix For: 1.6.1
>
>
> Offending line:
> https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVViewController.m#L307
> Lower-case Cordova to cordova.

--
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