android / android/app-bundle-samples

Disambiguation dialog is shown when opening activity with URI

Open
#10 10 comments 0 reactions 0 assignees View on GitHub
migrated googlesamples
Dominant language
C++
Stars
735
Forks
348
PR merge metrics
No merged PRs in 30d

Description

The project doesn't build in Android Studio version 3.4.1. So I downgraded the gradle version to 3.4.2 (com.android.tools.build:gradle:3.4.2).

**Steps to repro**
1. Click **REQUEST INSTALL SPLIT INSTALL VIA URL** button
2. An disambiguation dialog is shown with apps of the same package name.

Even tried running the project with Android Studio v3.5 with the project gradle version 'com.android.tools.build:gradle:3.5.0-rc02' the same issue exists.

Looking forward for help. Thanks

Contributor guide

Open the contributing guide

Research direction

Start by building the app in Android Studio with the reported Gradle plugin versions, then follow the REQUEST INSTALL SPLIT INSTALL VIA URL reproduction steps. Inspect the activity launch and URI handling involved in that button flow. Done means the project builds and opening the activity no longer presents an unintended disambiguation dialog.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.