Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 067d4b8

Browse files
author
xuyingjun
committed
v1.0.11
1 parent 248ce57 commit 067d4b8

File tree

11 files changed

+354
-162
lines changed

11 files changed

+354
-162
lines changed

‎.idea/misc.xml‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.idea/workspace.xml‎

Lines changed: 316 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎CHANGELOG.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@
4141

4242
## 1.0.10
4343

44-
* add Log
44+
* add Log
45+
46+
## 1.0.11
47+
48+
* remove kotlin

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Global dialog function encapsulation, with a semantic way to fill the content in
1717

1818
```yaml
1919
dependencies:
20-
flutter_custom_dialog: ^1.0.10
20+
flutter_custom_dialog: ^1.0.11
2121
```
2222
2323
**2、import**

‎README_CN.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
```yaml
1717
dependencies:
18-
flutter_custom_dialog: ^1.0.10
18+
flutter_custom_dialog: ^1.0.11
1919
```
2020
2121
**2、import**

‎android/build.gradle‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
group 'inc.yy.flutter_custom_dialog'
1+
group 'yy.inc.flutter_custom_dialog'
22
version '1.0-SNAPSHOT'
33

44
buildscript {
5-
ext.kotlin_version = '1.3.0'
65
repositories {
76
google()
87
jcenter()
98
}
109

1110
dependencies {
1211
classpath 'com.android.tools.build:gradle:3.2.1'
13-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1412
}
1513
}
1614

@@ -22,14 +20,10 @@ rootProject.allprojects {
2220
}
2321

2422
apply plugin: 'com.android.library'
25-
apply plugin: 'kotlin-android'
2623

2724
android {
2825
compileSdkVersion 28
2926

30-
sourceSets {
31-
main.java.srcDirs += 'src/main/kotlin'
32-
}
3327
defaultConfig {
3428
minSdkVersion 16
3529
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -38,7 +32,3 @@ android {
3832
disable 'InvalidPackage'
3933
}
4034
}
41-
42-
dependencies {
43-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
44-
}

‎android/src/main/AndroidManifest.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="inc.yy.flutter_custom_dialog">
2+
package="yy.inc.flutter_custom_dialog">
33
</manifest>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package yy.inc.flutter_custom_dialog;
2+
3+
import io.flutter.plugin.common.MethodCall;
4+
import io.flutter.plugin.common.MethodChannel;
5+
import io.flutter.plugin.common.MethodChannel.MethodCallHandler;
6+
import io.flutter.plugin.common.MethodChannel.Result;
7+
import io.flutter.plugin.common.PluginRegistry.Registrar;
8+
9+
/** FlutterCustomDialogPlugin */
10+
public class FlutterCustomDialogPlugin implements MethodCallHandler {
11+
/** Plugin registration. */
12+
public static void registerWith(Registrar registrar) {
13+
final MethodChannel channel = new MethodChannel(registrar.messenger(), "flutter_custom_dialog");
14+
channel.setMethodCallHandler(new FlutterCustomDialogPlugin());
15+
}
16+
17+
@Override
18+
public void onMethodCall(MethodCall call, Result result) {
19+
if (call.method.equals("getPlatformVersion")) {
20+
result.success("Android " + android.os.Build.VERSION.RELEASE);
21+
} else {
22+
result.notImplemented();
23+
}
24+
}
25+
}

‎android/src/main/kotlin/inc/yy/flutter_custom_dialog/FlutterCustomDialogPlugin.kt‎

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

‎flutter_custom_dialog.iml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<excludeFolder url="file://$MODULE_DIR$/example/.pub" />
1313
<excludeFolder url="file://$MODULE_DIR$/example/build" />
1414
</content>
15+
<orderEntry type="inheritedJdk" />
1516
<orderEntry type="sourceFolder" forTests="false" />
1617
<orderEntry type="library" name="Dart SDK" level="project" />
1718
<orderEntry type="library" name="Flutter Plugins" level="project" />

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /