Skip to content

Commit 527159a

Browse files
committed
Merge branch 'release/1.1.1'
2 parents 12121d0 + addfb52 commit 527159a

10 files changed

+43
-29
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
* 1.x.x 是非 Null Safety 版本
33
* 2.x.x 是 Null Safety 版本
44
* 现在阶段会同时维护这 2 个版本,再往后可能仅维护一个版本
5+
6+
## 1.1.1 [2021-08-26]
7+
* 修复 iOS 使用 use_frameworks! 时编译的错误 #6
8+
59
## 1.1.0 [2021-08-26]
610
* 新增插屏全屏视频广告
711
* 新增插屏激励视频广告

README.md

+4-4
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.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>
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"><img src=https://img.shields.io/github/stars/FlutterAds/flutter_qq_ads?color=brightgreen></a>
1111
<a href="https://github.com/FlutterAds/flutter_qq_ads/blob/develop/LICENSE"><img src=https://img.shields.io/badge/license-MIT-brightgreen></a>
@@ -40,8 +40,8 @@
4040

4141
``` Dart
4242
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 版本
4545
```
4646

4747
- Git 引入

ios/Classes/Page/InterstitialPage.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@
66
//
77

88
#import "BaseAdPage.h"
9-
#import "GDTUnifiedInterstitialAd.h"
109
// 插屏广告
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
2111
@end

ios/Classes/Page/InterstitialPage.m

+14
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,20 @@
66
//
77

88
#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
923

1024
@implementation InterstitialPage
1125

ios/Classes/Page/RewardVideoPage.h

+1-7
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
//
77

88
#import "BaseAdPage.h"
9-
#import "GDTRewardVideoAd.h"
109
// 激励视频页面
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
1711
@end

ios/Classes/Page/RewardVideoPage.m

+9
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66
//
77

88
#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
918

1019
@implementation RewardVideoPage
1120
// 加载广告

ios/Classes/Page/SplashPage.h

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
//
77

88
#import "BaseAdPage.h"
9-
#import "GDTSplashAd.h"
109
// 开屏广告
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
1511
@end

ios/Classes/Page/SplashPage.m

+7
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
//
77

88
#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
916

1017
@implementation SplashPage
1118
// 加载广告

ios/flutter_qq_ads.podspec

+1-1
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.1.0'
7+
s.version = '1.1.1'
88
s.summary = '一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇)'
99
s.description = <<-DESC
1010
一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇).

pubspec.yaml

+1-1
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.1.0
3+
version: 1.1.1
44
homepage: https://github.com/FlutterAds
55

66
environment:

0 commit comments

Comments
 (0)