android-instant-apps

Instant app with Dynamic Features always show Disambiguation dialog with 1 option

為{幸葍}努か 提交于 2019-12-09 06:31:59
问题 I'm experimenting with Dynamic Features and Instant Apps. To navigate between various features, I use Deep Links. Each time I navigate to another Activity, I see the disambiguation dialog for less than 1 second, with 1 app listed. Notice how the options for "Once" and "Always" (in dutch) are greyed out. Sample Github Project I created a minimalistic sample, that matches my current structure on Github. Requires Android Studio 3.5 - RC2 Some Context: I'm quite confident, the deeplinks are

Link is not opened as instant app in some devices

岁酱吖の 提交于 2019-12-08 19:16:27
问题 I had published my instant app in play store. when i click the link from gmail it opens as instant app in some devices (Samsung s6 note ,moto g4 plus) In some devices its not working ,but those devices has Settings->Google->Instant Apps option. but the instant app is not working. my digital asset link is https://abdcoop.mybuzztm.com/.well-known/assetlinks.json Anyone able to suggest what i am missing? I have added my log. I/Timeline: Timeline: Activity_launch_request time:74970969 I

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

限于喜欢 提交于 2019-12-08 16:38:23
问题 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. 回答1: Note: There is a known issue running Instant Apps on the emulator image that includes the Google Play Store which will give this same error. For now, please use the emulator without Play Store. Google Play Services giving statusCode=API

Android Studio 3 difference between library module and feature module

杀马特。学长 韩版系。学妹 提交于 2019-12-08 15:52:15
问题 In Android Studio 3 there are at least two new module types. First is Instant app module and the second one is feature module . With Instant App module it's quite obvious but feature module from my perspective is the same as the library module . So what is the real difference between library and feature modules and when I should use library module and when feature module ? 回答1: I would complete Marcin Orlowski scheme like this. You could picture library module in the same way as dependencies

How are Android Instant apps started/loaded?

时间秒杀一切 提交于 2019-12-08 11:37:17
问题 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 each feature module. Now, I have my application, I have my link, I browse to it. Two questions here: 1) How does Android, my browser, DNS, whatever parses that link, know that it's not a normally browsable internet link, but that it's actually an

Using colors defined in base module from feature module fails after rebuilding the Android Instant App

萝らか妹 提交于 2019-12-08 05:20:44
问题 I have a base module and a feature module called query module in my Instant App project. My QueryActivity inside query module uses colors that are in base module. QueryActivity.kt: @ColorInt val textColor: Int = when (resultCode) { FetchAddressIntentService.RESULT_SUCCESS -> android.R.color.white FetchAddressIntentService.RESULT_FAILURE -> R.color.accent // this color is inside the base module else -> R.color.accent // this color is inside the base module } If I try to run the project, it

Uploading instant app to Google Play Console fails with generic message

雨燕双飞 提交于 2019-12-08 01:48:41
问题 I'm working on getting a refactored app up to the pre-release channel in the Google Play console. When I attempt to upload the zip file I get the error "Upload failed. We could not save your changes. Please try again." I've been working on this for many days and feel like I've run out of options to try. Has anyone else experienced this specifically related to instant apps? My app has a base_feature, main_feature, and detail_feature. I have completed the following: The build.gradle files were

What dependencies should one be putting in each module of an instant app?

穿精又带淫゛_ 提交于 2019-12-07 11:10:22
问题 I'm in the process of writing an instant app for others to learn how to write an instant app and hoping to get some ideas on how to best structure the app for dependencies. Now reading the Android developer docs on project structure and referencing the diagram below: I'm wondering with the new gradle 3.0 dependency configurations, what libraries should live in which modules? Base Feature I was thinking pretty much anything in the base feature module should be using the api gradle

Build error with Android Studio 3.0 Canary 4

纵饮孤独 提交于 2019-12-07 07:13:15
问题 I am currently in the process of developing an Instant app, for which I have restructured my monolithic app into feature modules. Everything was up and running till Android Studio canary 3, but after an update to Android Studio Canary 4 my project fails to build with the following error: A problem was found with the configuration of task ':minimoBase:dataBindingExportBuildInfoDebugAndroidTest'. > Directory '/Users/nayak.vishal/projectData/minimo_instant_app_project/putica-client-android-

Android Instant app not working in my Beta Pre Release testing through the app link

家住魔仙堡 提交于 2019-12-07 07:03:16
问题 I have my Instant App on Beta pre release but I am not able launch the Instant App through the app link. Instead it is taking me to the web browser. Any help? 回答1: I keep having the same issue myself. My solution has been to go to your Instant Apps settings and toggle Instant Apps off and back on again. You should be able to get there via Settings -> Google -> Instant Apps 回答2: Similar problem as pre-release instant app cannot be launched through dynamic link If you already tested with alpha