Skip to content

Commit 8e84fbc

Browse files
committed
Merge branch 'release/1.3.0'
2 parents af2b1fa + a9aaca2 commit 8e84fbc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+243
-225
lines changed

.github/workflows/publish_apk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Permission
3030
run: sudo chown -R $USER $PWD
3131
- name: Build APK
32-
run: cd example && flutter build apk --target-platform android-arm
32+
run: cd example && flutter build apk
3333
- name: Upload to Pgyer
3434
run: |
3535
result=$(curl -F 'file=@example/build/app/outputs/apk/release/app-release.apk' -F '_api_key=${{ secrets.PGYER_API_KEY }}' https://www.pgyer.com/apiv2/app/upload)

CHANGELOG.md

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

6+
## 1.3.0 [2021-09-26]
7+
* 修复同时引入 [flutter_pangle_ads](https://github.com/FlutterAds/flutter_pangle_ads) 依赖时 iOS 无法编译的问题 #11
8+
* 优化底层架构
9+
* 更新 Android SDK `v4.410.1280`
10+
611
## 1.2.0 [2021-09-01]
712
* 新增 Banner 广告
813
* 项目增加 CI/CD 检查和自动发布,提高项目质量

README.md

Lines changed: 9 additions & 6 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.2.0-success></a>
8-
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/badge/null_safety-v2.2.0-success></a>
7+
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/badge/version-v1.3.0-success></a>
8+
<a href="https://github.com/FlutterAds/flutter_qq_ads"><img src=https://img.shields.io/badge/null_safety-v2.3.0-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>
@@ -29,15 +29,15 @@
2929
- 🔲 信息流
3030

3131
## 下载体验
32-
<img src="https://www.pgyer.com/app/qrcode/fadsqq" width='100' height='100'>
32+
<a href="https://www.pgyer.com/app/qrcode/fadsqq"><img src="https://www.pgyer.com/app/qrcode/fadsqq" width='100' height='100'></a>
3333

3434
## 入门使用
3535
### 引入依赖
3636

3737
``` Dart
3838
dependencies:
39-
flutter_qq_ads: ^1.2.0 # 非 Null Safety 版本
40-
flutter_qq_ads: ^2.2.0 # Null Safety 版本
39+
flutter_qq_ads: ^1.3.0 # 非 Null Safety 版本
40+
flutter_qq_ads: ^2.3.0 # Null Safety 版本
4141
```
4242

4343
### 初始化广告
@@ -273,12 +273,15 @@ pod install
273273
|master|稳定分支,非 Null Safety|
274274
|2x|稳定分支,Null Safety|
275275

276+
## 更新日志
277+
[查看 Releases 版本日志](https://github.com/FlutterAds/flutter_qq_ads/releases)
278+
276279
## 遇到问题
277280
如果你遇到问题请提 [Issues](https://github.com/FlutterAds/flutter_qq_ads/issues) 给我(提问前建议先搜索尝试,没有再提问)
278281

279282
## 支持开源
280283

281-
支持开源项目最好的方式就是用 1 秒点个免费的 [Star](https://github.com/FlutterAds/flutter_qq_ads)
284+
支持开源项目最好的方式就是点个免费的 [Star](https://github.com/FlutterAds/flutter_qq_ads) ⭐️
282285

283286
## FlutterAds 系列插件
284287
|插件|描述|

android/build.gradle

Lines changed: 1 addition & 1 deletion
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
41-
implementation 'com.qq.e.union:union:4.400.1270'
41+
implementation 'com.qq.e.union:union:4.410.1280'
4242
}

android/gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
org.gradle.jvmargs=-Xmx1536M
22
android.useAndroidX=true
33
android.enableJetifier=true
4+
android.enableR8=true

android/src/main/java/com/zero/flutter_qq_ads/PluginDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void getPlatformVersion(MethodCall call, MethodChannel.Result result) {
128128
}
129129

130130
/**
131-
* 展示 Banner 广告
131+
* 注册 Banner 广告
132132
*/
133133
public void registerBannerView() {
134134
bind.getPlatformViewRegistry()

example/android/app/build.gradle

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,24 @@ android {
4141
versionName flutterVersionName
4242
}
4343

44+
//签名信息
45+
signingConfigs {
46+
release {
47+
storeFile new File("${project.projectDir}/keystore/flutterads_key.jks")
48+
storePassword "FlutterAds"
49+
keyAlias 'FlutterAdsQQ'
50+
keyPassword "FlutterAds"
51+
//2个版本的签名
52+
v1SigningEnabled true
53+
v2SigningEnabled true
54+
}
55+
}
56+
4457
buildTypes {
4558
release {
4659
// TODO: Add your own signing config for the release build.
4760
// Signing with the debug keys for now, so `flutter run --release` works.
48-
signingConfig signingConfigs.debug
61+
signingConfig signingConfigs.release
4962
}
5063
}
5164

2.57 KB
Binary file not shown.

example/android/app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
xmlns:tools="http://schemas.android.com/tools"
23
package="com.zero.flutter_qq_ads_example">
34
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
45
calls FlutterMain.startInitialization(this); in its onCreate method.
@@ -10,7 +11,8 @@
1011
android:name="io.flutter.app.FlutterApplication"
1112
android:label="FlutterAds"
1213
android:icon="@mipmap/ic_launcher"
13-
android:theme="@style/AppTheme">
14+
android:theme="@style/AppTheme"
15+
tools:replace="android:label">
1416
<activity
1517
android:name=".MainActivity"
1618
android:launchMode="singleTop"

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.5.0'
8+
classpath 'com.android.tools.build:gradle:3.5.4'
99
}
1010
}
1111

0 commit comments

Comments
 (0)