Skip to content

Commit 8756217

Browse files
committed
Merge branch 'release/1.4.1'
2 parents 620d799 + 268f3fb commit 8756217

File tree

9 files changed

+16
-14
lines changed

9 files changed

+16
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* 2.x.x 是 Null Safety 版本
44
* 现在阶段会同时维护这 2 个版本,再往后可能仅维护一个版本
55

6+
## 1.4.1 [2021-12-07]
7+
* 修复 iOS 编译问题
8+
69
## 1.4.0 [2021-12-05]
710
* 新增 `信息流` 广告
811
* 优化 `Banner` 广告内部增加宽高设置,不在需要外部嵌套一层约束组件

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<h3 align="center">一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇)</h3>
55

66
<p align="center">
7-
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/badge/version-v1.4.0-success></a>
8-
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/badge/null_safety-v2.4.0-success></a>
7+
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/badge/version-v1.4.1-success></a>
8+
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/badge/null_safety-v2.4.1-success></a>
99
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/badge/platform-iOS%20%7C%20Android-brightgreen></a>
1010
<a href="https://github.com/FlutterAds/flutter_qq_ads/actions/workflows/flutter.yml"><img src="https://github.com/FlutterAds/flutter_qq_ads/actions/workflows/flutter.yml/badge.svg?branch=develop"></a>
1111
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/github/stars/FlutterAds/flutter_qq_ads?color=brightgreen></a>
@@ -36,8 +36,8 @@
3636

3737
``` Dart
3838
dependencies:
39-
flutter_qq_ads: ^1.4.0 # 非 Null Safety 版本
40-
flutter_qq_ads: ^2.4.0 # Null Safety 版本
39+
flutter_qq_ads: ^1.4.1 # 非 Null Safety 版本
40+
flutter_qq_ads: ^2.4.1 # Null Safety 版本
4141
```
4242

4343
### 初始化广告

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: FlutterAds 优量汇广告 SDK 插件示例
44
# The following line prevents the package from being accidentally published to
55
# pub.dev using `pub publish`. This is preferred for private packages.
66
publish_to: "none" # Remove this line if you wish to publish to pub.dev
7-
version: 1.4.0+14
7+
version: 1.4.1+16
88

99
environment:
1010
sdk: ">=2.7.0 <3.0.0"

ios/Classes/Load/FAQFeedAdLoad.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
//
77

88
#import <Foundation/Foundation.h>
9-
#import "GDTNativeExpressAd.h"
10-
#import "GDTNativeExpressAdView.h"
119
#import "FAQBaseAdPage.h"
1210

1311
@interface FAQFeedAdLoad :FAQBaseAdPage

ios/Classes/Load/FAQFeedAdLoad.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#import "FAQFeedAdLoad.h"
99
#import "FAQFeedAdManager.h"
1010
#import "FlutterQqAdsPlugin.h"
11+
#import "GDTNativeExpressAd.h"
12+
#import "GDTNativeExpressAdView.h"
1113

1214
@interface FAQFeedAdLoad()<GDTNativeExpressAdDelegete>
1315
@property (strong,nonatomic) GDTNativeExpressAd *ad;

ios/Classes/Load/FAQFeedAdManager.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
//
77

88
#import <Foundation/Foundation.h>
9-
#import "GDTNativeExpressAdView.h"
109
// 信息流广告管理
1110
@interface FAQFeedAdManager : NSObject
1211
// 单利类方法
1312
+ (instancetype) share;
1413
// 加入到缓存中
15-
- (void) putAd:(NSNumber *) key value:(GDTNativeExpressAdView *) value;
14+
- (void) putAd:(NSNumber *) key value:(id) value;
1615
// 从缓存中获取
17-
- (GDTNativeExpressAdView *) getAd:(NSNumber *) key;
16+
- (id) getAd:(NSNumber *) key;
1817
// 从缓存中删除
1918
- (void) removeAd:(NSNumber *) key;
2019
@end

ios/Classes/Load/FAQFeedAdManager.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ + (instancetype)share{
2121
return adManager;
2222
}
2323

24-
- (void)putAd:(NSNumber *)key value:(GDTNativeExpressAdView *)value{
24+
- (void)putAd:(NSNumber *)key value:(id)value{
2525
[faqAdList setObject:value forKey:key];
2626
}
2727

28-
- (GDTNativeExpressAdView *)getAd:(NSNumber *)key{
28+
- (id)getAd:(NSNumber *)key{
2929
return [faqAdList objectForKey:key];
3030
}
3131

ios/flutter_qq_ads.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'flutter_qq_ads'
7-
s.version = '1.4.0'
7+
s.version = '1.4.1'
88
s.summary = '一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇)'
99
s.description = <<-DESC
1010
一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇).

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_qq_ads
22
description: FlutterAds 致力于构建优质的 Flutter 广告插件,这是其中一款基于「腾讯广告、广点通、优量汇」SDK 的插件
3-
version: 1.4.0
3+
version: 1.4.1
44
homepage: https://github.com/FlutterAds
55

66
environment:

0 commit comments

Comments
 (0)