Prep for new Release

TODO: add a way to edit the filename
This commit is contained in:
Prerak Mann
2019-08-12 00:03:47 +05:30
parent 73ab07452c
commit 4d666c42a5
11 changed files with 489 additions and 453 deletions

View File

@@ -32,7 +32,6 @@ android {
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.pkmnapps.nearby_connections_example"
minSdkVersion 16
targetSdkVersion 28
@@ -43,7 +42,6 @@ android {
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}

View File

@@ -160,7 +160,7 @@ class _MyBodyState extends State<Body> {
onPressed: () async {
String a = Random().nextInt(100).toString();
showSnackbar("Sending $a to $cId");
Nearby().sendPayload(cId, Uint8List.fromList(a.codeUnits));
Nearby().sendBytesPayload(cId, Uint8List.fromList(a.codeUnits));
},
),
RaisedButton(

View File

@@ -73,7 +73,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.1.3+1"
version: "1.0.0"
path:
dependency: transitive
description: