[
https://issues.apache.org/jira/browse/CB-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grieve resolved CB-2667.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.4.0
Assuming this is fixed by hash change fixes in CB-2602 and CB-5697
Please reopen (hopefully with an example project) if it's still broken in 3.4.0
(or on master)
> CDVUserAgentUtil acquireLock issue
> ----------------------------------
>
> Key: CB-2667
> URL: https://issues.apache.org/jira/browse/CB-2667
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Andrew Trice
> Assignee: Andrew Grieve
> Fix For: 3.4.0
>
>
> This issue was reported from a PhoneGap customer. I've requested additional
> detail/steps to reproduce:
> We are using UIPageViewController and adding a CDVViewController as a data
> view controller for each Page in the UIPageViewController. When the user is
> trying to scroll to the next page while the content of the CDVViewController
> (html contents) are not fully loaded, all subsequent page scrolls will cause
> the html page to be blank.
> We found this issues is caused by the [CDVUserAgentUtil
> acquireLock:^(NSInteger lockToken) in the CDVViewController and
> [CDVUserAgentUtil releaseLock:_userAgentLockToken] in the
> webViewDidFinishload; When this happens, the acquireLock and releaseLock
> pair does not work properly. After we removed both call in the
> CDVViewController, we don't see the problem anymore.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)