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

fabian boulegue edited comment on CB-2285 at 1/30/13 6:12 PM:
--------------------------------------------------------------

ok found the problem
-- 
if data == href target and open inAppBrowser it ll call a error

Warning: Attempt to dismiss from view controller <MainViewController: 
0x1d8776d0> while a presentation or dismiss is in progress!

So if you are on index_aerosoft.html and use a link like
<a class="noeffect" href="index_aerosoft.html" 
onClick="openAerosoftDE();">Aerosoft</a>
(function calls inAppBrowser with Link)
you ll get the error and no more activities are available.

Solution is to link on '#'
<a href="#" class="noeffect" onClick="openAerosoftDE();">Web</a>

Can anyone confirm?
                
      was (Author: fboulegue):
    ok found the problem
-- 
if data == href target and open inAppBrowser it ll call a error

Warning: Attempt to dismiss from view controller <MainViewController: 
0x1d8776d0> while a presentation or dismiss is in progress!

So if you are on index_aerosoft.html and use a link like
<a class="noeffect" href="index_aerosoft.html" 
onClick="openAerosoftDE();">Aerosoft</a>
(function calls inAppBrowser with Link)
you ll get the error and no more activities are available.

Solution is to link on '#'
<a href="#" class="noeffect" onClick="openAerosoftDE();">Web</a>
This seems to work fine.

                  
> No more activities from Cordova
> -------------------------------
>
>                 Key: CB-2285
>                 URL: https://issues.apache.org/jira/browse/CB-2285
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Mac
>    Affects Versions: 2.3.0, 2.4.0
>         Environment: OSX - iOS 6 tested
>            Reporter: fabian boulegue
>            Assignee: Andrew Grieve
>              Labels: inAppBrowser, notification
>
> I use it for iOS (6), i builded a app with inAppBrowser as well then some 
> Notifications. 
> From time to time, if i switched the pages and used some of the Browser and 
> Notifications it comes to a point where no more activities by Cordova can be 
> handle. 
> If i then click on "the Notification" button nothing happens (also no console 
> output) anyone a idea whats wrong (normally on first try all of the functions 
> work great.)
> If i should submit any more informations please ask for would be great to 
> have a fix for that

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to