Skip to content

Commit 59ec172

Browse files
committed
发布1.2.0
1 parent 4f81bf3 commit 59ec172

File tree

7 files changed

+18
-14
lines changed

7 files changed

+18
-14
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,9 @@
141141

142142
## 1.1.9
143143

144-
* 1、修复ios激励广告奖励校验异常
144+
* 1、修复ios激励广告奖励校验异常
145+
146+
## 1.2.0
147+
148+
* 1、Android sdk升级4.1.0.5
149+
* 2、IOS sdk升级4.2.0.0

README.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 字节跳动穿山甲广告 Flutter版本
22

33
<p>
4-
<a href="https://pub.flutter-io.cn/packages/flutter_unionad"><img src=https://img.shields.io/badge/flutter_unionad-v1.1.9-success></a>
4+
<a href="https://pub.flutter-io.cn/packages/flutter_unionad"><img src=https://img.shields.io/badge/flutter_unionad-v1.2.0-success></a>
55
</p>
66

77
![image](https://github.com/gstory0404/flutter_unionad/blob/master/image/demo.gif)
@@ -15,27 +15,26 @@
1515

1616
## 本地环境
1717
```
18-
[✓] Flutter (Channel stable, 2.5.0, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
18+
[✓] Flutter (Channel stable, 2.8.0, on macOS 12.0.1 21A559 darwin-x64, locale zh-Hans-CN)
1919
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
20-
[✓] Xcode - develop for iOS and macOS
20+
[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
2121
[✓] Chrome - develop for the web
2222
[✓] Android Studio (version 2020.3)
23-
[✓] VS Code (version 1.62.1)
23+
[✓] VS Code (version 1.63.0)
2424
[✓] Connected device (4 available)
25-
2625
```
2726

2827
## 集成步骤
2928
#### 1、pubspec.yaml
3029
```Dart
31-
flutter_unionad: ^1.1.9
30+
flutter_unionad: ^1.2.0
3231
```
3332
引入
3433
```Dart
3534
import 'package:flutter_unionad/flutter_unionad.dart';
3635
```
3736
#### 2、Android
38-
SDK([4.0.2.2](https://www.csjplatform.com/union/media/union/download/log?id=4))已配置插件中无需额外配置,只需要在android目录中AndroidManifest.xml配置
37+
SDK([4.1.0.5](https://www.csjplatform.com/union/media/union/download/log?id=4))已配置插件中无需额外配置,只需要在android目录中AndroidManifest.xml配置
3938
```Java
4039
<manifest ···
4140
xmlns:tools="http://schemas.android.com/tools"
@@ -45,7 +44,7 @@ SDK([4.0.2.2](https://www.csjplatform.com/union/media/union/download/log?id=4))
4544
```
4645

4746
#### 3、IOS
48-
SDK([4.1.0.1](https://www.csjplatform.com/union/media/union/download/log?id=16)))已配置插件中,其余根据SDK文档配置,因为使用PlatformView,在Info.plist加入
47+
SDK([4.2.0.0](https://www.csjplatform.com/union/media/union/download/log?id=16)))已配置插件中,其余根据SDK文档配置,因为使用PlatformView,在Info.plist加入
4948
```
5049
<key>io.flutter.embedded_views_preview</key>
5150
<true/>

android/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959
implementation "androidx.appcompat:appcompat:1.3.1"
6060
// implementation 'com.squareup.okhttp3:okhttp:3.12.1'
6161
// implementation 'com.pangle.cn:ads-sdk:+'
62-
implementation 'com.pangle.cn:ads-sdk-pro:4.0.2.2'
62+
implementation 'com.pangle.cn:ads-sdk-pro:4.1.0.5'
6363
// implementation(name: 'open_ad_sdk_4.0.0.1', ext: 'aar')
6464
// implementation(name: 'tools_release', ext: 'aar')
6565
}

example/ios/Runner.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@
277277
97C146E61CF9000F007C117D /* Project object */ = {
278278
isa = PBXProject;
279279
attributes = {
280-
LastUpgradeCheck = 1020;
280+
LastUpgradeCheck = 1300;
281281
ORGANIZATIONNAME = "";
282282
TargetAttributes = {
283283
97C146ED1CF9000F007C117D = {

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1020"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

ios/flutter_unionad.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A new flutter plugin project.
1818
s.dependency 'Flutter'
1919
s.platform = :ios, '9.0'
2020
# s.dependency 'Ads-CN','~> 4.0.0.5'
21-
s.dependency 'Ads-CN-Beta','~> 4.1.0.1'
21+
s.dependency 'Ads-CN-Beta','~> 4.2.0.0'
2222
# .framework文件
2323
# s.vendored_frameworks = 'PangleSDK/BUAdSDK.framework','PangleSDK/BUCNAuxiliary.framework','PangleSDK/BUFoundation.framework'
2424
# .a文件

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_unionad
22
description: A flutter plugin for Bytedance-UnionAD.It is convenient for Android and IOS to directly call the method and native view of advertisement SDK.
3-
version: 1.1.9
3+
version: 1.2.0
44
homepage: https://github.com/gstory0404/flutter_unionad
55

66
environment:

0 commit comments

Comments
 (0)