File tree Expand file tree Collapse file tree 9 files changed +16
-14
lines changed Expand file tree Collapse file tree 9 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 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 ` 广告内部增加宽高设置,不在需要外部嵌套一层约束组件
Original file line number Diff line number Diff line change 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 >
3636
3737``` Dart
3838dependencies:
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### 初始化广告
Original file line number Diff line number Diff 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.
66publish_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
99environment :
1010 sdk : " >=2.7.0 <3.0.0"
Original file line number Diff line number Diff line change 66//
77
88#import < Foundation/Foundation.h>
9- #import " GDTNativeExpressAd.h"
10- #import " GDTNativeExpressAdView.h"
119#import " FAQBaseAdPage.h"
1210
1311@interface FAQFeedAdLoad :FAQBaseAdPage
Original file line number Diff line number Diff line change 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;
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 44#
55Pod ::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 广告插件(腾讯广告、广点通、优量汇).
Original file line number Diff line number Diff line change 11name : flutter_qq_ads
22description : FlutterAds 致力于构建优质的 Flutter 广告插件,这是其中一款基于「腾讯广告、广点通、优量汇」SDK 的插件
3- version : 1.4.0
3+ version : 1.4.1
44homepage : https://github.com/FlutterAds
55
66environment :
You can’t perform that action at this time.
0 commit comments