You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2012/04/23 20:52:32 UTC

[jira] [Created] (CB-555) Allow for Android to run Apps from the Jail

Joe Bowser created CB-555:
-----------------------------

             Summary: Allow for Android to run Apps from the Jail
                 Key: CB-555
                 URL: https://issues.apache.org/jira/browse/CB-555
             Project: Apache Callback
          Issue Type: New Feature
          Components: Android
    Affects Versions: 1.6.1
            Reporter: Joe Bowser
            Assignee: Joe Bowser
             Fix For: 1.8.0


Due to the issues of iFrames, we need to be able to be able to do the following.
1. Switch between using browser history and PhoneGap history
2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
http://code.google.com/p/android/issues/detail?id=17535


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

        

[jira] [Commented] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397797#comment-13397797 ] 

Joe Bowser commented on CB-555:
-------------------------------

How does this fix iFrames? This code still uses the broken history that we implement, not Google's broken history.  It may be an improvement, but iframes are still broken.
                
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Updated] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-555:
--------------------------

    Comment: was deleted

(was: How does this fix iFrames? This code still uses the broken history that we implement, not Google's broken history.  It may be an improvement, but iframes are still broken.)
    
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Commented] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263789#comment-13263789 ] 

Simon MacDonald commented on CB-555:
------------------------------------

My 2 cents is that I'm not really in favour of running PG apps from the jail. I don't like the fact we need double the memory to store the app and the Android bug has been fixed and will be in a future version of the OS. For now folks can use localStorage to work around the bug.
                
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Callback
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>              Labels: CordovaWebView
>             Fix For: 1.8.0
>
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Commented] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13263811#comment-13263811 ] 

Joe Bowser commented on CB-555:
-------------------------------

That works around 17535, but iFrames are still screwed.  The fact is that this should be configurable, and I would rather have everything work and use twice the memory than have something that takes less memory, but has things like iFrames broken.  We can say that "you shouldn't use iFrames", but it should be up to the developer at the end of the day.
                
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Callback
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>              Labels: CordovaWebView
>             Fix For: 1.8.0
>
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Commented] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397802#comment-13397802 ] 

Joe Bowser commented on CB-555:
-------------------------------

Also, given the fact that Google says that their fix is coming, how do we deal with this work-around? When is it safe to remove it? 
                
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Commented] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397775#comment-13397775 ] 

Simon MacDonald commented on CB-555:
------------------------------------

@Joe, did you see this pull request:

https://github.com/apache/incubator-cordova-android/pull/21

It proposes a fix for this issue without needing to run from the Jail.
                
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Updated] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-555:
--------------------------

    Fix Version/s:     (was: 1.9.0)
    
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Updated] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-555:
--------------------------

    Priority: Minor  (was: Major)
    
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Resolved] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser resolved CB-555.
---------------------------

    Resolution: Won't Fix

I don't think that this feature makes sense any longer given the work-arounds.  This would be an interesting plugin.
                
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

[jira] [Updated] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-555:
--------------------------

    Fix Version/s:     (was: 1.8.0)
                   1.9.0
           Labels:   (was: CordovaWebView)

Moving this to 1.9, since this doesn't have anything to do with the CordovaWebView
                
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>             Fix For: 1.9.0
>
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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

        

[jira] [Commented] (CB-555) Allow for Android to run Apps from the Jail

Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397883#comment-13397883 ] 

Joe Bowser commented on CB-555:
-------------------------------

OK, I tested the fix with the preference useBrowserHistory, and this does appear to work.  I'm OK with this fix, although I still would like to see this be a feature.
                
> Allow for Android to run Apps from the Jail
> -------------------------------------------
>
>                 Key: CB-555
>                 URL: https://issues.apache.org/jira/browse/CB-555
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: 1.6.1
>            Reporter: Joe Bowser
>            Assignee: Joe Bowser
>            Priority: Minor
>
> Due to the issues of iFrames, we need to be able to be able to do the following.
> 1. Switch between using browser history and PhoneGap history
> 2. If we're using browser history on Android 3.x or higher, the app must be run in the local jail to work around this android bug:
> http://code.google.com/p/android/issues/detail?id=17535

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