[ 
https://issues.apache.org/jira/browse/CB-3046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-3046.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.0

Commits here:
https://git-wip-us.apache.org/repos/asf?p=cordova-wp7.git;a=commit;h=43deeaa88dddc7b34a9b5581eba6820fd5ac887c
and here:
https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;a=commit;h=3c157b6c58822c573dc6290d9a0ca809eb8a4cc0

These will be available in 2.7.0 but if you would like to simply patch your 
existing project, you can do so by making a small mod to ShowInAppBrowser in 
InAppBrowser.cs


Moving IsScriptEnabled to right after object creation, ( before Navigate(loc) 
is called ) fixes the issue.

{code:java}
browser = new WebBrowser();
browser.IsScriptEnabled = true;
{code}

                
> InAppBrowser - WindowsPhone 8 - Same domain not work
> ----------------------------------------------------
>
>                 Key: CB-3046
>                 URL: https://issues.apache.org/jira/browse/CB-3046
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7, WP8
>    Affects Versions: 2.6.0
>         Environment: Windows phone SDK - cordova full 2.6 / cordova 
> standalone 2.6 / cordova full 2.5 / cordova standalone 2.5
>            Reporter: Marco
>            Assignee: Jesse MacFadyen
>             Fix For: 2.7.0
>
>
> In WP8 (windows phone 8) InAppBrowser does not open some websites (eg 
> YouTube) and many others is shown the error you need to enable Javascript. 
> Other site is OK (facebook mobile Twitter etc.).

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