Well... I can't get it to work. I will go back to Cross walk 9 and wait
for a proper version of Crosswalk 10 where remote requests follow the
config.xml settings. Thanks for your time.
On 20-11-2014 16:32, Pierre Gaston wrote:
Well this application doesn't have a class named KitchenSink in a file
names "KitchenSink.java" which extends CordovaActivity?
On Thu, Nov 20, 2014 at 5:28 PM, Dave Richardson <[email protected]
<mailto:[email protected]>> wrote:
I have migrated an application following:
https://crosswalk-project.org/documentation/cordova/migrate_an_application.html
On 20-11-2014 16:27, Pierre Gaston wrote:
not in CordovaAcvity.java, in your application, how do you use
cordova?
Do you extend CordovaActivity?
On Thu, Nov 20, 2014 at 5:21 PM, Dave Richardson <[email protected]
<mailto:[email protected]>> wrote:
Not really... In CordovaActivity.java I cannot find anything
with "loadUrl" if that's what you mean.
On 20-11-2014 16:07, Pierre Gaston wrote:
well, in the class extending CordovaActivity, you don' t
have something like: super.loadUrl(Config.getStartUrl());
On Thu, Nov 20, 2014 at 5:06 PM, Dave Richardson
<[email protected] <mailto:[email protected]>> wrote:
Ok, I have no idea where that is :(
On 20-11-2014 15:59, Pierre Gaston wrote:
Right.
I addit it in the "OnCreate" of my activity in
replacement of the loadUrl()
On Thu, Nov 20, 2014 at 4:56 PM, Dave Richardson
<[email protected] <mailto:[email protected]>> wrote:
Ok, so let me get this right.
You added the loadFromManifest function somwewhere
in:
/platforms/android/CordovaLib/src/org/apache/cordova/CordovaActivity.java
But what do you mean with
"then instead I used
loadFromManifest("file:///android_asset/www/manifest_xwalk_hosts.json");"
Where did you add loadFromManifest("file://...") ?
Thanks!
On 20-11-2014 15:47, Pierre Gaston wrote:
ah sorry, this is more related to the problem I
reported here then:
https://crosswalk-project.org/jira/browse/XWALK-2994
My workaround for this was to add to
CordovaActivity.java:
public void loadFromManifest(String url) {
if (appView == null) {
init();
}
// If keepRunning
this.keepRunning =
preferences.getBoolean("KeepRunning", true);
//Check if the view is attached to anything
if(appView.getParent() != null)
{
// Then load the spinner
this.loadSpinner();
}
//Load the correct splashscreen
this.appView.loadAppFromManifest(url, null);
}
then instead I used
loadFromManifest("file:///android_asset/www/manifest_xwalk_hosts.json");
with a manifest like:
{
"name": "app",
"version": "0.0.0.1",
"start_url" : "file:///.....l",
"icons": {
"96": "icon.png"
},
"xwalk_hosts": [
"https:/blah/*" <https:/blah/*>
]
}
On Thu, Nov 20, 2014 at 4:41 PM, Dave Richardson
<[email protected] <mailto:[email protected]>> wrote:
Hello, did you find a solution for this yet?
I am having the same problem after upgrading
to Cordova 3.6.3 with Crosswalk Cordova 10.
In config.xml I added "<access origin="*" />",
but this doesn't seem to be enough.
Greetings,
Dave
On 19-11-2014 6:39, Rajil wrote:
Hello experts;
I am using crosswalk in my cordova based
application. Everything was working fine with
cordova 3.5 and crosswalk 9 release.
As soon as I upgraded my application to
cordova 3.6.3 now and crosswalk cordova 10, I
started getting error "No
'Access-Control-Allow-Origin' header is
present on the requested resource." while
calling external URL to authenticate user login.
Do i need to change any code or put any
configuration file to work with external URL
in my cordova based android application using
crosswalk 10?
I was searching on this issue and found
following URL:
https://crosswalk-project.org/documentation/manifest/xwalk_hosts.html
it says to put manifest.json with
"xwalk_hosts" tag and i did following:
Created new file manifest.json under www
directory along with index.html file and
written following content in it.
"xwalk_hosts": [
"*"
]
but this is not working. Any solution to this?
regards,
Rajil Davda
Applied Software
_______________________________________________
Crosswalk-help mailing list
[email protected]
<mailto:[email protected]>
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
<mailto:[email protected]>
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
<mailto:[email protected]>
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
<mailto:[email protected]>
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
<mailto:[email protected]>
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help