R170 - Twitter button issues on Crosswalk Build

Bugs will be moved here once resolved.

Post » Fri May 23, 2014 12:05 am

Problem Description
A couple issues, the first was with R169, after pressing the Twitter button on an Android device it would open Twitter in Full Screen and you can not go back or close without ending the task. Maybe the 'Open In New Window fix' (introduced in R169) could be applied in this case for Twitter?

I wanted to test the above issue with R170 build but now the Twitter button is not displaying on Android OS Crosswalk build at all.

Apologies if this is not a bug!

Attach a Capx
Just a blank empty capx project with twitter plugin added.

Description of Capx
twitter button added

Steps to Reproduce Bug
  • Step 1 Start New Project -> Blank Empty Project
  • Step 2 Insert new object -> Twitter button
  • Step 3 Leave Twitter Properties as Default (including Initial Visibility: 'Visible')
  • Step 4 Place on layout anywhere
  • Step 5 Open Intel XDK (build 0876) -> Start New Project
  • Step 6 Save C2 Project then Export using Android (leaving default export options)
  • Step 7 Refreshed File Tree in Intel XDK -> Go to Emulate Tab -> Noticed no Twitter Button
  • Step 8 Build using Crosswalk for Android
  • Step 9 Test the ARM Build on Android device -> Noticed no Twitter button

Observed Result
No Twitter button displayed on Intel XDK Emulate or Crosswalk for Android (ARM) Build

Expected Result
Twitter button displayed.

Affected Browsers
  • Chrome: (NO)
  • FireFox: (NO)
  • Internet Explorer: (NO)
  • Only on Intel XDK emulate and Android OS (S3 with 4.3)

Operating System and Service Pack
Windows 7 SP1

Construct 2 Version ID
R170 64-bit
You do not have the required permissions to view the files attached to this post.
Posts: 39
Reputation: 1,574

Post » Mon Jun 02, 2014 5:06 pm

The button appears for me in the Crosswalk player app in preview-over-wifi, but pressing the button navigates to Twitter inside the app itself, replacing the game. That's not very helpful. I've tried hacking it to open a window the same way the Browser object does, but the Twitter API does something different that I can't figure out.

I think the easiest thing to do is just make your own ordinary button and use the Browser object's 'Open URL' action to open your feed's page on Twitter so the user can do whatever they want from there.
Scirra Founder
Posts: 25,198
Reputation: 200,337

Post » Tue Jun 10, 2014 11:15 pm

Thanks Ashley.

I've used these two tutorials to overcome this for Twitter and Facebook, if anyone else experiences this issue too:

https://www.scirra.com/tutorials/908/fa ... php?page=2
https://www.scirra.com/tutorials/927/tw ... ser-object
Posts: 39
Reputation: 1,574

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests