Google Play Instant with libgdx

Anything libgdx related goes here!

Google Play Instant with libgdx

Postby megasoft78 » Fri May 11, 2018 11:54 am

How difficult would be to support Google Play Instant with libgdx?
https://developer.android.com/topic/goo ... nstant-app
megasoft78
 
Posts: 9
Joined: Fri May 18, 2012 4:28 pm

Re: Google Play Instant with libgdx

Postby gamesdev » Tue May 15, 2018 7:48 pm

I'm also interested in making instant apps.
Is this dificult with libgdx?
gamesdev
 
Posts: 30
Joined: Wed Feb 11, 2015 10:13 am

Re: Google Play Instant with libgdx

Postby evilentity » Tue May 15, 2018 8:30 pm

Should be doable, i think. Why not try it and post the results?
Looking for a freelancer? PM me!
evilentity
 
Posts: 4458
Joined: Wed Aug 24, 2011 11:37 am

Re: Google Play Instant with libgdx

Postby evilentity » Sat May 19, 2018 2:34 pm

I did try it! Update android studio and all the sdk, followed the official guide... and it crashes on start. Not a great first impression.
Looking for a freelancer? PM me!
evilentity
 
Posts: 4458
Joined: Wed Aug 24, 2011 11:37 am

Re: Google Play Instant with libgdx

Postby ExecMe » Sun Jul 01, 2018 10:58 pm

I've just published an Instant version https://play.google.com/store/apps/details?id=me.exec.game.colorlines.LinesOfFive

1) Migrate your project to Gradle 4.6. Only difficulty was with GWT module.
2) Make steps from the tutorial. Current "android" module becomes shared "base". And adding 2 new modules: instantapp and application.
3) In AndroidManifest.xml adding intent-filter for VIEW. And linking app to some site, in my case hosted on lines-of-five.firebaseapp.com

Works fine in emulator and on my Redmi device.
ExecMe
 
Posts: 1
Joined: Sun Jul 01, 2018 10:43 pm


Return to Libgdx

Who is online

Users browsing this forum: No registered users and 1 guest