Dominion Strategy Forum

Please login or register.

Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - GandalfTheCoder

Filter to certain boards:

Pages: [1]
1
Goko Dominion Online / Re: Play Dominion Online on Android!
« on: February 25, 2015, 02:27:56 pm »
UPDATE: I've found a workaround for the Facebook/Google/Twitter login stuff. I'm working on getting this into an app. I should be able to get it out in the next few days!

2
Goko Dominion Online / Re: Play Dominion Online on Android!
« on: February 25, 2015, 09:05:50 am »
Logging in with Google/Facebook/Twitter uses something called OAuth. When it attempts this authentication, the following message is being thrown:

Refused to display 'https://m.facebook.com/...' in a frame because it set 'X-Frame-Options' to 'DENY'.

This means that Facebook does not allow their authentication to be called from an iFrame (this is what I've used to put the game on the device without copying any assets). Google and Twitter throw similar errors. The result is that facebook/twitter/google logins cannot be handled as they are being handled currently. I'm going to look into it some more and see if there are some simple workarounds I can put in to get this working, but for now it seems that it won't work with these logins.

I highly suggest using an email/password login on your device to get past these issues. Although it may mean making a new account, you can always have an account just for mobile play and another for desktop play. I'll update here if I make any progress.

3
Goko Dominion Online / Re: Play Dominion Online on Android!
« on: February 24, 2015, 08:53:15 pm »
Ah, nice catch! I use just an email/password combination. The google account integration seems to work on the site but not in the app. Same for facebook/twitter. I'll look into it to see if I can figure out a way around it, but it might be getting blocked by Dominion Online.

For now, if you're signing up for a new account, I'd suggest using just an email/password. That works without any issues for me.

4
Goko Dominion Online / Play Dominion Online on Android!
« on: February 24, 2015, 06:53:01 pm »
I just wanted to let you all know that I've built a small app that allows you to play Dominion Online on your android device!

The app does not copy or redistribute ANY Dominion Online resources; it simply places the website in a frame and resizes it to fit your device.

You can play with your Dominion Online account on the go! I've been playing with it for days and it works like a charm, though if you close the app it will require you to re-login since I'm not storing any of your login information.

Anyway, please let me know what you think! Feedback welcome.

Google does not allow apps that just put a 3rd party website into a webview, so I can't upload this to the Google Play store. I can, however, upload the apk for everyone to enjoy. Read here for how you can install a 3rd party apk: http://www.android.pk/blog/tutorials/how-to-enable-third-party-apps-installation-on-android-phones/

TO INSTALL:
1) Enable 3rd party apps on android (http://www.android.pk/blog/tutorials/how-to-enable-third-party-apps-installation-on-android-phones/)
2) Download the attached apk (or from here: http://adf.ly/143Tlj) to your device
3) Open the apk and install it

KNOWN ISSUES:
1) If you click the login with facebook/google/twitter links, they currently do not work, and they will break the app. You need to close the app and reload it to get it working again. Only email/password logins seem to work right now, but I'm looking into it!

 ;D

Pages: [1]

Page created in 0.834 seconds with 19 queries.