Skip to content

Commit

Permalink
feat: update wry template to use the new env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Dec 30, 2022
1 parent 61cc3c9 commit 0113d1f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changes/wry-env-var.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-mobile": "patch"
---

Update `wry` template to use the new `wry` env vars.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions templates/apps/wry/Cargo.toml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ app-permissions = [ "android.permission.INTERNET" ]
app-theme-parent = "Theme.MaterialComponents.DayNight.DarkActionBar"

[package.metadata.cargo-android.env-vars]
WRY_ANDROID_REVERSED_DOMAIN = "{{reverse-domain app.domain}}"
WRY_ANDROID_APP_NAME_SNAKE_CASE = "{{snake-case app.name}}"
WRY_ANDROID_PACKAGE = "{{reverse-domain app.domain}}"
WRY_ANDROID_LIBRARY = "{{snake-case app.name}}"
WRY_ANDROID_KOTLIN_FILES_OUT_DIR = "<android-project-dir>/app/src/main/kotlin/{{dot-to-slash (reverse-domain app.domain)}}"

[package.metadata.cargo-apple.ios]
Expand Down

0 comments on commit 0113d1f

Please sign in to comment.