File tree 10 files changed +43
-29
lines changed
10 files changed +43
-29
lines changed Original file line number Diff line number Diff line change 2
2
* 1.x.x 是非 Null Safety 版本
3
3
* 2.x.x 是 Null Safety 版本
4
4
* 现在阶段会同时维护这 2 个版本,再往后可能仅维护一个版本
5
+
6
+ ## 1.1.1 [ 2021-08-26]
7
+ * 修复 iOS 使用 use_frameworks! 时编译的错误 #6
8
+
5
9
## 1.1.0 [ 2021-08-26]
6
10
* 新增插屏全屏视频广告
7
11
* 新增插屏激励视频广告
Original file line number Diff line number Diff line change 4
4
<h3 align =" center " >一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇)</h3 >
5
5
6
6
<p align =" center " >
7
- <a href =" https://github.com/FlutterAds/flutter_qq_ads " ><img src=https://img.shields.io/badge/version-v1.1.0 -success> </a >
8
- <a href =" https://github.com/FlutterAds/flutter_qq_ads " ><img src=https://img.shields.io/badge/null_safety-v2.1.0 -success> </a >
7
+ <a href =" https://github.com/FlutterAds/flutter_qq_ads " ><img src=https://img.shields.io/badge/version-v1.1.1 -success> </a >
8
+ <a href =" https://github.com/FlutterAds/flutter_qq_ads " ><img src=https://img.shields.io/badge/null_safety-v2.1.1 -success> </a >
9
9
<a href =" https://github.com/FlutterAds/flutter_qq_ads " ><img src=https://img.shields.io/badge/platform-iOS%20%7C%20Android-brightgreen> </a >
10
10
<a href =" https://github.com/FlutterAds/flutter_qq_ads " ><img src=https://img.shields.io/github/stars/FlutterAds/flutter_qq_ads?color=brightgreen> </a >
11
11
<a href =" https://github.com/FlutterAds/flutter_qq_ads/blob/develop/LICENSE " ><img src=https://img.shields.io/badge/license-MIT-brightgreen> </a >
40
40
41
41
``` Dart
42
42
dependencies:
43
- flutter_qq_ads: ^1.1.0 # 非 Null Safety 版本
44
- flutter_qq_ads: ^2.1.0 # Null Safety 版本
43
+ flutter_qq_ads: ^1.1.1 # 非 Null Safety 版本
44
+ flutter_qq_ads: ^2.1.1 # Null Safety 版本
45
45
```
46
46
47
47
- Git 引入
Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
#import " BaseAdPage.h"
9
- #import " GDTUnifiedInterstitialAd.h"
10
9
// 插屏广告
11
- @interface InterstitialPage : BaseAdPage <GDTUnifiedInterstitialAdDelegate>
12
- @property (nonatomic , strong ) GDTUnifiedInterstitialAd *iad;
13
- // 全屏视频形式展示
14
- @property BOOL showFullScreenVideo;
15
- // 激励视频形式展示
16
- @property BOOL showRewardVideo;
17
- // 服务端验证的自定义信息
18
- @property (copy ,nonatomic ) NSString *customData;
19
- // 服务端验证的用户信息
20
- @property (copy ,nonatomic ) NSString *userId;
10
+ @interface InterstitialPage : BaseAdPage
21
11
@end
Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
#import " InterstitialPage.h"
9
+ #import " GDTUnifiedInterstitialAd.h"
10
+
11
+ // 插屏广告
12
+ @interface InterstitialPage ()<GDTUnifiedInterstitialAdDelegate>
13
+ @property (nonatomic , strong ) GDTUnifiedInterstitialAd *iad;
14
+ // 全屏视频形式展示
15
+ @property BOOL showFullScreenVideo;
16
+ // 激励视频形式展示
17
+ @property BOOL showRewardVideo;
18
+ // 服务端验证的自定义信息
19
+ @property (copy ,nonatomic ) NSString *customData;
20
+ // 服务端验证的用户信息
21
+ @property (copy ,nonatomic ) NSString *userId;
22
+ @end
9
23
10
24
@implementation InterstitialPage
11
25
Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
#import " BaseAdPage.h"
9
- #import " GDTRewardVideoAd.h"
10
9
// 激励视频页面
11
- @interface RewardVideoPage : BaseAdPage <GDTRewardedVideoAdDelegate>
12
- @property (nonatomic , strong ) GDTRewardVideoAd *rvad;
13
- // 服务端验证的自定义信息
14
- @property (copy ,nonatomic ) NSString *customData;
15
- // 服务端验证的用户信息
16
- @property (copy ,nonatomic ) NSString *userId;
10
+ @interface RewardVideoPage : BaseAdPage
17
11
@end
Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
#import " RewardVideoPage.h"
9
+ #import " GDTRewardVideoAd.h"
10
+ // 激励视频页面
11
+ @interface RewardVideoPage ()<GDTRewardedVideoAdDelegate>
12
+ @property (nonatomic , strong ) GDTRewardVideoAd *rvad;
13
+ // 服务端验证的自定义信息
14
+ @property (copy ,nonatomic ) NSString *customData;
15
+ // 服务端验证的用户信息
16
+ @property (copy ,nonatomic ) NSString *userId;
17
+ @end
9
18
10
19
@implementation RewardVideoPage
11
20
// 加载广告
Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
#import " BaseAdPage.h"
9
- #import " GDTSplashAd.h"
10
9
// 开屏广告
11
- @interface SplashPage : BaseAdPage <GDTSplashAdDelegate>
12
- @property (strong , nonatomic ) GDTSplashAd *splashAd;
13
- @property (retain , nonatomic ) UIView *bottomView;
14
- @property (nonatomic , assign ) BOOL fullScreenAd;
10
+ @interface SplashPage : BaseAdPage
15
11
@end
Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
#import " SplashPage.h"
9
+ #import " GDTSplashAd.h"
10
+ // 开屏广告
11
+ @interface SplashPage ()<GDTSplashAdDelegate>
12
+ @property (strong , nonatomic ) GDTSplashAd *splashAd;
13
+ @property (retain , nonatomic ) UIView *bottomView;
14
+ @property (nonatomic , assign ) BOOL fullScreenAd;
15
+ @end
9
16
10
17
@implementation SplashPage
11
18
// 加载广告
Original file line number Diff line number Diff line change 4
4
#
5
5
Pod ::Spec . new do |s |
6
6
s . name = 'flutter_qq_ads'
7
- s . version = '1.1.0 '
7
+ s . version = '1.1.1 '
8
8
s . summary = '一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇)'
9
9
s . description = <<-DESC
10
10
一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇).
Original file line number Diff line number Diff line change 1
1
name : flutter_qq_ads
2
2
description : FlutterAds 致力于构建优质的 Flutter 广告插件,这是其中一款基于「腾讯广告、广点通、优量汇」SDK 的插件
3
- version : 1.1.0
3
+ version : 1.1.1
4
4
homepage : https://github.com/FlutterAds
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments