- Fix lints.
- Min SDK bump 16 -> 19
- Updated nearby connections (
play-services-nearby:18.7.0
->play-services-nearby:19.2.0
) - Update gradle version 4.1.2 -> 7.4.2
- Updated nearby connections (
play-services-nearby:18.4.0
->play-services-nearby:18.7.0
)
- Breaking change: removes all permission/location convenience methods.
- Please use permission_handler and location packages instead, checkout example/main.dart for details.
- Deprecate all permission check/request convenience methods & update example to use package permission_handler instead.
- Update dependencies (nearby and play services) in build.gradle.
- Update for Android 12 support. Apps may need to set
compileSdkVersion 32
in build.gradle. - Added convinience methods
checkBluetoothPermission
andaskBluetoothPermission
required for Android 12+ devices.
- Expose
uri
for file payloads and deprecatedfilepath
. - Added convinience method
copyFileAndDeleteOriginal
for moving file usinguri
.
- Fix issues when running with sound null safety.
- Bump version to 3.0.0 (dart sdk
>=2.12.0 <3.0.0
).
- Fix typo in PayloadStatus enum (
IN_PROGRRESS -> IN_PROGRESS
).
- Migrated to Null Safety.
- Fix missingPluginException.
- Fix missing default constructor bug in android.
askLocationPermission
&enableLocationService
return type changed to Future- Fix typose, uUpdated example and readme
- Corrected supported platforms in pubpsec
- Updated Android Nearby version from 16.0.0 to 17.0.0
- Updated Example
- Location/GPS service must be turned on or devices may disconnect
more often, some devices may disconnect immediately. 2 convenience methods are added
enableLocationServices
andcheckLocationEnabled
- Added serviceId parameter in startAdvertising and startDiscovery
- Added new method askLocationAndExternalStoragePermission()
- Readme Fixes
- Updated dartdoc and Readme
- Added payload cancellation and other assertions
- Changed convenience methods for asking permissions(location+storage)
- Updated example
- Added support for Files (sendFilePayload)
- Breaking Change (sendPayload method signature is changed)
- Updated Example and Readme for file transfer
- Update documentation and Readme
- Fixed sendPayload future not completing bug
- Added pub maintenance suggestions
- Added dartdoc comments
- Currently only bytes (max 32k array size) payload are supported
- Analogous to NearbyConnection library in Android with similar callback names and all
- Singleton pattern using factory constructor