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

Instant App Not Compiling

When I am trying to compile with following configuration in base feature, compileSdkVersion 25 targetSdkVersion 25 I get the below error message "Feature modules require compileSdkVersion set to 26 or higher. compileSdkVersion is set to 25" Is…
0
votes
0 answers

Cannot release instant app : You should have at least one active APK that is mapped to site 'example.com' via a web 'intent-filter'

I am getting this error : You should have at least one active APK that is mapped to site 'www.example.org' via a web 'intent-filter' I just realized that I have this in my instant app's manifest:
Rob
  • 4,123
  • 3
  • 33
  • 53
0
votes
0 answers

Play Store installs instant, not full app

I have an InstantApp in internal test on the Play Store - not published. The instant app downloads and operates fine. The activity presents an Install button which appears to work fine - The Play Store presents its page with an Install button;…
JAW
  • 187
  • 2
  • 13
0
votes
1 answer

Dagger 2 with Instant App

I've been working on instant app for a few days. I didn't get it compiled yet due to Dagger issue. The project is split into base, export, preview as features. In export module @ExportScope @Component( modules = [DrawExportModule::class], …
Ken Zira
  • 1,170
  • 2
  • 10
  • 12
0
votes
1 answer

Android error : Could not find instantapps.jar (com.google.android.instantapps:instantapps:1.1.0)

I'm trying to build my Android project again after having switched from my previous computer. The project contains an APK and an instant app. I have fetched all the source code from Git, but when trying to Make Project, I'm getting this error: Any…
Rob
  • 4,123
  • 3
  • 33
  • 53
0
votes
1 answer

Instant Apps: How to add external libraries?

I want to build an android instant app from my previous app.My main source code is less than 4 MB (Instant App Requirement). But I am using some external libraries those have a size of approx 39 MB. How I can shrink the code to 4 MB? Is there any…
john
  • 2,324
  • 3
  • 20
  • 37
0
votes
0 answers

URL pattern matching in Android

I want my Instant App to catch a few links and discard rest. So below is the example of URL I want to…
0
votes
1 answer

Open instant app through another application

I have 2 applications called AppOne and Apptwo. AppOne has only one activity and is an Instant App. I have the url for the instant app. I have deployed it to Play Store for Internal Testing. In my Apptwo, I want to open my instant app through url. I…
BraveEvidence
  • 53
  • 11
  • 45
  • 119
0
votes
1 answer

Instant App link in SMS does not work

I have created an Instant App that works perfectly when I click its link in an email. When I send the same link in an SMS and click it, the default-url is displayed. I am using AS3.2 Canary 9. Has anyone seen the same thing?
JAW
  • 187
  • 2
  • 13
0
votes
0 answers

Some users of this Instant App APKs will not be eligible for any of the APKs in your installed app

I am getting below issue while reviewing the instant app APK for publishing in Google play store.I have minSDKVersion 16 and targetSDKVersion 26 for both instant and installable app. PROBLEM Some users of this Instant App APKs will not be eligible…
Prak
  • 175
  • 1
  • 7
0
votes
1 answer

Application access resources from instant application (other)

I have one application "Master" installed on phone. Is it possible to access resource from other app "Slave" as instant app ? I know that it's possible between 2 installed apps using : Resources resources =…
0
votes
3 answers

Instant App: is it a Web App?

Recently I just started to learn Android Instant app. As far I research, it make me feel that it behaves like a Web App, which used to replace mobile websites. This may be a dumb question, but I want to figure out whether Android Instant app is a…
Wei Loon Wong
  • 450
  • 1
  • 7
  • 23
0
votes
0 answers

Android InstantApp vs Full APK Permission handling issue

Implementing a MediaProjection sample for Screen Recording purposes while having my project setup in InstantApps mode gave me Security Permission error when running this line of code: val REQUEST_MEDIA_PROJECTION =…
0
votes
1 answer

Avoid activity chooser prompt for in-app deeplinks

In order to prepare for Instant Apps, I split my app into multiple modules with one activity each. Each activity launches another activity by throwing an intent with the destination URL (as opposed to class name). The issue here is that the activity…
dev
  • 11,071
  • 22
  • 74
  • 122
0
votes
0 answers

Instant App postInstallIntent crashes because Activity Fails resolution

I have an onClickListener() for a Download button in the sole activity in my Instant App package. When clicked, it forms the postInstallIntent: Intent postInstallIntent = new Intent(getApplicationContext(), Test.class); When I Run instantapp, it…
JAW
  • 187
  • 2
  • 13