This already exists in the vanilla manifest. The important parts are the intent filter, otherwise their thing is just the example. At least if I’m not mistaken.
I have tried many versions myself before coming to Defold for help.
In addition, Google said the “standard(non-instant)” version code of the same app must have a higher number than its “instant” counter part. In this case, I set the version code to be 20 for (non-instant) and 10 for instant.
The version code of your game’s instant app needs to be less than the version code of the installable game. The expectation is that players move from the Google Play Instant experience to downloading and installing the game onto their device. The Android framework considers this transition to be an app update.
To make sure that you follow this versioning scheme, you can use one of these strategies:
Restart the version codes for the Google Play Instant experience at 1.
Increase the version code of the installable APK by a large number, such as 1000, to ensure that there is enough space for your instant app’s version number to increase. Note: The version code isn’t a user-facing value and is primarily used by the system. The user-facing version name has no restrictions.
You’re not wrong about this detail, I believe the reason is so the full version can simply replace the stripped down Instant version, and the full version requires a higher version code to be able to do that.
@Mathias_Westerdahl was talking about the Defold Editor version number though. The editor should automatically prompt you to update.
Managed to get test Android Instant Games enabled APK to sign and upload. I created a new .keystore with KeyStore Explorer and then signed with this tool
As this tool uses Google’s apksigner in the background, it will automatically sign it with the most recent signing schema depening on your min and targetSdk - there is nothing to config. In fact you can check in the log which signing schema will be used
If my understanding is correct, Google requires a standard (non-instant) APK be made first with a higher version code.
So, to make this non-instant APK first, in Defold Editor 2, Project/Bundle/Android Application:
what (Certificate) and (Private key) should be used in relation to the new info you just provided? Thanks.