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
9
votes
7 answers

Upload failed You should use both http and https as schemes for your web intent-filters

Upload failed You should use both http and https as schemes for your web intent-filters. I am getting this error while uploading the instant app to Play Store. I have declared intent filters for both http and https in Manifest as…
Android Geek
  • 101
  • 1
  • 3
9
votes
3 answers

Is there an Android build flag to check for APK versus Instant App version of an App

Just like BuildConfig.FLAVOR and BuildConfig.DEBUG is there a build flag to check at runtime for the APK version or the Instant App version of an Android application ? Or is there another way to get the information ?
avianey
  • 5,545
  • 3
  • 37
  • 60
9
votes
2 answers

Can Android Instant Apps be integrated with Hybrid app?

The Android Instant Apps is a new thing, and I just wanted to know if it can be integrated with the Hybrid app structure (HTML/JS with Cordova wrapper). I'm not a native app developer so I'm not sure of this myself.
8
votes
2 answers

InstantApp not being launched when clicking on link

My test app is published in a test closed track in Google Play (alpha) - but I've also tried with Internal Testing, the same result. It already shows the button "try now" after fixing the missing default-URL. assetlinks.json placed on my server in…
Avallone
  • 331
  • 1
  • 9
8
votes
0 answers

Android: Navigation Component and Instant app

The Navigation Component doc encourages a single activity with multiple fragments. How do we make this work with instant apps? How would they land directly in a fragment? I'm thinking of a specific use case: On the installed app, the user starts on…
8
votes
3 answers

Unable to build feature modules in a multi-flavor app

I am using Gradle 4.4 with Gradle-Android plugin 3.1.1 on Android Studio 3.1.1. I have 2 flavors 'a' and 'b' and I am unable to build my project due to the following error: Cannot choose between the following configurations of project :app: -…
8
votes
1 answer

how to load http url with instantApp webview?

I'm trying to make an instantApp and put a webView at the opening activity. When I add a url starts with https I can see the website on my webview. but when the url starts with http, I get an error: net::ERR_CLEARTEXT_NOT_PERMITTED Here is my…
zb22
  • 3,126
  • 3
  • 19
  • 34
8
votes
1 answer

Android Instant apps not showing

I am needing to create an instant app based on an already created application that is in the app store. However I am trying to test the usage of instant apps, and I cannot get any to load or show on Google that have their own instant app. I have…
Jaeren Coathup
  • 377
  • 5
  • 16
8
votes
1 answer

Android Studio Preview 3.0 - Application installation failed when running instant app

I am new to running instant app. I have created a new "Hello World" project with instant app support, according to android developer documents. But, when running "instantapp", the following error occurs: I would appreciate it if anyone could help.
mm49307
  • 2,490
  • 2
  • 19
  • 15
7
votes
2 answers

Using Firebase on Instant App on Android

I'm working in migrating App to support Instant App. So, I have modularized my project structure as follow But when I'm adding Firebase, only firebase Analytics can works with it. Another feature like Firebase Auth, Storage, Firestore, And Database…
7
votes
1 answer

Firebase Analytics not working with Instant App or Normal App

I have an app that is modularized to support instant-apps. App modules: app instantapp base main detail search I tried to add Firebase by adding: classpath 'com.google.gms:google-services:3.1.1' → to the Project Level build.gradle api…
Punpuf
  • 2,042
  • 1
  • 19
  • 30
7
votes
1 answer

How to organize application classes for Instant Apps

I am trying to develop a multi-feature instant app. I have query and autocomplete feature modules. They have QueryApplication and AutoCompleteApplication classes in their feature modules for dependency injection. app module's Manifest:
Mustafa Berkay Mutlu
  • 1,929
  • 1
  • 25
  • 37
7
votes
1 answer

FirebaseApp initialization unsuccessful in Android Instant apps

I am currently working on an exiting Android application in order to create an Instant apps version. My Android Studio is now split into several modules : the business object module (which is a library) the base -feature- module the moduleA…
rolandl
  • 1,769
  • 1
  • 25
  • 48
7
votes
4 answers

Instant apps min sdk version

I have a project that has min sdk 16 and I would like to add support to instant apps. Is it possible to add that feature to mine project? I also detect that I can't create a new project with option "Include Instant App support" to sdk < 23: So I…
Onregs
  • 420
  • 3
  • 16
7
votes
3 answers

Android Instant Apps - Can not "Run unverified software, run arbitrary native code". Only Instant Apps runtime

Android Instant Apps documentation states in the restricted features section that it can not: Run unverified software, run arbitrary native code, or load code dynamically other than the code provided by the Instant Apps runtime. I don't fully…
Srini Edara
  • 101
  • 6
1 2
3
35 36