0xbizk and Lucas Nogueira
d80b1be257
feat: add torch plugin for iOS and Android ( #3551 )
...
* feat(barcode-scanner): add torch toggle
* feat: torch plugin
* fix
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2026-10-13 05:37:04 -03:00
Shreyash Gupta
b3e52ce036
fix(barcode-scanner): settle the pending scan() promise on cancel ( fix #3560 ) ( #3571 )
...
On Android, cancel() called destroy() first, and destroy() sets
savedInvoke to null, so the savedInvoke?.reject("cancelled") that
follows was a no-op. The pending scan() promise was never settled and
callers awaiting it were stranded, which is especially bad in windowed
mode where the page background stays transparent.
Reject the pending invoke before tearing the camera down, matching the
order the iOS implementation already uses.
2026-10-12 10:32:41 -03:00
Lucas Nogueira
9b29b601f3
feat: update to tauri 2.12
...
- (MSRV bump
- Android compiler options update
- notification plugin windows7 feature deprecation
2026-09-26 14:46:48 -03:00
Tony
db9c5998fe
fix(android): missing consumer-rules.pro ( #3531 )
...
* fix(android): missing `consumer-rules.pro`
* setup android test
* copy right too new
* build api first
* we're still on gradle 8 right now...
* restore the right host on mac
2026-08-13 17:44:29 +08:00
Niccolò Gnani
d8bfe61f20
fix(barcode-scanner): remove unnecessary permission checks on Android ( fix #2312 ) ( #3121 )
2025-11-24 14:27:46 +01:00
Daniel Mader
654bf4891a
feat(barcode-scanner): update androidx.camera from 1.1.0 to 1.5.1 to support 16 KB memory page sizes ( #3038 )
2025-10-20 17:11:17 +02:00
Fabian-Lars
6c9b61fb65
chore: Update compileSdk to 36 ( #3039 )
2025-10-20 16:58:29 +02:00
Olivier Lemasle and Lucas Nogueira
713c54ef83
chore(barcode): remove unused Android dependencies ( #1749 )
...
* chore(barcode): remove unused Android dependencies
Plugin barcode-scanner has two unused Android dependencies:
- com.google.zxing:core
- com.journeyapps:zxing-android-embedded
However, these dependency's AndroidManifest.xml were merged, and contained
required parameters (to get camera's permissions).
See the merged manifests:
- https://github.com/zxing/zxing/blob/zxing-3.3.0/android/AndroidManifest.xml
- https://github.com/journeyapps/zxing-android-embedded/blob/v4.3.0/zxing-android-embedded/AndroidManifest.xml
This commit removes the unused dependencies (and unused Java imports)
and updates the Android manifest.
* chore: remove comments
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-09-10 08:01:29 -03:00
AHQ
6b079cfdd1
refactor(android): Remove targetSdk = 34 from every gradle build files ( #1649 )
...
* remove targetSdk
* changelog
* fix md file
* Add the -js ones as well
* remove -js ones
2024-08-12 07:11:04 -03:00
Lucas Nogueira
acd383af75
fix(android): adjust for Kotlin and project warnings
2024-05-30 14:52:47 -03:00
Lucas Fernandes Nogueira
7581576a24
chore: update Android target SDK to 34 ( #1368 )
2024-05-25 07:47:19 -03:00
Lucas Fernandes Nogueira and Amr Bashir
e438e0a62d
feat: update to alpha.17, typed mobile plugin IPC arguments ( #676 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-10-29 16:06:44 -03:00
Lucas Fernandes Nogueira
454428cd50
feat: add barcode scanner plugin ( #536 )
2023-09-14 09:34:04 -03:00