Ø  I couldn’t find info on how to switch the Cordova plugin to the beta version.

See here:

https://crosswalk-project.org/blog/using-custom-crosswalk-in-cordova-plugin.html

TL;DR: <preference name="xwalkVersion" value="xwalk_core_library_beta:19+" />


From: Crosswalk-help <[email protected]> on 
behalf of Adrian Gillette <[email protected]>
Date: Thursday 2 June 2016 18:50
To: "Fu, Junwei" <[email protected]>, "Zhang, Xiaofeng" 
<[email protected]>, "[email protected]" 
<[email protected]>
Subject: Re: [Crosswalk-help] custom http header

I couldn’t find info on how to switch the Cordova plugin to the beta version.

From: Crosswalk-help 
<[email protected]<mailto:[email protected]>>
 on behalf of Adrian Gillette <[email protected]<mailto:[email protected]>>
Date: Thursday, June 2, 2016 at 8:41 AM
To: "Fu, Junwei" <[email protected]<mailto:[email protected]>>, "Zhang, 
Xiaofeng" <[email protected]<mailto:[email protected]>>, 
"<[email protected]<mailto:[email protected]>>"
 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Crosswalk-help] custom http header

Junwei,

There’s no change in behavior when I rebuilt and ran my app.  I’m going to try 
beta version 19.

Adrian

From: "Fu, Junwei" <[email protected]<mailto:[email protected]>>
Date: Thursday, June 2, 2016 at 1:52 AM
To: Adrian Gillette <[email protected]<mailto:[email protected]>>, "Zhang, 
Xiaofeng" <[email protected]<mailto:[email protected]>>, 
"<[email protected]<mailto:[email protected]>>"
 
<[email protected]<mailto:[email protected]>>
Subject: RE: [Crosswalk-help] custom http header

The latest plugin version used 18+ stable  have shipped to npm, please try it 
again.

Thanks,
Junwei.
From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Adrian 
Gillette
Sent: Thursday, June 02, 2016 4:03 PM
To: Zhang, Xiaofeng; 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Crosswalk-help] custom http header

Looks like version 18 is the latest that’s available, 
https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.

From: "Zhang, Xiaofeng" 
<[email protected]<mailto:[email protected]>>
Date: Thursday, June 2, 2016 at 12:57 AM
To: Adrian Gillette <[email protected]<mailto:[email protected]>>, 
"<[email protected]<mailto:[email protected]>>"
 
<[email protected]<mailto:[email protected]>>
Subject: RE: [Crosswalk-help] custom http header

How about version 19?

From: Adrian Gillette [mailto:[email protected]]
Sent: Thursday, June 2, 2016 3:31 PM
To: Zhang, Xiaofeng 
<[email protected]<mailto:[email protected]>>; 
<[email protected]<mailto:[email protected]>>
 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Crosswalk-help] custom http header

I got the following error when attempting use version 20:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_armv7DebugCompile'.
   > Could not find any version that matches org.xwalk:xwalk_core_library:20+.
     Searched in the following locations:
         
https://repo1.maven.org/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml
         https://repo1.maven.org/maven2/org/xwalk/xwalk_core_library/
         
https://jcenter.bintray.com/org/xwalk/xwalk_core_library/maven-metadata.xml
         https://jcenter.bintray.com/org/xwalk/xwalk_core_library/
         file:/Users/user1/Documents/business/rave 
relay/mobile/platforms/android/libs/
         
https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml
         
file:/Users/user1/Library/Android/sdk/extras/android/m2repository/org/xwalk/xwalk_core_library/maven-metadata.xml
         
file:/Users/user1/Library/Android/sdk/extras/android/m2repository/org/xwalk/xwalk_core_library/
         
file:/Users/user1/Library/Android/sdk/extras/google/m2repository/org/xwalk/xwalk_core_library/maven-metadata.xml
         
file:/Users/user1/Library/Android/sdk/extras/google/m2repository/org/xwalk/xwalk_core_library/
     Required by:
         :android:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 17.473 secs


From: "Zhang, Xiaofeng" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, June 1, 2016 at 11:54 PM
To: Adrian Gillette <[email protected]<mailto:[email protected]>>, 
"<[email protected]<mailto:[email protected]>>"
 
<[email protected]<mailto:[email protected]>>
Subject: RE: [Crosswalk-help] custom http header

That API was added in API 6.0, so Crosswalk 19 should be ok, but I think 20+ is 
better, because more issues were fixed.

And I think this JIRA also can help you:
https://crosswalk-project.org/jira/browse/XWALK-3934


From: Adrian Gillette [mailto:[email protected]]
Sent: Thursday, June 2, 2016 2:46 PM
To: Zhang, Xiaofeng 
<[email protected]<mailto:[email protected]>>; 
<[email protected]<mailto:[email protected]>>
 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Crosswalk-help] custom http header

Hi Xiaofeng,

It looks like a possibility.  In my Cordova project config.xml, here’s the 
preference setting for crosswalk:


<preference name="xwalkVersion" value="xwalk_core_library:18+" />



Should I change “18+" to “19+" or “20+”



Adrian

From: "Zhang, Xiaofeng" 
<[email protected]<mailto:[email protected]>>
Date: Wednesday, June 1, 2016 at 11:37 PM
To: "Zhang, Xiaofeng" 
<[email protected]<mailto:[email protected]>>, Adrian Gillette 
<[email protected]<mailto:[email protected]>>, 
"<[email protected]<mailto:[email protected]>>"
 
<[email protected]<mailto:[email protected]>>
Subject: RE: [Crosswalk-help] custom http header

Hi Adrian

Can this issue also meets your request?

https://crosswalk-project.org/jira/browse/XWALK-4921


From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Zhang, 
Xiaofeng
Sent: Thursday, June 2, 2016 2:36 PM
To: Adrian Gillette <[email protected]<mailto:[email protected]>>; 
<[email protected]<mailto:[email protected]>>
 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Crosswalk-help] custom http header

Hi Adrian

Can this issue also meets your request?

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Adrian 
Gillette
Sent: Thursday, June 2, 2016 10:08 AM
To: 
<[email protected]<mailto:[email protected]>>
 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Crosswalk-help] custom http header

Can someone from Crosswalk team shed some light on this problem?

Thanks

Adrian

On Jun 1, 2016, at 1:07 PM, Adrian Gillette 
<[email protected]<mailto:[email protected]>> wrote:
I’m wondering if my issue is the same as this, 
https://crosswalk-project.org/jira/browse/XWALK-5450.  In that case, the 
ability to define custom request header should be supported in Crosswalk and 
made available to Cordova apps right?

From: Crosswalk-help 
<[email protected]<mailto:[email protected]>>
 on behalf of Adrian Gillette <[email protected]<mailto:[email protected]>>
Date: Wednesday, June 1, 2016 at 12:03 AM
To: 
<[email protected]<mailto:[email protected]>>
Subject: [Crosswalk-help] custom http header

Hi,

I’m working with a Cordova project where I’m defining a custom header for my 
http requests.  It’s working fine with IOS, but it doesn’t look like 
Android/Crosswalk version is allowing me to send the custom headers in the 
request.  Can anyone help?

Adrian

BTW – It looks like I’m using org.xwalk:xwalk_core_library_beta:18+
_______________________________________________ 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
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to