Crosswalk Intel XDK experiences

Discussion and feedback on Construct 2

Post » Wed Oct 08, 2014 7:58 am

@IntelRobert

How do I enable cross origin request in the intel XDK ?

https://crosswalk-project.org/#document ... walk_hosts
B
75
S
22
G
14
Posts: 388
Reputation: 12,222

Post » Wed Oct 08, 2014 1:14 pm

How do I control 3rd party SDKs added in CW in C2, do I have to write my own C2 plugin to access the SDK?
B
45
S
16
G
2
Posts: 107
Reputation: 4,253

Post » Wed Oct 08, 2014 1:52 pm

IntelRobert wrote:@slice

Several people in the forum used iap and crosswalk.


Ok thanks @IntelRobert
B
49
S
12
G
9
Posts: 154
Reputation: 21,127

Post » Wed Oct 08, 2014 2:19 pm

Hi!

I have a question about XDK and ads. I want to include ads in my first game, and I did using Cocoon and Mopub, but I readed that I need to use XDK to compile my android app instead of Cocoon. If I use XDK, ads will work?

Thanks
B
6
S
1
Posts: 22
Reputation: 483

Post » Wed Oct 08, 2014 3:02 pm

This may be a silly question, but how can I follow links in a crosswalk exported apk? Using the Browser object Go To event doesn't seem to work.
B
11
S
3
Posts: 135
Reputation: 1,309

Post » Wed Oct 08, 2014 3:02 pm

@jorj0 - it works great!
B
9
S
2
Posts: 52
Reputation: 1,360

Post » Wed Oct 08, 2014 4:50 pm

@jorj0 Yes, Ads work great. Just use the official Admob plugin. With CocoonJS and Mopub I only had 50%-80% fill-rate. With official Admob plugin and Crosswalk I get at least 95% fill-rate. Just waiting for Intel XDK to upgrade to fix the security vulnerability and we are good to go to monetize.
B
78
S
21
G
23
Posts: 513
Reputation: 18,623

Post » Wed Oct 08, 2014 5:16 pm

Cross origin request is enabled by default in XDK crosswalk builds. Look in the build settings at the domain field. '*' means allow requests to any origin. Delete the * if you don't want cross origin.

This example from crosswalk page works for me:
Code: Select all
var xhr = new XMLHttpRequest();
xhr.open("GET", "http://crosswalk-project.org/", true);
xhr.onreadystatechange = function () {
  if (xhr.readyState == 4) {
    // do something with xhr.responseText
  }
}
xhr.send();

tumira wrote:@IntelRobert

How do I enable cross origin request in the intel XDK ?

https://crosswalk-project.org/#document ... walk_hosts
Intel Corporation
B
15
S
3
Posts: 193
Reputation: 1,552

Post » Wed Oct 08, 2014 6:47 pm

@Cipriux thank you a lot. I´ll try admob plugin instead Cocoon+Mopub in my games.
B
6
S
1
Posts: 22
Reputation: 483

Post » Wed Oct 08, 2014 9:58 pm

I need some help to create my first app for iOS using Intel XDK Crosswalk. When I create for android, I need to export to android in C2. How can I export when I want to create a iOS app on Intel XDK?
B
74
S
13
G
3
Posts: 995
Reputation: 7,531

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: tumira and 2 guests