Questions tagged [android-instant-apps]

Android Instant Apps are special kind of native mobile apps that can be run instantly on Android device, without prior installation, just by clicking on a web link - or the Try Now button in the Play Store. Use this tag for questions about Android Instant Apps development, debugging and deployment. Consider adding [android] tag as well.

Android Instant Apps were presented during Google I/O 2016 as a way of launching native Android applications without requiring a user to install them. Instant Apps are launched by simply clicking on a web link.

Resources

Android Instant Apps introduction

Frequently Asked Questions

Preparing your app

Code samples

540 questions
0
votes
1 answer

Why is cloud save recommended for instant games?

On the Instant Play Games site google recommends the following: Integrate sign-in using Google Play Games Services and a cloud save solution to preserve progress in the game. However in this other document the following is stated: If the player…
jokke
  • 65
  • 6
0
votes
1 answer

Is it possible to launch another application from an instant app?

Normally, of course, it's easy: getLaunchIntentForPackage("com.package") gives an Intent that you can just pass to startActivity(). But when executed in an instant app, getLaunchIntentForPackage() returns null even if the target app is…
Jonik
  • 80,077
  • 70
  • 264
  • 372
0
votes
1 answer

Why can't I call the create method of FakeSplitInstallManagerFactory that only requires Context to be passed?

The new FakeSplitInstallManagerFactory has a create method that takes Context however when I try to use it from my code I only get the method that takes Context and a File which is a directory. If I tell AS to show me the definition of the class, I…
casolorz
  • 8,486
  • 19
  • 93
  • 200
0
votes
0 answers

Instant Apps: Problem with using DialogFragments or AlertDialogs in Instant App on a specific device Xiaomi Redmi S2 (Android 8.1)

I have been facing problems when using DialogFragments or AlertDialogs on Xiaomi Redmi S2 (Android 8.1) while deploying an instant app. For the rest of the devices that I have tested everything seems to be just fine. The problem occurs when I get to…
Marija
  • 422
  • 4
  • 12
0
votes
0 answers

Google Play Instant Apps (AOT or JIT)

Standing on what wikipedia say in past the Apps uses JIT (just in time) compilation where the apps is translated into machine code every time was executed and in new android versions apps uses AOT(ahead of time) compilation where the apps code is…
0
votes
1 answer

ShortcutManager crash in instant apps

When I run my instant app I'm experiencing a crash due to the shortcut feature, please see the image with the stack trace, this is the only thing I can provide as I'm not able to attach the debugger, another problem…
lulu666
  • 99
  • 1
  • 12
0
votes
2 answers

Verify how an Instant App in Android is launched

According to the documentations, an Instant App is downloaded via Google Play and launched on the fly. It is not installed but is rather cached in the Android system. As a developer and user, I would like to validate this behaviour. I have tried…
ZakiMak
  • 2,072
  • 2
  • 17
  • 26
0
votes
0 answers

Instant App : Can we use dynamic bundle only for Instant app and not for main app?

I have two separate codebases one for the main app and one for Instant app. I am not using Android App Bundles in the main app. Can I use the Dynamic module only in the Instant App as the feature plugin is deprecated? And Can I upload it on play…
0
votes
1 answer

Using SMS Retriever API with Instant Apps

I have a functioning instant app and I've successfully incorporated the SMS Retriever API in several apps, but the two don't seem to function together. Is there a way to make them function together, or does there exist documentation about this not…
Tyson
  • 13
  • 6
0
votes
1 answer

Possible to have different intent filters for installed app and instant app?

I'm currently using the old feature plugin for creating an Instant App. In the base feature module's AndroidManifest file I have Activity B that listens for intents following the pattern "/pets/dogs/cages" In my application module's AndroidManifest…
0
votes
1 answer

Missing Android Instant App Statistics on Google Play Console

How do I get Android Instant App/Open Statistics to show something on the Google Play Console?
Androidcoder
  • 4,389
  • 5
  • 35
  • 50
0
votes
1 answer

Java syntax for calling installable app from instant with showInstallPrompt

I'm looking for the Java boilerplate for calling my installable app from my instant app. I found something coded in Kotlin on GitHub here https://github.com/googlesamples/android-instant-apps I'm trying to translate and get to work. I'm surprised…
0
votes
1 answer

Can separate codebases be used for Installable and Instant versions of an app

I have a large game app that uses external resources like Firebase database I'd like to have an Instant App option for on Google Play. So far the most complete tutorial I've found to do this is the Codelabs one here…
Androidcoder
  • 4,389
  • 5
  • 35
  • 50
0
votes
2 answers

opening an Instant App by a Firebase Dynamic Link with custom parameters (App Links)

I'm searching for a way to open an Android Instant app in a mobile browser. The app supports app links (deep linking in http/https). My Android app is working as an instant app and can be opened by an app link in different apps that are not browsers…
0
votes
0 answers

Unable to link site to Android app through the Digital Assets Link protocol

I have completed successfully all the steps required in the App Link Assistant in the Android Studio like suggested in answers to other questions about this subject: But I'm still unable to upload an Instant App to testing. I get the following…
Sir Codesalot
  • 7,045
  • 2
  • 50
  • 56