Commit Graph

141 Commits

Author SHA1 Message Date
Foti Dim 4be924cd98 Bump actions/cache to v4 2025-05-30 11:26:02 +02:00
Foti Dim e9f97d1085 Improve readme clarity 2025-05-30 11:21:06 +02:00
Foti Dim d87a129bf8 Bump checkout action to v4 2025-05-30 11:18:12 +02:00
Foti Dim fa98d2989b Switch to flutter_lints: ^6.0.0 2025-05-29 21:35:04 +02:00
Foti Dim 78d0aaea66 Reduce amount of topics 2025-05-29 09:09:20 +02:00
Jonas Greifenhain 71dfe352d4 Add pipeline for pushing to pub.dev on tag creation (#164)
* workflows: Add workflow for publishing on tag creation

* Update .github/workflows/publish.yml

---------

Co-authored-by: Foti Dim <foti@navideck.com>
2025-05-29 08:43:15 +02:00
Foti Dim 682aba5bc6 Update changelog 2025-05-29 08:39:56 +02:00
Foti Dim 2101c1ac8b Improve Android runtime permissions docs (#157) 2025-05-29 08:33:57 +02:00
Jonas Greifenhain 5124bcdfcf example: Don't disconnect on leaving the details page 2025-05-29 08:32:03 +02:00
Jonas Greifenhain e8b8e0fd71 darwin: Cache and return advertised name for system devices
iOS and MacOS don't remember the advertised name for system devices, so we do that
2025-05-29 08:32:03 +02:00
Jonas Greifenhain 7228b554f9 darwin: Get and prefer advertised name of scanned devices 2025-05-29 08:32:03 +02:00
Jonas Greifenhain 4f9ad0b9e6 Fix example app Android builds (#162)
Tested on Web, MacOS, Linux and iOS too - refreshed Podfiles and Runnners
2025-05-29 08:27:08 +02:00
Foti Dim 23e2847a19 Fix service filter warning on macOS example app 2025-05-28 10:36:07 +02:00
Rohit Sangwan af3dda0fe4 Improve example app callbacks 2025-05-27 16:48:50 +05:30
Foti Dim 744094ebc5 Update pubspec.yaml 2025-05-26 13:59:27 +02:00
Foti Dim cd4e45b4ec Add app showcase in Readme 2025-05-16 19:42:04 +02:00
Foti Dim fec3c21918 Update changelog 2025-05-08 12:54:16 +02:00
Rohit Sangwan 8069ff52d5 Implement streams to get updates (#155)
* Implement streams to get updates

* Resolve comments

* Update Readme

* Apply suggestions from code review

Co-authored-by: Foti Dim <foti@navideck.com>

* Update Changelog

* Update Readme

---------

Co-authored-by: Foti Dim <foti@navideck.com>
2025-05-08 12:52:18 +02:00
tfroidcoeur 3194b0ad49 Fix: linux: getSystemDevices (#154)
Make sure getSystemDevices connects the bluez client first.
This ensures that the list of devices is correctly populated.

Signed-off-by: Tim Froidcoeur <tim.froidcoeur@comate.be>
Co-authored-by: Tim Froidcoeur <tim.froidcoeur@comate.be>
2025-04-26 22:02:49 +02:00
Foti Dim f26951834d Improve pairing section in readme 2025-03-22 09:44:08 +01:00
Foti Dim 334bc1c680 Improve docs for isPaired 2025-03-19 22:17:06 +01:00
Foti Dim b15e4f8705 Update changelog 2025-03-19 11:28:36 +01:00
Rohit Sangwan 3ce064d20f Refactor native windows (#148)
* Error on windows scan

* Implement thread safe cache handling

* Fix start scan method

* Update windows/src/universal_ble_thread_safe.h

Co-authored-by: Foti Dim <foti@navideck.com>

* Refactor native Windows

* Fix guid parsing

* Fix FlutterError on Windows

* Fix Merge Conflicts

* Fix char subscription and store in characteristic struct instead of global map

---------

Co-authored-by: Foti Dim <fdimanidis@gmail.com>
Co-authored-by: Foti Dim <foti@navideck.com>
2025-03-19 11:23:22 +01:00
Foti Dim 0b51a5bbbd Fix error on Windows scan (#146)
* Error on windows scan

* Implement thread safe cache handling

* Fix start scan method

* Update windows/src/universal_ble_thread_safe.h

Co-authored-by: Foti Dim <foti@navideck.com>

---------

Co-authored-by: Rohit Sangwan <rohitsangwan647@gmail.com>
2025-03-18 15:41:28 +05:30
Foti Dim a9f396bb4a Improve Android permission documentation (#147)
* Improve Android permission documentation

* Add snap instruction

* Improve Android permissions guide
2025-03-18 07:49:02 +01:00
Rohit Sangwan f0c38f7273 Fix Windows crash on start or stop scan (#143)
* Fix Windows crash on start or stop scan

* Fix crash on stop scan and cleanup

* Update Changelog

* Cleanups
2025-02-25 13:43:51 +01:00
Rohit Sangwan bc19a653dd Fix: Unable to establish connection on channel when hot restart (#142)
* Fix: Unable to establish connection on channel when hot restart

* Update Changelog
2025-02-21 19:27:54 +05:30
Rohit Sangwan 6cc43ccc86 Fix crash on Windows when calling pair APIs with an unknown deviceId (#141)
* Fix crash on Windows when call few apis with an unknown deviceId

* Update Changelog

* Bump Version
2025-02-20 12:28:33 +01:00
Foti Dim 12a5d9d061 Bump version to 0.16 2025-02-17 08:22:15 +01:00
Foti Dim 3170b4b77b Improve requestMTU() docs (#140)
* Improve requestMTU() docs

* Update Linux info
2025-02-17 08:20:43 +01:00
Foti Dim 2c0d36b9d1 Improve ManufacturerDataFilter (#139)
* Improve-ManufacturerDataFilter-docs

* Improve ManufacturerDataFilter namings and code

* Perform more renamings
Add tests
2025-02-17 06:42:28 +01:00
Foti Dim 15256283e3 Do not normalize UUIDs on native side (#138) 2025-02-16 12:03:02 +01:00
Foti Dim 601351889d Reverse _permissionStatus return values in example app 2025-02-15 16:29:47 +01:00
Foti Dim 6443915fc3 Improve readme
Update changelog
2025-02-12 10:18:57 +01:00
Marcel Graber 8e9ddc839d Update bluez.dart to 0.8.3 (#134) 2025-02-11 22:04:44 +01:00
Rohit Sangwan b1b6b680c1 Improve callbacks error handling (#130)
* Improve callbacks error handling

* Update Changelog

* Update CHANGELOG.md

---------

Co-authored-by: Foti Dim <foti@navideck.com>
2025-01-15 17:23:25 +01:00
Rohit Sangwan 17f834edef Improve example app for system connected devices (#123)
* Improve example app for system connected devices

* Add print when no filter is set for system devices

---------

Co-authored-by: Foti Dim <fdimanidis@gmail.com>
2025-01-07 09:55:32 +01:00
Rohit Sangwan 07498db173 Improve Android bluetoothGatt management (#124)
* Improve Android bluetoothGatt management

* Update Changelog

* Apply suggestions from code review

Co-authored-by: Foti Dim <foti@navideck.com>

---------

Co-authored-by: Foti Dim <foti@navideck.com>
2025-01-03 16:59:00 +05:30
Rohit Sangwan 8b1a21939b Use retrievePeripherals on Mac to communicate with device without scan (#122) 2025-01-02 17:32:08 +05:30
Rohit Sangwan f3411280e9 Enhance getSystemDevice API on macOS with Broader Default Services Fi… (#121)
* Enhance getSystemDevice API on macOS with Broader Default Services Filter

* Update docs

* Update darwin/Classes/UniversalBlePlugin.swift

Co-authored-by: Foti Dim <foti@navideck.com>

* Reorder fields

* Use ScanFilter ui for getting system devices

---------

Co-authored-by: Foti Dim <fdimanidis@gmail.com>
Co-authored-by: Foti Dim <foti@navideck.com>
2025-01-02 15:58:51 +05:30
Foti Dim dd75894244 Only show ScanFilter warning on web 2024-12-18 10:33:31 +01:00
Rohit Sangwan d5172c3d41 Update Changelog 2024-12-09 18:01:24 +02:00
Rohit Sangwan 1292199426 Add API to disable Bluetooth (#113)
* Add api to disable Bluetooth

* Implement Android support

* Fix apple build

* Update Readme

* Combine rows

---------

Co-authored-by: Foti Dim <fdimanidis@gmail.com>
2024-12-09 21:18:01 +05:30
Rohit Sangwan 7187768bd0 Rename hasCustomFilter to usesCustomFilters (#115) 2024-12-09 16:44:48 +01:00
Rohit Sangwan 437eca70af Fix Windows filter with services (#111)
* Fix Windows filter with services

* Fix comment typos

---------

Co-authored-by: Foti Dim <fdimanidis@gmail.com>
2024-12-09 16:32:42 +01:00
Rohit Sangwan bbf9703303 Fix Windows Bluetooth availability state in Release build (#112)
* Fix Windows Bluetooth availability state in Release build

* Make initialized private

---------

Co-authored-by: Foti Dim <fdimanidis@gmail.com>
2024-12-09 16:08:12 +01:00
Rohit Sangwan 5be22ac0e6 Remove "Characteristic already notifying" error (#110) 2024-12-09 18:48:18 +05:30
Rohit Sangwan 9acb13f106 Fix Android cleanup on gatt disconnect (#109) 2024-12-05 11:26:46 +01:00
Foti Dim 8524b94f19 Change permission description on Apple 2024-12-05 10:42:23 +01:00
Rohit Sangwan c08606cb6d Update Changelog 2024-12-05 13:34:30 +05:30