You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "shailesh namjoshi (JIRA)" <ji...@apache.org> on 2013/02/14 10:22:13 UTC

[jira] [Comment Edited] (CB-2429) My Test apache cordova iOS app is not able to access external URL and renders page.

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

shailesh namjoshi edited comment on CB-2429 at 2/14/13 9:21 AM:
----------------------------------------------------------------

Hi ,

Config.xml has following settings for whitelist.   
<access origin="*" subdomains="true" />

My Apache Cordova version is 2.4.0

Xcode does not show any errors on console, but page rendering is not happening. If I run the same pages in the safari browser of iPhone simulator / device the pages runs.

However, when i try to access the pages which pulls the data from the web server and based on the response they renders the html page,are not at all rendering in the cordova web view.

Are we missing any settings for CDVViewController ? 

                
      was (Author: shaileshnamjoshi):
    Hi Sharzon,

Config.xml has following settings for whitelist.   
<access origin="*" subdomains="true" />

My Apache Cordova version is 2.4.0

Xcode does not show any errors on console, but page rendering is not happening. If I run the same pages in the safari browser of iPhone simulator / device the pages runs.

However, when i try to access the pages which pulls the data from the web server and based on the response they renders the html page,are not at all rendering in the cordova web view.

Are we missing any settings for CDVViewController ? 

                  
> My Test apache cordova iOS app is not able to access external URL and renders page.
> -----------------------------------------------------------------------------------
>
>                 Key: CB-2429
>                 URL: https://issues.apache.org/jira/browse/CB-2429
>             Project: Apache Cordova
>          Issue Type: Bug
>         Environment: iPhone
>            Reporter: shailesh namjoshi
>             Fix For: 2.4.0
>
>
> - I have successfully created cordova-ios app,my web pages have some cross domain urls. I have added those pages into WWW folder and tried accessing my pages via app. App shows first page but when i am logging in , the request also goes through but failed to render the page.
> - Similarly,Web page failed to render the page which downloads data from the other domain network.

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