diff --git a/example/.vscode/launch.json b/example/.vscode/launch.json
index 5086a1da4..f3d4353ca 100644
--- a/example/.vscode/launch.json
+++ b/example/.vscode/launch.json
@@ -1,6 +1,18 @@
{
"version": "0.2.0",
"configurations": [
+ {
+ "name": "Flutter",
+ "type": "dart",
+ "request": "launch",
+ "program": "lib/main.dart"
+ },
+ {
+ "name": "Dart",
+ "type": "dart",
+ "request": "launch",
+ "program": "bin/main.dart"
+ },
{
"name": "Flutter Desktop Attach",
"request": "attach",
@@ -8,4 +20,4 @@
"type": "dart"
}
]
-}
\ No newline at end of file
+}
diff --git a/example/README.md b/example/README.md
index 17ecae4d2..30977327b 100644
--- a/example/README.md
+++ b/example/README.md
@@ -1,8 +1,10 @@
-# flutter_plugin_example
+# flutter_ParseServer_example
+
+
+Demonstrates ParseServer sdk.
+## 连接 docker server
+[docker-compose-parse-server](https://github.com/unreal0/docker-compose-parse-server).
-Demonstrates how to use the flutter_plugin plugin.
-
-## Getting Started
-
-For help getting started with Flutter, view our online
-[documentation](https://flutter.io/).
+## demo
+* live parse demo
+* data add/delete/change/find
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index 9883bcabb..062011fe4 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -15,7 +15,7 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
- compileSdkVersion 27
+ compileSdkVersion 28
lintOptions {
disable 'InvalidPackage'
@@ -25,7 +25,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.flutterpluginexample"
minSdkVersion 16
- targetSdkVersion 27
+ targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -46,6 +46,6 @@ flutter {
dependencies {
testImplementation 'junit:junit:4.12'
- androidTestImplementation 'com.android.support.test:runner:1.0.1'
- androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
+ androidTestImplementation 'com.android.support.test:runner:1.0.2'
+ androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index 9fbcae13f..f64f65858 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -14,8 +14,8 @@
FlutterApplication and put your custom class here. -->
+ android:label="parse_sdk"
+ android:icon="@mipmap/parse">
_MyAppState();
}
-class _MyAppState extends State {
+class _MyAppState extends State with AutomaticKeepAliveClientMixin {
DietPlanRepository dietPlanRepo;
UserRepository userRepo;
+ // Map _result;
+ List