nearby_connections 4.1.1 copy "nearby_connections: ^4.1.1" to clipboard
nearby_connections: ^4.1.1 copied to clipboard

PlatformAndroid

Plugin for the android NearbyConnections API. Bytes and Files Supported.

4.1.1 #

  • Fix lints.

4.1.0 #

  • 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

4.0.1 #

  • Updated nearby connections (play-services-nearby:18.4.0 -> play-services-nearby:18.7.0)

4.0.0 #

  • Breaking change: removes all permission/location convenience methods.
  • Please use permission_handler and location packages instead, checkout example/main.dart for details.

3.3.1 #

  • Deprecate all permission check/request convenience methods & update example to use package permission_handler instead.

3.3.0 #

  • Update dependencies (nearby and play services) in build.gradle.

3.2.0 #

  • Update for Android 12 support. Apps may need to set compileSdkVersion 32 in build.gradle.
  • Added convinience methods checkBluetoothPermission and askBluetoothPermission required for Android 12+ devices.

3.1.0 #

  • Expose uri for file payloads and deprecated filepath.
  • Added convinience method copyFileAndDeleteOriginal for moving file using uri.

3.0.1 #

  • Fix issues when running with sound null safety.

3.0.0 #

  • Bump version to 3.0.0 (dart sdk >=2.12.0 <3.0.0).

3.0.0-nullsafety.1 #

  • Fix typo in PayloadStatus enum (IN_PROGRRESS -> IN_PROGRESS).

3.0.0-nullsafety.0 #

  • Migrated to Null Safety.

2.0.2 #

  • Fix missingPluginException.

2.0.1 #

  • Fix missing default constructor bug in android.

2.0.0 #

  • askLocationPermission & enableLocationService return type changed to Future
  • Fix typose, uUpdated example and readme

1.1.1+1 #

  • Corrected supported platforms in pubpsec

1.1.0 #

  • 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 and checkLocationEnabled

1.0.3 #

  • Added serviceId parameter in startAdvertising and startDiscovery
  • Added new method askLocationAndExternalStoragePermission()
  • Readme Fixes

1.0.2+1 #

  • Updated dartdoc and Readme

1.0.2 #

  • Added payload cancellation and other assertions

1.0.1 #

  • Changed convenience methods for asking permissions(location+storage)
  • Updated example

1.0.0 #

  • Added support for Files (sendFilePayload)
  • Breaking Change (sendPayload method signature is changed)
  • Updated Example and Readme for file transfer

0.1.3+1 #

  • Update documentation and Readme

0.1.1 #

  • Fixed sendPayload future not completing bug

0.1.0 #

  • Added pub maintenance suggestions

0.0.2 #

  • Added dartdoc comments

0.0.1 #

  • 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
125
likes
160
points
907
downloads

Publisher

verified publisherprerakmann.me

Weekly Downloads

Plugin for the android NearbyConnections API. Bytes and Files Supported.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on nearby_connections