Skip to content

Commit f6cfd5f

Browse files
committed
🔐 迁移升级到 plugin_platform_interface
1 parent 236e8b1 commit f6cfd5f

12 files changed

+337
-142
lines changed

Diff for: .github/workflows/flutter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-java@v3
1919
with:
2020
distribution: 'temurin'
21-
java-version: '11'
21+
java-version: '17'
2222
cache: 'gradle'
2323
# Setup the flutter environment.
2424
- uses: subosito/flutter-action@v2

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.9.0
2+
* 🚀 推荐使用【[Gromore 聚合变现](https://flutterads.top/)】 让您的广告收益最大化
3+
* 📱 Android SDK `v4.620.1490`
4+
* 🍎 iOS SDK `v4.15.00`
5+
* 🔐 迁移升级到 `plugin_platform_interface`
6+
17
## 2.8.0
28
* 🚀 推荐使用【[Gromore](https://flutterads.top/)】 让您的广告收益最大化
39
* 📱 Android SDK `v4.580.1450`

Diff for: README.md

+26-15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h1 align="center">Flutter QQ Ads</h1>
2-
<h3 align="center">一款优质的优量汇(腾讯广告、广点通)Flutter 广告插件</h3>
2+
<h3 align="center">一款优质的优量汇(腾讯广告、广点通)Flutter 广告变现插件</h3>
33
<p align="center">♻️ 持续更新 ♻️</p>
44

55
<p align="center">
@@ -12,12 +12,16 @@
1212
<img src=https://img.shields.io/github/stars/FlutterAds/flutter_qq_ads?color=brightgreen>
1313
</a>
1414
<a href="https://flutterads.top/">
15-
<img src="https://img.shields.io/badge/Pro-v3.5.0-success?logo=flutter&logoColor=FFD700"/>
15+
<img src="https://img.shields.io/badge/Pro-v3.8.0-success?logo=flutter&logoColor=FFD700"/>
1616
<a href="https://flutterads.top/">
1717
<img src="https://img.shields.io/badge/Site-FlutterAds-success?logo=webtrees&logoColor=FFD700"/>
1818
</a>
1919
</p>
2020

21+
<a href="https://flutterads.top/">
22+
<p align="center"> 🏆 FlutterAds ~ 致力于构建优质的 Flutter 变现插件</p>
23+
</a>
24+
2125
## 🚀 核心功能
2226

2327
- ✅ 开屏广告
@@ -27,27 +31,34 @@
2731
- ✅ 信息流
2832
- 🏆 二次激励(可有效提升收益)[🚀 Pro 版](https://flutterads.top/)
2933
- 🦥 预缓存(预加载,极速展示) [🎁 Pro 版](https://flutterads.top/)
30-
- 💰 实时价格(积分体系,分成体系[🚀 Pro 版](https://flutterads.top/)
34+
- 💰 实时价格 eCPM(收益统计、实时分佣[🚀 Pro 版](https://flutterads.top/)
3135
- 🧪 测试助手(精准测试,稳定上线)[🚀 Pro 版](https://flutterads.top/)
3236

33-
## 📃 接入文档
3437

35-
- [ 🎯 极速接入、快速体验、持续更新](https://github.com/FlutterAds/flutter_qq_ads/wiki)
38+
## 📱 下载体验
39+
<a href="https://www.pgyer.com/app/qrcode/fads"><img src="https://raw.githubusercontent.com/yy1300326388/yy1300326388/main/images/gzh/gzh_qrcode.jpeg" width='100' height='100'></a>
3640

37-
- [ 💰 变现套件 = 【GroMore】+【AdSpark】+【AdContent】](https://flutterads.top/)
41+
> 回复 `Pro` 进行体验
3842
3943
## 📣 推荐使用 GroMore
4044

41-
-[Gromore Pro](https://flutterads.top/)】可进行多家广告瀑布流竞价,让您获得更高的广告收益,发挥最大的用户价值
45+
- [🏆 Gromore Pro](https://flutterads.top/) 可进行多家广告瀑布流竞价,让您获得更高的广告收益,发挥最大的用户价值
46+
- [ 🎯 极速接入、快速体验、持续更新](https://github.com/FlutterAds/flutter_qq_ads/wiki)
47+
- [ 💰 变现套件 = 【GroMore】+【AdSpark】+【AdContent】](https://flutterads.top/)
48+
49+
50+
## 📌 FlutterAds 广告系列插件 — 打造 Flutter 应用的变现新机会
4251

43-
[![](https://raw.githubusercontent.com/FlutterAds/.github/main/gromore_pro_site.png)](https://flutterads.top/)
52+
致力于构建优质的 Flutter 变现插件,选择我们提供的高效广告插件,专为 Flutter 开发者量身定制!我们不仅涵盖国内各大广告平台,还支持国际市场,助你快速打开全球创收之门。
4453

45-
## 📌 广告系列插件(FlutterAds)
4654
|插件|描述|
4755
|-|-|
48-
|[flutter_gromore_pro](https://flutterads.top/)|🏆🏆🏆 帮你大幅提升广告收益,发挥出最大的用户价值|
49-
|[flutter_gromore_ads](https://github.com/FlutterAds/flutter_gromore_ads)|字节跳动、穿山甲、GroMore 聚合 Flutter 广告开源版插件|
50-
|[flutter_pangle_ads](https://github.com/FlutterAds/flutter_pangle_ads)|字节跳动、穿山甲 Flutter 广告插件|
51-
|[flutter_qq_ads](https://github.com/FlutterAds/flutter_qq_ads)|腾讯广告、广点通、优量汇 Flutter 广告插件|
52-
|[flutter_adspark](https://github.com/FlutterAds/flutter_adspark)|巨量广告/穿山甲的广告监测、增长分析、归因上报、事件管理 Flutter 版插件|
53-
|[flutter_adcontent](https://github.com/FlutterAds/flutter_adcontent)|穿山甲内容输出 Flutter 版插件,支持短剧和小视频|
56+
|[🏆 FlutterAds](https://flutterads.top/)| 🎉 提供全方位的广告解决方案,轻松集成,变现效益翻倍 🚀,助力你的 Flutter 应用赢得更多收益!|
57+
|[🌐 flutter_gromore_ads](https://github.com/FlutterAds/flutter_gromore_ads)|字节跳动、穿山甲、GroMore 广告平台一站式聚合,助力你在 Flutter 中轻松集成多种广告源!|
58+
|[🌐 flutter_pangle_ads](https://github.com/FlutterAds/flutter_pangle_ads)|专为 Flutter 打造的字节跳动、穿山甲广告插件,让你畅享流量和收益!|
59+
|[🚢 flutter_pangle_global_ads](https://github.com/FlutterAds/flutter_pangle_global_ads)|面向全球用户的字节跳动、穿山甲国际版广告插件,全面支持海外市场的广告变现!|
60+
|[🌐 flutter_qq_ads](https://github.com/FlutterAds/flutter_qq_ads)| 集成腾讯广告、广点通、优量汇,快速为 Flutter 应用打开更多广告渠道!|
61+
|[Ⓜ flutter_ohos_ads](https://github.com/FlutterAds/flutter_ohos_ads)|专为 HarmonyOS(鸿蒙系统)优化的广告变现插件,提供专属 Flutter 广告支持!|
62+
|[📡 flutter_adspark](https://github.com/FlutterAds/flutter_adspark)|强大的广告监测、增长分析与事件管理功能,助力你提升广告投放效果,精准归因!|
63+
|[🎬 flutter_adcontent_pro](https://github.com/FlutterAds/flutter_adcontent)|支持短剧、小视频内容的穿山甲内容输出插件,助力你轻松打造短剧类应用!|
64+
|[📚 flutter_novel_story_pro](https://github.com/FlutterAds/flutter_novel_story)|支持短故事、小说等内容输出,带有内置阅读器和聚合首页,助力你轻松打造小说类应用!|

Diff for: android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ dependencies {
3838
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
3939
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
4040
// 广告 SDK https://central.sonatype.com/artifact/com.qq.e.union/union/versions
41-
implementation 'com.qq.e.union:union:4.580.1450'
41+
implementation 'com.qq.e.union:union:4.620.1490'
4242
}

Diff for: example/android/app/build.gradle

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ plugins {
55
}
66

77
android {
8-
namespace = "com.zero.flutter_qq_ads_example"
9-
compileSdk = flutter.compileSdkVersion
8+
if (project.android.hasProperty("namespace")) {
9+
namespace = "com.zero.flutter_qq_ads_example"
10+
}
11+
compileSdk = 34
1012
ndkVersion = flutter.ndkVersion
1113

1214
compileOptions {

Diff for: example/lib/pages/pro_page.dart

+34-27
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,53 @@
11
import 'package:flutter/material.dart';
2-
import 'package:flutter/services.dart';
32

4-
// Pro 版本
3+
/// Pro 页面
54
class ProPage extends StatefulWidget {
65
const ProPage({Key? key}) : super(key: key);
76

87
@override
9-
_ProPageState createState() => _ProPageState();
8+
State<ProPage> createState() => _ProPageState();
109
}
1110

1211
class _ProPageState extends State<ProPage> {
1312
@override
1413
Widget build(BuildContext context) {
1514
return Scaffold(
1615
appBar: AppBar(
17-
title: const Text('Gromore Pro 版本'),
18-
actions: [
19-
// 复制链接
20-
IconButton(
21-
icon: Icon(Icons.paste_rounded),
22-
onPressed: () => pasteUrl(),
23-
)
24-
],
16+
title: const Text('Pro 版体验'),
2517
),
26-
body: GestureDetector(
27-
onTap: () => pasteUrl(),
28-
child: SingleChildScrollView(
29-
child: Column(
30-
children: [
31-
Image.asset('images/gromore_1.png'),
32-
Image.asset('images/gromore_2.png'),
33-
],
34-
),
18+
body: SingleChildScrollView(
19+
child: Column(
20+
children: [
21+
const Center(
22+
child: Padding(
23+
padding: EdgeInsets.all(10.0),
24+
child: Text(
25+
'开源版不提供示例,请扫码下载 Pro 版体验',
26+
textAlign: TextAlign.center,
27+
),
28+
),
29+
),
30+
Image.network(
31+
'https://flutterads.top/gzh_qrcode.webp',
32+
fit: BoxFit.cover,
33+
),
34+
const Center(
35+
child: Padding(
36+
padding: EdgeInsets.all(10.0),
37+
child: Text(
38+
'扫码关注公众号回复【Pro】,即可下载体验',
39+
textAlign: TextAlign.center,
40+
style: TextStyle(
41+
color: Colors.purple,
42+
fontSize: 16,
43+
fontWeight: FontWeight.bold,
44+
),
45+
),
46+
),
47+
),
48+
],
3549
),
3650
),
3751
);
3852
}
39-
40-
/// 复制url
41-
Future<void> pasteUrl() async {
42-
Clipboard.setData(ClipboardData(text: 'https://flutterads.top/')).then(
43-
(value) => ScaffoldMessenger.of(context)
44-
.showSnackBar(SnackBar(content: Text('链接复制成功'))));
45-
}
4653
}

Diff for: example/pubspec.yaml

+1-1
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: 2.8.0+22
7+
version: 2.9.0+24
88

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

Diff for: ios/flutter_qq_ads.podspec

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'flutter_qq_ads'
7-
s.version = '2.8.0'
8-
s.summary = '一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇)'
7+
s.version = '2.9.0'
8+
s.summary = '一款优质的 Flutter 广告变现插件(腾讯广告、广点通、优量汇)'
99
s.description = <<-DESC
1010
一款优质的 Flutter 广告插件(腾讯广告、广点通、优量汇).
1111
DESC
12-
s.homepage = 'https://github.com/FlutterAds'
12+
s.homepage = 'https://flutterads.top/'
1313
s.license = { :file => '../LICENSE' }
1414
s.author = { 'ZeroFlutter' => '[email protected]' }
1515
s.source = { :path => '.' }
1616
s.source_files = 'Classes/**/*'
1717
s.public_header_files = 'Classes/**/*.h'
1818
s.dependency 'Flutter'
1919
# 依赖版本: https://github.com/CocoaPods/Specs/tree/master/Specs/a/a/a/GDTMobSDK
20-
s.dependency 'GDTMobSDK','4.14.90'
20+
s.dependency 'GDTMobSDK','4.15.00'
2121
s.static_framework = true
2222
# 广点通的 SDK 最低支持 9.0 所以,这里设置 9.0
2323
s.ios.deployment_target = '9.0'

0 commit comments

Comments
 (0)