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

slow webview with android instant apps

I have an instant game that uses WebView. If I build apk and run it as a normal Android application, the rendering on the view works very quickly on all versions of Android. I upload this game to Google Play as an Instant App, and try to launch it…
0
votes
0 answers

App module not installing, when android instant app is build

I have created an android instant app, and it was able to run on the device successfully, the src folders are generated in feature module, when I try to build and install app module, it is showing mainactivity not found, as src files are in feature…
0
votes
1 answer

Multiplayer app design using instant apps

I have an app where users can send other users multiple choice questions. I want to know if the following is reasonable and what steps should i follow: User A has downloaded the installable app and created a question for B. App will produce a…
jdoe
  • 59
  • 10
0
votes
0 answers

Instant app with multivariant base module

I've started to implement instant app feature in my application. I managed to transition to base module and properly build an installable app. The base module has 3 build types: buildTypes { release {...} acceptance {...} debug…
Adam Styrc
  • 1,517
  • 2
  • 23
  • 38
0
votes
1 answer

Is it possible to use OpenGL ES 3.0 for Android Instant Apps?

I'm trying to use OpenGL ES 3.0 for Android Instant Apps, but GL_VERSION returns OpenGL ES 2.0 Instant Apps, which means it only supports OpenGL ES 2.0 (and 2.0 Ext). Is there any way to use OpenGL ES 3.0? I've tried
0
votes
1 answer

Get users colour preference

I check if the user has a light/dark/warm/cold dominant wallpaper colour. And use this to give the user a nice personalized experience. However I'm converting my app to a instant app and i cannot retrieve the wallpaper anymore (due to missing…
0
votes
1 answer

How can I access generated value from child module to parent module?

I'm in the process of converting my android app to an instant app, following this tutorial. For now, I have split my app module to two: base module which contains the code installed module, used for the non-instant-app version of the app Before…
Minas Mina
  • 2,058
  • 3
  • 21
  • 35
0
votes
1 answer

how to link website with digital asset link protocol for Instant app?

I am stuck from last one week, i am not able to upload instant app apk. I am getitng "Your site 'sptechinfo.000webhostapp.com' has not been linked through the Digital Assets Link protocol to your app. Please link your site through the Digital Assets…
SRP
  • 3
  • 4
0
votes
1 answer

Instant App SecurityException APPLICATION_DETAILS_SETTINGS

I got this error when I try to launch the details screen. IActivityManagerProxy : Instant app: com.foo.bar crashed: java.lang.SecurityException: Not allowed to start activity Intent { act=android.settings.APPLICATION_DETAILS_SETTINGS…
0
votes
0 answers

Android architecture components with modules

I have an app with a few modules. In my base module I am using implementation "android.arch.lifecycle:extensions:$lifecycle_version" and the app runs with no problem but when I switch to api…
Rgfvfk Iff
  • 1,549
  • 2
  • 23
  • 47
0
votes
3 answers

Android build instant app from terminal

I have a an app that has 2 modules base and restaurant. I have a module output that is used for normal app release and another one for instant app. When I run the build using android studio it is working fine but when I run ./gradlew…
Rgfvfk Iff
  • 1,549
  • 2
  • 23
  • 47
0
votes
0 answers

How are Android Instant apps started/loaded?

I am trying to understand at a little bit lower level how Android Instant Applications work, as well as analyse a bit the security aspect. I know you create an app, it has its modules and activities, and you need to specify an URL entry-point for…
0
votes
1 answer

Where are Android Instant Apps permissions checked within the framework?

Other questions on this topic have been asked here: Classes for Permission Checks Android how are android security permissions checked at run-time? How does Android enforce permissions? But none of them answer what I am trying to figure out. I want…
0
votes
0 answers

Is it possible to SSL Proxy an Android Instant App?

Is it possible to SSL Proxy network traffic from an Instant App? I am trying to SSL proxy the Instant App for an application I am developing, but I am unable to SSL Proxy the traffic from the Instant App even when using a device that is less than…
Mark Han
  • 2,785
  • 2
  • 16
  • 31
0
votes
1 answer

How to implement Multi Dex in Instant Apps?

I am making an instant app. I have the base feature and the installed module. The two gradle files can't have a defaultConfig{}, so that is why I have set multiDex true only in the installed build.gradle file. Running the instant app though throws a…