fixed missing default android plugin constructor

This commit is contained in:
Prerak Mann 2020-08-24 12:13:18 +05:30
parent 1abde6ba90
commit 6592242aa9
4 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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.

View File

@ -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:

View File

@ -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: