Skip to content

fix: [deep-link] ChromeOS deep link calls filtered and ignored by plugin (fix #3207)#3214

Open
joshIsCoding wants to merge 6 commits intotauri-apps:v2from
joshIsCoding:v2
Open

fix: [deep-link] ChromeOS deep link calls filtered and ignored by plugin (fix #3207)#3214
joshIsCoding wants to merge 6 commits intotauri-apps:v2from
joshIsCoding:v2

Conversation

@joshIsCoding
Copy link

@joshIsCoding joshIsCoding commented Jan 15, 2026

ChromeOS with ARC uses a different intent view action which is presently excluded by the tauri deep-link plugin. This PR explicitly checks for and includes this variation. I've verified the behaviour resolves deep-link functionality in an Android application of my own deployed to a Chromebook via the Playstore.

Intended to resolve #3207

@joshIsCoding joshIsCoding requested a review from a team as a code owner January 15, 2026 14:36
@joshIsCoding
Copy link
Author

joshIsCoding commented Jan 15, 2026

Just noticed my commit signing didn't work; will try again

Resolved.

Comment on lines +28 to +29
<!-- ChromeOS ARC++ uses a different action for deep links -->
<action android:name="org.chromium.arc.intent.action.VIEW" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this really needed? facebook/react-native#20301 sounds like it isn't for some reason. afaik multiple actions in a single intent-filter is fine but just to be sure.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this was warranted to avoid essentially the same issue, though it potentially depends on how dependent apps apply the intent filters


companion object {
var instance: DeepLinkPlugin? = null
private const val CHROMEOS_ACTION_VIEW = "org.chromium.arc.intent.action.VIEW"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i try to avoid using the companion object (dunno why but i always read opinions to avoid it 🤷 )

can the const not be moved outside of the class declaration? If not i wouldn't mind hardcoding it in isViewIntent directly since it's only used there anyway.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure will move it 👍

@FabianLars
Copy link
Member

thanks for the PR! we'll also need a small changefiles (check the .changes folder) :)

@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2026

Package Changes Through 6585450

There are 12 changes which include sql with minor, sql-js with minor, deep-link with patch, fs with minor, fs-js with minor, http with patch, http-js with patch, updater with patch, updater-js with patch, dialog with minor, dialog-js with minor, deep-link-js with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.41 2.0.42
api-example-js 2.0.37 2.0.38
deep-link-example-js 2.2.10 2.2.11
deep-link 2.4.7 2.4.8
deep-link-js 2.4.7 2.4.8
fs 2.4.5 2.5.0
fs-js 2.4.5 2.5.0
dialog 2.6.0 2.7.0
dialog-js 2.6.0 2.7.0
http 2.5.7 2.5.8
http-js 2.5.7 2.5.8
persisted-scope 2.3.5 2.3.6
single-instance 2.4.0 2.4.1
sql 2.3.2 2.4.0
sql-js 2.3.2 2.4.0
updater 2.10.0 2.10.1
updater-js 2.10.0 2.10.1

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@joshIsCoding
Copy link
Author

@FabianLars please forgive the extended delay to my engagement with your feedback - work priorities took over, and we made do with my local fork to unblock our deep-link development.

All requested changes are now present; please let me know if you have any further requirements

@joshIsCoding joshIsCoding requested a review from FabianLars March 6, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug][deep-link] ChromeOS deep links never processed by plugin

2 participants