Google Play Instant enables people to experience your game or app natively without having to become through a amount installation process. Removing the friction of installing is a non bad means to increase engagement, conversions, together with lifetime value of your users.
Today, we've made it easier to construct minute games together with apps past times removing the URL requirement. Previously, inwards social club to issue an minute game you lot had to exercise a spider web destination for it. The website also had to last connected to the minute game through intent filters together with digital property links verification.
Now, it is no longer required to add together URL-based intent filters to your minute game. People volition last able to access the minute experience through a 'Try Now' push clit inwards the Play Store or Play Games apps, via deep link API, together with inwards the hereafter through the app ads.
While existence specially helpful for games which oftentimes don't get got a corresponding website, the novel URL-less functionality is available to both game together with app developers.
How to develop together with issue an minute game without adding URL support
Game developers using Unity or the latest Cocos Creator tin get got payoff of URL-less minute games past times only leaving the URL fields blank inwards the setup process.
However, if you lot get got your ain game engine or get got built your game from scratch inwards C++, banking concern check the AndroidManifest to brand certain it has the next intent filter declaration:
<intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter>
Starting alongside Android Studio 3.2, you lot tin create a novel minute game, or convert your existing game, without associating a URL alongside it. In fact, this is at nowadays the default behavior. Here is a run through the process:
- First, brand certain you're running Android Studio 3.2 or newer past times either updating or downloading it here. Make certain to install Instant Apps Development SDK 1.3.0 or higher from Android SDK Manager.
- Then download a sample minute app from GitHub. In Android Studio, click File → New → Import Project… together with import the downloaded "urlless" sample.
- Lastly, afterward gradle tasks are finished, click the greenish "Run" push clit alongside "instantapp" configuration.
You should reckon an minute game on your attached device. Instant runtime flora together with launched the entry betoken activity inwards your game alongside the ACTION_MAIN together with CATEGORY_LAUNCHER intent filter.
Once you lot are ready to issue the sample minute game:
- Give your sample game a unique applicationId inwards app/build.gradle file past times replacing existing applicationId - nosotros don't desire unlike applications alongside the same id.
- Generate signed APKs for both installable together with minute version of our sample game.
- In Android Studio, Build → Generate Signed Bundle / APK…
- Choose APK for both "app" together with "instantapp" modules.
- In the Play Console, exercise a novel application, upload APK nether "App Releases" tab, together with and then upload "instantapp-release.zip" nether "Android Instant Apps" tab.
- The installable app must last rolled out earlier the minute one.
- The rollout procedure may last familiar to virtually Android developers, but here's a step-by-step guide inwards illustration you lot run across whatever issues.
Once you lot issue your minute game, people tin access it via a 'Try Now' push clit inwards Play Store inside 24 hours or sooner. You tin also shipping traffic to your minute game using the deep link API:
market://details?id=MY.PACKAGE.NAME&launch=true&referrer=myreferrer
MY.PACKAGE.NAME
refers to applicationId that you lot get got replaced inwards app/build.gradle file.
What's next?
With the launch of Android App Bundle nosotros are excited to farther simplify the developer experience for Google Play Instant. In the coming months nosotros are making it possible to deliver your app's or game's dynamic features immediately from the same parcel equally your installable app or game. Stay tuned!
Check out to a greater extent than information on Google Play Instant, or experience gratis to ask a interrogation on Stack Overflow, or report an upshot to our world tracker.
How useful did you lot detect this blogpost?