android-instant-apps

Unable to run instant app from android studio

[亡魂溺海] 提交于 2019-12-13 19:26:16
问题 I am unable to run my app in instant app mode, while if i run application module it works fine. But as i select instant app module it runs but white screen appears. Created project by using built in instant app support of android studio Following this video : https://www.youtube.com/watch?v=9Jg1D07NgeI&t=569s and several blogs , code lab instruction and other tutorials on youtube feature module is empty app module don't contain any activity only base module contains single activity app :

Upload failed You should use both http and https as schemes for your web intent-filters

妖精的绣舞 提交于 2019-12-13 15:11:11
问题 Upload failed You should use both http and https as schemes for your web intent-filters. I am getting this error while uploading the instant app to Play Store. I have declared intent filters for both http and https in Manifest as below. <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="http" android:host="XXXX" /> </intent-filter>

How to test instant app with multiple features

房东的猫 提交于 2019-12-13 08:41:35
问题 I made an instant app with multiple feature using Android Studio 3.0 Canary 1. I am running application on Nexus 5X emulator, which is executing only one feature on running application from Android Studio IDE. Do you have an idea how can we test these multiple features ? What understanding I have once application is live on play store then when you tap a link, Google play will find application which can open the link on basis of app linking. I have different url for two features, as my url's

Text to Speech crash on Instant Apps

笑着哭i 提交于 2019-12-12 11:06:04
问题 I'm in the process of implementing an instant app that makes use of the Text to Speech functionality available on Android devices. I have managed to get a TextToSpeech instance initialized and working correctly for non-instant apps by following the instructions detailed in the Android dev blog post An introduction to Text-To-Speech in Android I have refactored my app to be an instant app and have confirmed that the Text to Speech functionality is working in the non-instant app. However when

Is it possible to discover and run third-party Android Instant Apps on an emulated device?

旧街凉风 提交于 2019-12-12 07:30:42
问题 I'm currently trying to learn about Android instant apps. Since I don't own any real devices that support them, I'm using the emulator (from Android Studio 3.0 Canary 9). I can successfully run "toy" instant apps (like this) on my emulated Nexus 5x (with Play Store), so I believe that my development environment is configured correctly. However, I was curious to learn about the discovery process for third-party apps, and find out what the user experience is like. Lacking a suitable device of

How can I restore data from instant app to installed app?

牧云@^-^@ 提交于 2019-12-12 04:15:52
问题 Keep user state after app installation https://developer.android.com/topic/instant-apps/ux-best-practices.html#keep_user_state_after_app_installation I want to use the data stored in instant app, after installation full app. Does anyone know it? 回答1: UPDATE They’ve again updated the Instant Apps FAQ on how to do this. For devices running Android 8.0 (API level 26) or higher, the instant app's data is transferred automatically when the APK installation begins, if the installed app is

Your site 'www.xxxxx.com' has not been linked through the Digital Assets Link protocol to your app

痴心易碎 提交于 2019-12-11 15:08:55
问题 I have try many times for upload an instant app, but always get this error at google play console. Your site 'www.builtbee.com' has not been linked through the Digital Assets Link protocol to your app. Please link your site through the Digital Assets Link protocol to your app. Here is my manifest.... <?xml version="1.0" encoding="utf-8"?> <uses-permission android:name="android.permission.VIBRATE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission

Record Espresso Test For Two InstantApp Modules

大兔子大兔子 提交于 2019-12-11 11:50:52
问题 PROBLEM: An instantapp activity from one module ( base ) calls activity from another module ( my_feature ). Both should be tested using ' Record Espresso Test ' in Android Studio. RESEARCH: Espresso-generated code for non-instant application has R.id.component references on both activities. In an instant-app generated code only references from the first module are in the scope. So you can't access components from an activity of another module. QUESTION: How to test inter-module actions in

Instant App Fails when verifying

ε祈祈猫儿з 提交于 2019-12-11 11:41:43
问题 whenever I click the link and verify button in complete the association part, it gives : Adding asset statements failed Failed to link strings to AndroidManifest file Failed to add autoVerify to intent-filter elements Success!... Why these 3 of them failed? And is it an obstacle for uploading apk to play store? Thanks 来源: https://stackoverflow.com/questions/44546911/instant-app-fails-when-verifying

Instant Apps not working on any Pixel XL devices

馋奶兔 提交于 2019-12-11 10:57:53
问题 I've built and published an instant app for my company but it doesn't work on my own Pixel XL, my wife's Pixel XL, my manager's Pixel XL, or his girlfriend's Pixel XL. We see the instant app "speed bump" window (its just blank with spinner) popup very very briefly for under half a second then it offloads to the website. All of our phones properly identify buzzfeed tasty as an instant app in Google search but the behavior is the same. We have tried a number of different known instant apps and