-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(android): allow and escape Kotlin keyword as package identifier (#…
…328) * fix(android): allows and escape kotlin only keyword as identifier * fix: add android_identifier_escape_kotlin_keyword method * chore: add changelog * mod must be public to be used in tauri * Fix build errors for iOS (#272) * refactor!: use config.domain as package name and bundle id (#330) * fix(android): use tauri.config.json > identifier as package name * chore: add changelog * rename `domain` to `identifier` * rename domain mod * lint --------- Co-authored-by: Lucas Nogueira <[email protected]> * fix(deps): update rust crate textwrap to v0.16.1 (#329) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate os_pipe to v1.1.5 (#325) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate libc to v0.2.155 (#324) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate ignore to v0.4.22 (#323) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate deunicode to v1.6.0 (#321) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate core-foundation to v0.9.4 (#320) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate serde to v1.0.202 (#311) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate embed-resource to v2.4.2 (#317) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate serde_json to v1.0.117 (#318) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update rust crate thiserror to v1.0.61 (#319) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate duct to v0.13.7 (#322) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate toml to v0.8.13 (#332) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * fix(deps): update rust crate ureq to v2.9.7 (#333) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * publish new versions (#301) Co-authored-by: lucasfernog <[email protected]> * fix: add `true` `false` `null` to java keywords * fix: wry template package name should reverse --------- Co-authored-by: Lucas Nogueira <[email protected]> Co-authored-by: Hampus Lidin <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: lucasfernog <[email protected]>
- Loading branch information
1 parent
0f72cad
commit 7d260ba
Showing
7 changed files
with
61 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"cargo-mobile2": "patch" | ||
--- | ||
|
||
On Android, allows using Kotlin keywords as identifiers and escape them in templates. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../{{dot-to-slash (reverse-domain app.domain)}}/{{snake-case app.name}}/MainActivity.kt.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package {{reverse-domain app.identifier}} | ||
package {{escape-kotlin-keyword (reverse-domain app.identifier)}} | ||
|
||
class MainActivity : WryActivity() |