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

Jesse MacFadyen resolved CB-2821.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6.0
    
> InAppBrowser issues when used from a "Stand Alone" project
> ----------------------------------------------------------
>
>                 Key: CB-2821
>                 URL: https://issues.apache.org/jira/browse/CB-2821
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 2.5.0
>         Environment: Windows 8, Visual Studio 2012
>            Reporter: Steven Ickman
>            Assignee: Jesse MacFadyen
>            Priority: Critical
>             Fix For: 2.6.0
>
>
> I ran into 2 issues when trying to use the InAppBrowser from a "Stand Alone" 
> project.
> 1) I got a "null reference" exception after calling window.open().  I tracked 
> this down to a call to 'page.FindName("CordovaView")' in the 
> ShowInAppBrowser() method of the command.  I had to change this to 
> 'page.FindName("PGView")' to fix the issue as the default MainPage.xaml 
> created for the project doesn't have a CordovaView variable. There are 
> actually a couple of places with this error in the command.
> 2) None of the ApplicationBar images show up. That's because they need to be 
> properly pathed as coming from the "cordovalib/Images" directory (they're 
> currently pathed as coming from "/Images") and they then need to be marked as 
> "Content" so they'll get added to the xap file (they're currently marked as 
> "Resources".
> With those two sets of fixes the InAppBrowser seems to be working for me.  I 
> suspect that this is only an issue for "Stand Alone" project types (the image 
> issue for certain) but thought I'd let you guys know.
>   

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