Skip to content

Commit 9bda9bd

Browse files
committed
✨ Brand new example.
1 parent 604e67d commit 9bda9bd

35 files changed

+1326
-334
lines changed

example/android/app/build.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ apply plugin: 'kotlin-kapt'
2727
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2828

2929
android {
30-
compileSdkVersion 28
30+
compileSdkVersion 29
3131

3232
sourceSets {
3333
main.java.srcDirs += 'src/main/kotlin'
@@ -38,19 +38,16 @@ android {
3838
}
3939

4040
defaultConfig {
41-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
42-
applicationId "com.example.example"
41+
applicationId "com.fluttercandies.wechatAssetsPickerExample"
4342
minSdkVersion 16
44-
targetSdkVersion 28
43+
targetSdkVersion 29
4544
versionCode flutterVersionCode.toInteger()
4645
versionName flutterVersionName
4746
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
4847
}
4948

5049
buildTypes {
5150
release {
52-
// TODO: Add your own signing config for the release build.
53-
// Signing with the debug keys for now, so `flutter run --release` works.
5451
signingConfig signingConfigs.debug
5552
}
5653
}

example/android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.example">
2+
package="com.fluttercandies.wechatAssetsPickerExample">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

example/android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.example">
2+
package="com.fluttercandies.wechatAssetsPickerExample">
33

44
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
55
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
66

77
<application
88
android:name="io.flutter.app.FlutterApplication"
9-
android:label="example"
9+
android:label="Wechat Assets Picker Example"
1010
android:icon="@mipmap/ic_launcher">
1111
<activity
1212
android:name=".MainActivity"

example/android/app/src/main/kotlin/com/example/example/ExampleAppGlideModule.java renamed to example/android/app/src/main/kotlin/com/fluttercandies/wechatAssetsPickerExample/ExampleAppGlideModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.example;
1+
package com.fluttercandies.wechatAssetsPickerExample;
22

33
import com.bumptech.glide.annotation.GlideModule;
44
import com.bumptech.glide.module.AppGlideModule;
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
package com.example.example
1+
package com.fluttercandies.wechatAssetsPickerExample
22

3-
import androidx.annotation.NonNull;
3+
import androidx.annotation.NonNull
44
import io.flutter.embedding.android.FlutterActivity
55
import io.flutter.embedding.engine.FlutterEngine
66
import io.flutter.plugins.GeneratedPluginRegistrant
77

88
class MainActivity: FlutterActivity() {
99
override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
10-
GeneratedPluginRegistrant.registerWith(flutterEngine);
10+
GeneratedPluginRegistrant.registerWith(flutterEngine)
1111
}
1212
}

example/android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.example.example">
2+
package="com.fluttercandies.wechatAssetsPickerExample">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->
131 KB
Loading
Lines changed: 125 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,128 @@
11
{
2-
"images" : [
3-
{
4-
"size" : "20x20",
5-
"idiom" : "iphone",
6-
"filename" : "[email protected]",
7-
"scale" : "2x"
8-
},
9-
{
10-
"size" : "20x20",
11-
"idiom" : "iphone",
12-
"filename" : "[email protected]",
13-
"scale" : "3x"
14-
},
15-
{
16-
"size" : "29x29",
17-
"idiom" : "iphone",
18-
"filename" : "[email protected]",
19-
"scale" : "1x"
20-
},
21-
{
22-
"size" : "29x29",
23-
"idiom" : "iphone",
24-
"filename" : "[email protected]",
25-
"scale" : "2x"
26-
},
27-
{
28-
"size" : "29x29",
29-
"idiom" : "iphone",
30-
"filename" : "[email protected]",
31-
"scale" : "3x"
32-
},
33-
{
34-
"size" : "40x40",
35-
"idiom" : "iphone",
36-
"filename" : "[email protected]",
37-
"scale" : "2x"
38-
},
39-
{
40-
"size" : "40x40",
41-
"idiom" : "iphone",
42-
"filename" : "[email protected]",
43-
"scale" : "3x"
44-
},
45-
{
46-
"size" : "60x60",
47-
"idiom" : "iphone",
48-
"filename" : "[email protected]",
49-
"scale" : "2x"
50-
},
51-
{
52-
"size" : "60x60",
53-
"idiom" : "iphone",
54-
"filename" : "[email protected]",
55-
"scale" : "3x"
56-
},
57-
{
58-
"size" : "20x20",
59-
"idiom" : "ipad",
60-
"filename" : "[email protected]",
61-
"scale" : "1x"
62-
},
63-
{
64-
"size" : "20x20",
65-
"idiom" : "ipad",
66-
"filename" : "[email protected]",
67-
"scale" : "2x"
68-
},
69-
{
70-
"size" : "29x29",
71-
"idiom" : "ipad",
72-
"filename" : "[email protected]",
73-
"scale" : "1x"
74-
},
75-
{
76-
"size" : "29x29",
77-
"idiom" : "ipad",
78-
"filename" : "[email protected]",
79-
"scale" : "2x"
80-
},
81-
{
82-
"size" : "40x40",
83-
"idiom" : "ipad",
84-
"filename" : "[email protected]",
85-
"scale" : "1x"
86-
},
87-
{
88-
"size" : "40x40",
89-
"idiom" : "ipad",
90-
"filename" : "[email protected]",
91-
"scale" : "2x"
92-
},
93-
{
94-
"size" : "76x76",
95-
"idiom" : "ipad",
96-
"filename" : "[email protected]",
97-
"scale" : "1x"
98-
},
99-
{
100-
"size" : "76x76",
101-
"idiom" : "ipad",
102-
"filename" : "[email protected]",
103-
"scale" : "2x"
104-
},
105-
{
106-
"size" : "83.5x83.5",
107-
"idiom" : "ipad",
108-
"filename" : "[email protected]",
109-
"scale" : "2x"
110-
},
111-
{
112-
"size" : "1024x1024",
113-
"idiom" : "ios-marketing",
114-
"filename" : "[email protected]",
115-
"scale" : "1x"
2+
"images":[
3+
{
4+
"idiom":"iphone",
5+
"size":"20x20",
6+
"scale":"2x",
7+
"filename":"[email protected]"
8+
},
9+
{
10+
"idiom":"iphone",
11+
"size":"20x20",
12+
"scale":"3x",
13+
"filename":"[email protected]"
14+
},
15+
{
16+
"idiom":"iphone",
17+
"size":"29x29",
18+
"scale":"1x",
19+
"filename":"[email protected]"
20+
},
21+
{
22+
"idiom":"iphone",
23+
"size":"29x29",
24+
"scale":"2x",
25+
"filename":"[email protected]"
26+
},
27+
{
28+
"idiom":"iphone",
29+
"size":"29x29",
30+
"scale":"3x",
31+
"filename":"[email protected]"
32+
},
33+
{
34+
"idiom":"iphone",
35+
"size":"40x40",
36+
"scale":"2x",
37+
"filename":"[email protected]"
38+
},
39+
{
40+
"idiom":"iphone",
41+
"size":"40x40",
42+
"scale":"3x",
43+
"filename":"[email protected]"
44+
},
45+
{
46+
"idiom":"iphone",
47+
"size":"60x60",
48+
"scale":"2x",
49+
"filename":"[email protected]"
50+
},
51+
{
52+
"idiom":"iphone",
53+
"size":"60x60",
54+
"scale":"3x",
55+
"filename":"[email protected]"
56+
},
57+
{
58+
"idiom":"iphone",
59+
"size":"76x76",
60+
"scale":"2x",
61+
"filename":"[email protected]"
62+
},
63+
{
64+
"idiom":"ipad",
65+
"size":"20x20",
66+
"scale":"1x",
67+
"filename":"[email protected]"
68+
},
69+
{
70+
"idiom":"ipad",
71+
"size":"20x20",
72+
"scale":"2x",
73+
"filename":"[email protected]"
74+
},
75+
{
76+
"idiom":"ipad",
77+
"size":"29x29",
78+
"scale":"1x",
79+
"filename":"[email protected]"
80+
},
81+
{
82+
"idiom":"ipad",
83+
"size":"29x29",
84+
"scale":"2x",
85+
"filename":"[email protected]"
86+
},
87+
{
88+
"idiom":"ipad",
89+
"size":"40x40",
90+
"scale":"1x",
91+
"filename":"[email protected]"
92+
},
93+
{
94+
"idiom":"ipad",
95+
"size":"40x40",
96+
"scale":"2x",
97+
"filename":"[email protected]"
98+
},
99+
{
100+
"idiom":"ipad",
101+
"size":"76x76",
102+
"scale":"1x",
103+
"filename":"[email protected]"
104+
},
105+
{
106+
"idiom":"ipad",
107+
"size":"76x76",
108+
"scale":"2x",
109+
"filename":"[email protected]"
110+
},
111+
{
112+
"idiom":"ipad",
113+
"size":"83.5x83.5",
114+
"scale":"2x",
115+
"filename":"[email protected]"
116+
},
117+
{
118+
"size" : "1024x1024",
119+
"idiom" : "ios-marketing",
120+
"scale" : "1x",
121+
"filename" : "[email protected]"
122+
}
123+
],
124+
"info":{
125+
"version":1,
126+
"author":"makeappicon"
116127
}
117-
],
118-
"info" : {
119-
"version" : 1,
120-
"author" : "xcode"
121-
}
122128
}
Binary file not shown.
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

example/ios/Runner/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>
14-
<string>example</string>
14+
<string>com.fluttercandies.wechatAssetsPickerExample</string>
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>

example/lib/color_extension.dart

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)