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
0 answers

Instant app crash on Samsung device with Android O

I met a crash issue when instant app running on Samsung device, here is the crash log: Fatal Exception: java.lang.SecurityException: Setting aod_show_state is not accessible from ephemeral package xx.xx.xx at…
0
votes
1 answer

Instant App crashes with more than one query parameter

I submit a Run Configuration for an instantapp module in Android Studio with a Launch URL like https://example.com/?Q1=12345 and it runs fine. The autogenerated code for handleIntent() extracts the intent data and the query. Then I can extract the…
JAW
  • 187
  • 2
  • 13
0
votes
1 answer

Under what circumstances does the "Non-upgradeable to installed app" message trigger in the Google Play Console for Instant Apps

I am trying to upload an instant app to the production track in google play. I have an associated installed apk available in production, and an instant app in the pre-release track. When I try to release the instant app to production I get the…
etrado
  • 121
  • 8
0
votes
0 answers

An android.app.Application.onCreate() Call for an InstantApp Feature

PROBLEM: Need to initialize some objects before an activity from secondary (non-base) Instant App feature is launched. RESEARCH: In base feature we can create android.app.Application class and declare it in the base features's Manifest: …
Zon
  • 18,610
  • 7
  • 91
  • 99
0
votes
3 answers

Firebase analytics for instant app

I am getting the following error while applying firebase analytics integration 02-21 17:32:59.447 12786-12786/? E/FA: GoogleService failed to initialize, status: 10, Missing google app id value from from string resources with name google_app_id. …
ASJ
  • 53
  • 5
0
votes
2 answers

Instant App: RuntimeException: Unable to get provider FileProvider: SecurityException: Provider must grant uri permissions

I tried adding an instant app feature to my app, but when launching my app as an instant app I'm getting this error : RuntimeException: Unable to get provider android.support.v4.content.FileProvider: java.lang.SecurityException: Provider must grant…
Rob
  • 4,123
  • 3
  • 33
  • 53
0
votes
1 answer

Layout broken by instant app API?

I am working on an instant app demo app. I used the default template which I extended with a RecyclerView and a custom adapter. My problem is that my layout is totally broken: As you see the toolbar is the same, but something does not work…
0
votes
0 answers

manifest merging error, throws exception

I'm trying to convert my app to Instant app. I create the base module but my manifest giving some error. I tried a lot. Is this is a plugin error or any third party library issue which I am using? I am attaching here my Manifest file of base module…
0
votes
1 answer

How to keep classes which can be obfuscated

How can I keep classes which can be obfuscated? I played with -keep and -keepclassmembers, both will fix my class not found exceptions, but I would like to have shorted names. As background, I need that for a instant app: That means that I need to…
rekire
  • 47,260
  • 30
  • 167
  • 264
0
votes
1 answer

Error while setting up Instant Apps

I'm trying to implement Android Instant Apps Support to my app and I've followed this tutorial: http://androidkt.com/instant-app/ Everything was going perfect and I've successfully completed the tutorial. But, I faced this error: Error:FAILURE:…
Arda Çebi
  • 1,705
  • 4
  • 15
  • 27
0
votes
0 answers

Instant App Icon (on Pixel) cause crash when the main App get installed using copy-&-install

On Pixel2 Phone, after we launched Instant App, we could see the Instant App Icon as the BuzzFeed icon shows on the top left of image This is cool, as it allow one to open the Instant App with default URL on the phone. However if we install the…
Elye
  • 53,639
  • 54
  • 212
  • 474
0
votes
1 answer

Android SearchManager is null in Instant App

I'm using a simple search dialog that works fine in the installable app, but I'm getting a NullPointerException only when running the code as an Instant App: java.lang.NullPointerException: Attempt to invoke interface method …
rednuht
  • 1,724
  • 16
  • 27
0
votes
1 answer

I tried to upload my instant app apks to Play store, it gives the following error

I upload my instant app apks to Play store, it gives the following error : Your website www.tomtop.com has not yet been linked to your app through a digital asset link agreement. Please link your website to your app via digital asset link…
0
votes
1 answer

Instant App not loading from development track

I have an instant app that deploys and runs fine to emulator or device via my local development environment. In fact, I have an old version deployed in production which works perfectly fine but hasn't been updated in a long time and much of the…
kabuko
  • 36,028
  • 10
  • 80
  • 93
0
votes
2 answers

Android Instant Apps: Is it possible to navigate to other sub instant features from one instant feature

Im planning to migrate the current app to an instant app. So i was wondering is it possible to navigate from one sub instant feature module to another instant feature module. For example i might be on a details feature which holds necessary…
bostan
  • 373
  • 2
  • 8