* chore(geolocation): update gradle
* feat(geolocation): add support for android devices without GMS
* fix(geolocation): watchPosition does not resolve on android
* feat(example): add watch support for geolocation
* chore: add changeset
* Update .changes/geolocation-non-gms.md
Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>
* fix(geolocation): only use Android Location API on API Level >= 31
* fix resolve
* fix(geolocation): use LocationManagerCompat for non-GMS devices
- support API 24+ instead of only API 31+
- pick the best enabled provider (fused, gps, network) instead of GPS only
- honor enableHighAccuracy in getCurrentPosition
- clear the previous listener before starting a new watch
- report an error when the provider is disabled during a watch
- share the provider/priority logic between both code paths
- drop the geolocation-js bump, no JS changes
* fix(examples): clear existing geolocation watch before starting a new one
* chore(geolocation): add change file for watchPosition resolve fix
* fix(geolocation): honor enableHighAccuracy in getCurrentPosition on Android 12+ without GMS
* fix(geolocation): fall back to the next provider when one returns no fix on Android without GMS
* fix(geolocation): honor timeout in getCurrentPosition on Android
* fix(geolocation): keep multiple watchPosition watches active on Android
* chore(geolocation): bump geolocation-js alongside geolocation in change files
* refactor(geolocation): report provider errors from the callers of androidProviders
* e2e tests
---------
Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
* 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
* init geolocation plugin
* ios impl (w/o js api)
* generate ts api
* use newer tauri commit
* add temporary postinstall
* include src in files
* guest-js
* just ship dist-js for now
* fix watcher
* fix android compile error
* fix android build for real
* fix heading type
* initial getCurrentPosition android impl (wip)
* prevent panics if errors (strings) are sent over the channel
* Add android watchPosition implementation
* init haptics plugin (android)
* ios and new apis (ANDROID IS LIKELY BROKEN - MAY NOT EVEN COMPILE)
* use tauri-specta that accounts for raw fn arg idents
* add complete android support (it's not working great due to random soft-/hardware support)
* fix(haptics): Fix the NotificationFeedbackType::Success and Version (#1)
* Fix success feedback and version
* Apply suggestions from code review
* Update package.json
---------
Co-authored-by: Fabian-Lars <118197967+FabianLars-crabnebula@users.noreply.github.com>
* android: improve permission callback handling
* keep track of ongoing perms requests
* rebuild
* license headers
* rm sqlite feat
* fmt
* what diff u talkin bout?
* ignore dist-js again
* fix audits
* dedupe api.js
* clippy
* changefiles
* readmes
* clean up todos
* rm dsstore
* rm wrong feats
* mirror
* covector
* rebuild
* ios requires the wry feature
* lint
* update lock
---------
Co-authored-by: fabianlars <fabianlars@fabianlars.de>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: Naman Garg <155433377+naman-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>