How can i come back to local pages from remote pages inside app


#1

I have some of the pages locally which will work without internet but some of them will browse from remote site .So i can redirect fom local pages to remote pages but no idea how to come back on local pages .

In android its showing cross origin error.while giving file:///android_asset/www/…
same problem in iphone


#2

why no one is replying on this…

i have switching between local pages to remote pages and from local page to remote page i am able to redirect using angular state…

How can i come back from remote pages to local pages.


#3

Set access origin as *


#4

that is already put in config.xml file…Is any thing else we need to set??

    <description>
        A sample Apache Cordova application that responds to the deviceready event.
    </description>
    <author email="dev@cordova.apache.org" href="http://cordova.io">
        Apache Cordova Team
    </author>
    <content src="index.html" />
    <access origin="*" />

#5

Hi outerbound…is any thing else need to modify in code related to access origin??