android-instant-apps

How to expose component from installed app to be visible to instant app?

帅比萌擦擦* 提交于 2019-12-30 06:04:14
问题 From the developer document of Instant Apps Installed apps can make themselves available to interact with instant through explicit intents. And later, it is mentioned that instant apps cannot Discover the list of installed apps on the device, unless the installed apps have made themselves discoverable to instant apps . But I can't find the details about how to expose the component of an installed app or any part of an app, for that matter, to be visible (and accessible) by instant app. And

How to expose component from installed app to be visible to instant app?

时间秒杀一切 提交于 2019-12-30 06:04:07
问题 From the developer document of Instant Apps Installed apps can make themselves available to interact with instant through explicit intents. And later, it is mentioned that instant apps cannot Discover the list of installed apps on the device, unless the installed apps have made themselves discoverable to instant apps . But I can't find the details about how to expose the component of an installed app or any part of an app, for that matter, to be visible (and accessible) by instant app. And

Apk Upload failed:Your Instant App APKs do not declare a valid 'android:targetSandboxVersion' attribute in their AndroidManifest

99封情书 提交于 2019-12-25 16:07:32
问题 I'm trying to upload a version of the instant app sample code to the market with no success. I keep getting the following error: Your Instant App APKs do not declare a valid 'android:targetSandboxVersion' attribute in their AndroidManifest Thanks, 回答1: What 'vyndor' says is correct. The AndroidManifest.xml file that needs to include it is the one for the "base" feature. If you use Android Studio 3.0 Canary 4, the android:targetSandboxVersion attribute should be set for you automatically. 回答2:

Google Places AutoComplete API gives API_NOT_CONNECTED error in Instant Apps configuration

雨燕双飞 提交于 2019-12-25 12:43:50
问题 I am trying to add Google Places AutoComplete API to my Android Instant Apps project. I followed this sample to implement the API. My PlacesAdapter class: package net.epictimes.uvindex.autocomplete import android.content.Context import android.graphics.Typeface import android.text.style.StyleSpan import android.view.View import android.view.ViewGroup import android.widget.ArrayAdapter import android.widget.Filter import android.widget.Filterable import android.widget.TextView import com

manifest merging error, throws exception

别说谁变了你拦得住时间么 提交于 2019-12-24 20:00:26
问题 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 and app module . Please help me to resolve this issue. ManifestFileOFBaseModule: `<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package=

opening an Instant App by a Firebase Dynamic Link with custom parameters (App Links)

倖福魔咒の 提交于 2019-12-24 19:07:01
问题 I'm searching for a way to open an Android Instant app in a mobile browser. The app supports app links (deep linking in http/https). My Android app is working as an instant app and can be opened by an app link in different apps that are not browsers (Gmail, Whatsapp, etc.). I have concluded that the only way to be able to have an instant experience in browser apps is by using Firebase Dynamic Links. The only way it works is by using short Firebase Dynamic Links (without app parameters in the

Is it possible to use published instant apps(BuzzFeed, Wish, etc) on the emulator?

孤人 提交于 2019-12-24 02:17:39
问题 I've run a hello world instant app on an emulator following this Google's tutorial. Everything worked well, I got the dialog asking for permission to enable instant apps and clicked 'I'm in'. After that, I could also see that instant apps were enabled in Settings > Google > Instant Apps. But when I open my browser, run a search and click on links from websites that already have published instant apps, such as BuzzFeed, NY Times Crossword and Wish, they just open the regular web page. I found

Instant app Internal test behavior

和自甴很熟 提交于 2019-12-23 15:09:43
问题 I uploaded an instant app on internal test track and created a tester list with 3 testers. I send the opt-in URL to all testers and they accepted the inviation to be a tester. I uploaded assetlinks.json to my website (www.example.com) and added applinks to my instant app. Will the testers be able to see TRY NOW in play store for my instant app ? Can they access instant app through the URL www.example.com/test Also this is quoted in android developer site "To test your instant app's deployment

Google Play Console: Package name of your Instant App APKs should be the same as your app's package name

泄露秘密 提交于 2019-12-22 18:07:11
问题 I'm trying to upload into develop my Instant App with Google Play Console, but it returns an error: Package name of your Instant App APKs should be the same as your app's package name. I have a feature call base , the apk and the instantApp feature too, everyone has its own gradle file and the apk and the instantApp implements the base feature: dependencies { implementation project(':base') } I try to publish the .apk building by Build/Generate signed APK... with the same key of the

Instant Apps: “You should have at least one active APK that is mapped to site 'sample.com' via a web 'intent-filter' ” when pushing to production

故事扮演 提交于 2019-12-21 23:52:52
问题 I'm getting the error message when releasing instant-app to production. I've read this post here: You should have at least one active APK that is mapped to site 'sample.com' via a web 'intent-filter' and this is a bit more specific. The answer in the above link states: Upload installable APK in alpha, beta or production with same HOST web 'intent-filter'. I uploaded an installable apk w/ the intent-filter to alpha and that the error message went away when releasing my instant-app to pre