[flutter_plugin_android_lifecycle] Add an explanatory message to the example app (#2376)
Explaining that the plugin is just an auxiliary for other plugins.
diff --git a/packages/flutter_plugin_android_lifecycle/CHANGELOG.md b/packages/flutter_plugin_android_lifecycle/CHANGELOG.md
index 5ee91c8..017e3a5 100644
--- a/packages/flutter_plugin_android_lifecycle/CHANGELOG.md
+++ b/packages/flutter_plugin_android_lifecycle/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.0.5
+
+* Add notice in example this plugin only provides Android Lifecycle API.
+
## 1.0.4
* Require Flutter SDK 1.12.13 or greater.
diff --git a/packages/flutter_plugin_android_lifecycle/example/lib/main.dart b/packages/flutter_plugin_android_lifecycle/example/lib/main.dart
index 01da8d6..6dfe523 100644
--- a/packages/flutter_plugin_android_lifecycle/example/lib/main.dart
+++ b/packages/flutter_plugin_android_lifecycle/example/lib/main.dart
@@ -12,6 +12,9 @@
appBar: AppBar(
title: const Text('Sample flutter_plugin_android_lifecycle usage'),
),
+ body: Center(
+ child: Text(
+ 'This plugin only provides Android Lifecycle API\n for other Android plugins.')),
),
);
}
diff --git a/packages/flutter_plugin_android_lifecycle/pubspec.yaml b/packages/flutter_plugin_android_lifecycle/pubspec.yaml
index cea31bf..2e2e0ef 100644
--- a/packages/flutter_plugin_android_lifecycle/pubspec.yaml
+++ b/packages/flutter_plugin_android_lifecycle/pubspec.yaml
@@ -1,6 +1,6 @@
name: flutter_plugin_android_lifecycle
description: Flutter plugin for accessing an Android Lifecycle within other plugins.
-version: 1.0.4
+version: 1.0.5
homepage: https://github.com/flutter/plugins/tree/master/packages/flutter_plugin_android_lifecycle
environment: