fixed missing default android plugin constructor

multipeer_ios
Prerak Mann 4 years ago
parent 1abde6ba90
commit 6592242aa9

@ -1,3 +1,6 @@
## 2.0.1
* Fix missing default constructor bug in android.
## 2.0.0 ## 2.0.0
* `askLocationPermission` & `enableLocationService` return type changed to Future<bool> * `askLocationPermission` & `enableLocationService` return type changed to Future<bool>
* Fix typose, uUpdated example and readme * Fix typose, uUpdated example and readme

@ -55,7 +55,7 @@ public class NearbyConnectionsPlugin implements MethodCallHandler, FlutterPlugin
private NearbyConnectionsPlugin(Activity activity) { private NearbyConnectionsPlugin(Activity activity) {
this.activity = activity; this.activity = activity;
} }
public NearbyConnectionsPlugin(){}
/** /**
* Plugin registration. * Plugin registration.

@ -94,7 +94,7 @@ packages:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "2.0.0" version: "2.0.1"
path: path:
dependency: transitive dependency: transitive
description: description:

@ -1,6 +1,6 @@
name: nearby_connections name: nearby_connections
description: Plugin for the android NearbyConnections API. Bytes and Files Supported. description: Plugin for the android NearbyConnections API. Bytes and Files Supported.
version: 2.0.0 version: 2.0.1
homepage: https://github.com/mannprerak2/nearby_connections homepage: https://github.com/mannprerak2/nearby_connections
environment: environment:

Loading…
Cancel
Save