Skip to content

fix(android): escape special characters in strings.xml - #15549

Merged
Legend-Master merged 2 commits into
tauri-apps:devfrom
Legend-Master:android-escape-product-name
Jun 16, 2026
Merged

fix(android): escape special characters in strings.xml#15549
Legend-Master merged 2 commits into
tauri-apps:devfrom
Legend-Master:android-escape-product-name

Conversation

@Legend-Master

@Legend-Master Legend-Master commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Fixes #14634
Closes #14640
Closes #14920

Android string resource XMLs have some pretty weird escape rules, it requires you to put "" around standard escaped XML strings or it fails to compile. (even though this is not mentioned in the docs)

https://developer.android.com/guide/topics/resources/string-resource#escaping_quotes

@Legend-Master
Legend-Master requested a review from a team as a code owner June 16, 2026 05:30
@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through 7e639d4

There are 7 changes which include tauri-utils with patch, tauri-cli with patch, @tauri-apps/cli with patch, tauri-runtime-wry with patch, tauri with patch, @tauri-apps/api with patch, tauri-bundler 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
@tauri-apps/api 2.11.0 2.11.1
tauri-utils 2.9.2 2.9.3
tauri-bundler 2.9.2 2.9.3
tauri-runtime 2.11.2 2.11.3
tauri-runtime-wry 2.11.2 2.11.3
tauri-codegen 2.6.2 2.6.3
tauri-macros 2.6.2 2.6.3
tauri-plugin 2.6.2 2.6.3
tauri-build 2.6.2 2.6.3
tauri 2.11.2 2.11.3
@tauri-apps/cli 2.11.2 2.11.3
tauri-cli 2.11.2 2.11.3

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


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

@Legend-Master
Legend-Master merged commit 50b0237 into tauri-apps:dev Jun 16, 2026
16 checks passed
@Legend-Master
Legend-Master deleted the android-escape-product-name branch June 16, 2026 09:16
Proksima pushed a commit to Proksima/tauri that referenced this pull request Aug 5, 2026
…15549)

* fix(android): escape special characters in `strings.xml`

* Quote the values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Android gen doesn't escape single quote character

2 participants