Commit Graph

34 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
3cca5c2be8
chore(cli): update to new buildConfig format (#9924)
* chore(cli): update to new buildConfig format

the existing usage has been deprecated and will be removed on gradle plugin v9, as Android Studio warns

* add config to our lib too
2024-05-30 16:56:11 -03:00
Jason Tsai
71a5e2ba24
fix(android): allow and escape Kotlin keywords as package identifier, closes #9743 (#9799)
* fix(android): escape kotlin only keyword in template

* fix: escape keywords in wry templates aswell

* chore: add changelog

* chore: remove unused code

* fix(android): wry template, package name should reverse

* update cargo-mobile2

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-28 07:52:48 -03:00
Lucas Fernandes Nogueira
80aa504987
chore(cli): update Android target SDK to 34 (#9870) 2024-05-25 07:46:34 -03:00
Mariotaku
fd2d7cf8b3
feat(android): aware of version info from tauri config (#9856)
* feat(android): versionName and versionCode support

* formatted code and updated schema

* fix config, cleanup generation

* update docs

* mention default version for android

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-24 10:56:21 -03:00
Jason Tsai
1df5cdeb06
refactor!: use tauri.conf.json > identifier as package name and bundle id, close #9851 (#9858)
* fix(android): use identifier as Android package name

* update android_binding and android_fn interface

* chore: rename TAURI_ANDROID_PACKAGE_PREFIX to TAURI_ANDROID_PACKAGE_NAME

* revert back to split prefix and app_name

* rename `domain` to `identifier`

* add change log

* simplify reverse config identifier

* Update .changes/mobile-use-identifier-as-id.md

* Update core/tauri-build/src/lib.rs

* lint

* cargo-mobile2 0.12

* fmt

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 09:22:41 -03:00
Jeffrey Hutchins
c7534e732d
feat(android): disable action bar in dark mode themes.xml (#7226) 2023-06-17 04:57:33 +03:00
Amr Bashir
8922be591c
feat(android): disable action bar in themes.xml (#7164) 2023-06-16 13:02:11 -03:00
Amr Bashir
5a9307d11c
feat(cli): update android template to gradle 8.0 (#6890)
* feat(cli): update android template to gradle 8.0

* update java in CI to 17

* updat to latest tauri-mobile
2023-05-12 14:06:50 +03:00
Lucas Fernandes Nogueira
73c803a561
feat(android): inject tauri.conf.json asset, add plugin config load API (#6837) 2023-05-03 08:16:05 -03:00
Lucas Fernandes Nogueira
942249060e
refactor(core): generate TauriActivity on build script (#6783) 2023-04-24 11:17:59 -03:00
Lucas Fernandes Nogueira
d693e526e8
feat(android): add onNewIntent plugin hook (#6780) 2023-04-23 19:59:46 -03:00
Amr Bashir
31444ac196
chore(deps): update wry to 0.28 (#6725)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-23 16:59:39 -03:00
Lucas Fernandes Nogueira
cdad6e0837
refactor(core): use absolute path for the tauri Android library (#6774) 2023-04-23 15:40:47 -03:00
Amr Bashir
d03e47d141
fix: only build specified rust targets for aab/apk build (#6625)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-05 15:14:14 -03:00
Lucas Nogueira
ec7d24b1ac
chore(cli): update Android template gitignore files 2023-04-04 15:46:16 -03:00
Lucas Nogueira
c88fdbca3a
chore(android): remove deprecated AndroidManifest package id setter 2023-03-17 15:24:11 -03:00
Lucas Nogueira
ed879513d3
feat(templates): fill AndroidManifest.xml manifest.package field 2023-02-20 17:21:38 -03:00
Lucas Fernandes Nogueira
bce87c1a67
feat(android): implement plugin permissions and startActivityForResult (#6272) 2023-02-14 21:36:44 -03:00
Lucas Fernandes Nogueira
947eb391ca
fix(android): crash on orientation change due to activity recreation (#6261) 2023-02-13 20:20:52 -03:00
Lucas Fernandes Nogueira
bef4ef51bc
feat(android): enable minify on release, add proguard rules (#6257) 2023-02-13 10:22:03 -03:00
Lucas Fernandes Nogueira
481d9de739
refactor(android): use tauri.settings.gradle and tauri.build.gradle.kts to define tauri plugins (#6217) 2023-02-08 12:52:53 -03:00
Lucas Fernandes Nogueira
17f26764c8
feat: initial work for Android plugins (#6167) 2023-02-06 08:56:00 -03:00
Lucas Fernandes Nogueira
c1f31ebe5e
feat(cli): generate icons for Android (#5665) 2022-11-21 17:56:22 -03:00
Lucas Fernandes Nogueira
8baf20dd34
feat(cli): update Android project dependencies (#5663) 2022-11-21 12:50:41 -03:00
Amr Bashir
10ab3e2f5e
feat(cli/mobile): allow checking gen folder into source control (#5146)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-12 16:46:09 -03:00
Lucas Nogueira
e1b8ee2b7a
refactor(cli): move generated Kotlin files to the generated folder 2022-09-04 22:06:56 -03:00
Lucas Fernandes Nogueira
80a301ea63
feat(cli): add mobile support to the app template (#5046) 2022-08-25 16:43:29 -03:00
Lucas Fernandes Nogueira
4a5f2ec1ae
feat(android): enable dev HMR in both HTTP and HTTPS dev servers (#5033) 2022-08-25 00:19:47 -03:00
Lucas Fernandes Nogueira
752ad3b203
feat(cli): use templates from wry (#5030) 2022-08-24 16:06:14 -03:00
Lucas Fernandes Nogueira
641d56dcb3
feat(android): improve initialization scripts (#5028) 2022-08-24 13:06:45 -03:00
Lucas Fernandes Nogueira
4c9ea450c3
feat(cli): add android build command (#4999) 2022-08-22 12:49:58 -03:00
Lucas Fernandes Nogueira
6f0615044d
feat(cli): add android dev and ios dev commands (#4982) 2022-08-20 16:53:07 -03:00
Lucas Nogueira
f445f374a3
feat(android): update project dependencies 2022-08-18 11:31:07 -03:00
Lucas Fernandes Nogueira
d44f67f7af
feat: add android init and ios init commands (#4942) 2022-08-15 12:43:50 -03:00