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

Unable launch instant app from AS on phone

I want to debug my instant app from the android studio, but cannot: try using the default configuration for the instant app, but get this try using terminal by ia run instantapp-debug.zip (ia - jar from extras folder) or adb install-multiple -r -t…
0
votes
1 answer

Does an instant app support Bluetooth

I have to change existing app to an instant app. While editing, there was a problem with bluetooth permission. Does an instant app support Bluetooth?
0
votes
1 answer

How to handle all app link in instant app

Web is live with www.xyz.com/status/homestatus, www.xyz.com/status/rentstatus and many more. Currently I have provided support for www.xyz.com/status/homestatus. But I want to control this only via www.xyz.com/status/* So that whenever user click on…
ASJ
  • 53
  • 5
0
votes
0 answers

Instant app and GDPR

I imagine that even instant apps must be compliant with the GDPR and then show the privacy policy and ask the user for explicit permission to profiling and processing data. Do I have to show the views needed to ask user consent every time the…
Nicola De Fiorenze
  • 1,958
  • 1
  • 17
  • 27
0
votes
0 answers

Instant App - Multi-Module Project - Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'

My project has multi-modules to support instant apps. After updating Android Studio and Gradle, started getting below warning. Warning:Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at…
Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126
0
votes
0 answers

Getting error respose while using retro fit and volley in Instant apps

Getting error while try to use retro fit and volley in android Instant apps I used convert my previous android app instant app previously volley working good after converting to instant app volley throws error response and I tried retro fit also…
0
votes
0 answers

Android Instant app navigation create multiple recent task. why?

Hi am working on a android project that am migrating to android instant app. So i have configured instant app modules as per procedures. now my instant app is ready it is working without installation. But 1 problem in that is every call to…
Anbarasu Chinna
  • 975
  • 9
  • 28
0
votes
0 answers

Caused by: java.lang.SecurityException: PendingIntent's target package can't be different from the request package

Hi am getting this error after Location Permission request success. after permission success am requesting location using LocationService as follows. LocationServices.GeofencingApi.addGeofences(mApiClient, mGeofenceList, mGeofenceRequestIntent); I…
Anbarasu Chinna
  • 975
  • 9
  • 28
0
votes
2 answers

Instant App module running but Apk module not working

Hi Am working on a project where i have to create both installable and instant apk. It is actually a installable app, now I migrated to instant app. After configuration both the module works fine. But now only instant module is working but not APK…
Anbarasu Chinna
  • 975
  • 9
  • 28
0
votes
1 answer

How can i access an activity from another feature module

I am creating an instant app, which include application module, base feature module, instant app module and an another feature module. Problem is i am not able to access the activities of application module from base-feature and feature module and…
anil
  • 231
  • 1
  • 9
0
votes
1 answer

Can the installed APK be over 4 MB in size?

I'm looking for some clarification on the meaning of base, instant, and installed modules. I checked out this link (https://developer.android.com/topic/google-play-instant/faqs) and found that The size of the instant app (base feature plus any…
coralreef
  • 447
  • 1
  • 5
  • 7
0
votes
0 answers

Getting error while generate the APK build and try to run it from device instant app

Instant app working FINE while run the app from android studio but, getting errors while generate the APK build and try to run it from device getting below error in xiaomi noughat device instant app crash by giving this message "There was a problem…
0
votes
0 answers

not getting image id in resource/drawable

I am working on google instant app development. In my app there are image buttons and set to default grey scaled images in each button. When user open the app, user input some numeric value. Base on that, one of button's image is replaced with color…
HanJo Jang
  • 23
  • 1
  • 4
0
votes
0 answers

(Andorid Instant)Try to get json/xml content with http(s) request

Currently, I am developing Android instant app. In the feature module, I would like to get json/xml content with http(s) call. Based on my research, I found 2 ways to do so. first val url = URL("https://json or xml url") val connection:…
HanJo Jang
  • 23
  • 1
  • 4
0
votes
2 answers

Instant app targetSdk Version

I am trying to upload my instant app with targetSdkVersion 25 and my installed app is also with targetSdkVersion 25. When I try to upload my instant app on play console, I am getting the following error, I do not see in documentation that it is…
karan vs
  • 3,044
  • 4
  • 19
  • 26