From 1ee7ee9cc531d45bb65375a89273a0a0281e621c Mon Sep 17 00:00:00 2001 From: gstory Date: Tue, 14 Feb 2023 16:16:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=B1=8F=E6=97=A0?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ README.md | 2 +- example/pubspec.lock | 10 ++++------ example/pubspec.yaml | 8 ++++---- lib/widget/splash_widget.dart | 4 ---- pubspec.yaml | 2 +- 6 files changed, 13 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57ef7ba..25a6324 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.0.7 +* 修复开屏无回调异常 + ## 0.0.6 * fix bug diff --git a/README.md b/README.md index 9c1eae2..f86114a 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ quakerbirdad: git: url: https://github.com/gstory0404/quakerbirdad.git - ref: 0.0.6 + ref: 0.0.7 ``` 引入 diff --git a/example/pubspec.lock b/example/pubspec.lock index d81f512..89d22d4 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -126,12 +126,10 @@ packages: quakerbirdad: dependency: "direct main" description: - path: "." - ref: "0.0.5" - resolved-ref: "12d99b44136be15caed3e6e56a5e319e46d1fb33" - url: "https://github.com/gstory0404/quakerbirdad.git" - source: git - version: "0.0.5" + path: ".." + relative: true + source: path + version: "0.0.6" sky_engine: dependency: transitive description: flutter diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 690e29a..30f6441 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -17,10 +17,10 @@ dependencies: flutter: sdk: flutter quakerbirdad: -# path: ../ - git: - url: https://github.com/gstory0404/quakerbirdad.git - ref: 0.0.5 + path: ../ +# git: +# url: https://github.com/gstory0404/quakerbirdad.git +# ref: 0.0.5 # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. diff --git a/lib/widget/splash_widget.dart b/lib/widget/splash_widget.dart index be723a6..07663a4 100644 --- a/lib/widget/splash_widget.dart +++ b/lib/widget/splash_widget.dart @@ -95,13 +95,9 @@ class _QuakerBirdAdSplashState extends State { Future _platformCallHandler(MethodCall call) async { switch (call.method) { case QuakerBirdAdMethod.onShow: - Map map = call.arguments; if (mounted) { setState(() { _isShowAd = true; - _width = map["width"]; - _height = map["height"]; - print("$_width == $_height"); }); if (widget.callBack?.onShow != null) { widget.callBack?.onShow!(); diff --git a/pubspec.yaml b/pubspec.yaml index ce78601..62e0a64 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: quakerbirdad description: Flutter信天翁广告插件 -version: 0.0.6 +version: 0.0.7 homepage: https://github.com/gstory0404/quakerbirdad environment: