open link in facebook app half working

Discussion and feedback on Construct 2

Post » Thu Feb 18, 2016 12:30 pm

Hi All,
I have an html5 website (built with Construct2) that includes a link to facebook.

I'm using a Browser go-to-url action in that webpage to open the facebook link using the facebook app rather than the browser.

Image

This works just fine (assuming you're browsing with a phone and you have the facebook app installed).

However I'm also working on an app that opens this same html5 webpage using a standard Browser go-to-url action. But when the page is opened from the app, the facebook link does not work. The facebook app does not launch, nothing happens at all.

I've tried this on a few different handsets with the same result (Android only).

I would have thought that the same browser would be used when the app launches the webpage, so I can't explain the different behaviour. I think I'm missing something important about the underlying workings here.

Can anyone offer any advice?
B
5
Posts: 2
Reputation: 240

Post » Sat Feb 20, 2016 1:02 pm

Update: I had some more time to look at this tonight and I found that apps created with Construct2 don't seem to use the default android browser to open URLs. This is the process the lead me to that conclusion:

-Updated website.
-Cleared browser cache on phone.
-Updated page displays in browser as expected.
-Opening the same URL from within the app (on the same phone) displays an old version of the page.

Can anyone confirm if apps created with Construct2 and build with Intel XDK use a different browser or browser cache?

Trying to get my head around this one so I can put a decent solution together.

Thanks.
B
5
Posts: 2
Reputation: 240


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests