Skip to content

Commit

Permalink
升级sdk
Browse files Browse the repository at this point in the history
发布1.2.2
  • Loading branch information
gstory0404 committed Aug 5, 2022
1 parent 989059b commit 972b0ee
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 52 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.2.2
* android升级[4.482.1352](https://developers.adnet.qq.com/doc/android/union/union_version)
* ios升级[4.13.81](https://developers.adnet.qq.com/doc/ios/union/union_version)
*
## 1.2.1
* android升级[4.13.65](https://developers.adnet.qq.com/doc/android/union/union_version)
* ios升级[4.13.65](https://developers.adnet.qq.com/doc/ios/union/union_version)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 腾讯优量汇(广点通)广告 Flutter版本

<p>
<a href="https://pub.flutter-io.cn/packages/flutter_tencentad"><img src=https://img.shields.io/badge/flutter_tencentad-v1.2.1-success></a>
<a href="https://pub.flutter-io.cn/packages/flutter_tencentad"><img src=https://img.shields.io/badge/flutter_tencentad-v1.2.2-success></a>
</p>

## 简介
Expand Down Expand Up @@ -34,14 +34,14 @@ flutter_tencentad是一款集成了腾讯优量汇广告(广点通)Android和iOS
## 集成步骤
#### 1、pubspec.yaml
```Dart
flutter_tencentad: ^1.2.1
flutter_tencentad: ^1.2.2
```
引入
```Dart
import 'package:flutter_tencentad/flutter_tencentad.dart';
```
#### 2、Android
SDK(4.464.1334)已配置插件中无需额外配置,只需要在android目录中AndroidManifest.xml配置
SDK(4.482.1352)已配置插件中无需额外配置,只需要在android目录中AndroidManifest.xml配置

⚠️插件1.1.4以后不再默认集成权限,需手动配置
```Java
Expand All @@ -61,7 +61,7 @@ SDK(4.464.1334)已配置插件中无需额外配置,只需要在android目录

#### 3、IOS

SDK(4.13.66)已配置插件中,其余根据文档配置。因为使用PlatformView,在Info.plist加入
SDK(4.13.81)已配置插件中,其余根据文档配置。因为使用PlatformView,在Info.plist加入
```
<key>io.flutter.embedded_views_preview</key>
<true/>
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ repositories {
dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.qq.e.union:union:4.464.1334'
implementation 'com.qq.e.union:union:4.482.1352'
// implementation(name: 'GDTSDK.unionNormal.4.420.1290', ext: 'aar')
}
14 changes: 7 additions & 7 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PODS:
- Flutter (1.0.0)
- flutter_tencentad (0.0.1):
- Flutter
- GDTMobSDK (~> 4.13.66)
- GDTMobSDK (4.13.66):
- GDTMobSDK/GDTMobSDK (= 4.13.66)
- GDTMobSDK/GDTMobSDK (4.13.66)
- GDTMobSDK (= 4.13.81)
- GDTMobSDK (4.13.81):
- GDTMobSDK/GDTMobSDK (= 4.13.81)
- GDTMobSDK/GDTMobSDK (4.13.81)

DEPENDENCIES:
- Flutter (from `Flutter`)
Expand All @@ -23,9 +23,9 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
flutter_tencentad: b77c360eceb0760e4421b44b7259f80cdf289d4b
GDTMobSDK: 55b8b5676822183698b0a038553bfc86fcdb5769
flutter_tencentad: 2bd4485a3b9bf23c1f7505ead984ffb9517ee52a
GDTMobSDK: ae4fa3dae40077452abdd04ce3fa144d4a03bd8b

PODFILE CHECKSUM: 8e679eca47255a8ca8067c4c67aab20e64cb974d

COCOAPODS: 1.11.2
COCOAPODS: 1.11.3
6 changes: 3 additions & 3 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = DGXY9C45Y3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -476,7 +476,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = DGXY9C45Y3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -498,7 +498,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = "";
DEVELOPMENT_TEAM = DGXY9C45Y3;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = Runner/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
4 changes: 2 additions & 2 deletions example/lib/banner_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class _BannerPageState extends State<BannerPage> {
//android广告id
androidId: "8042711873318113",
//ios广告id
iosId: "3003321726231778",
iosId: "4043774915303757",
//广告宽 单位dp
viewWidth: 500,
//广告高 单位dp 宽高比应该为6.4:1
Expand Down Expand Up @@ -58,7 +58,7 @@ class _BannerPageState extends State<BannerPage> {
//android广告id
androidId: "8042711873318113",
//ios广告id
iosId: "7013623726731814",
iosId: "4043774915303757",
viewWidth: 500,
viewHeight: 200),
],
Expand Down
10 changes: 5 additions & 5 deletions example/lib/express_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class _ExpressPageState extends State<ExpressPage> {
//android广告id
androidId: "4072918853903023",
//ios广告id
iosId: "3003126726737888",
iosId: "6023578995600715",
//广告宽 单位dp
viewWidth: 400,
//广告高 单位dp
Expand Down Expand Up @@ -60,9 +60,9 @@ class _ExpressPageState extends State<ExpressPage> {
Text("横幅-平台模板2.0"),
FlutterTencentad.expressAdView(
//android广告id
androidId: "4052216802299999",
androidId: "4072918853903023",
//ios广告id
iosId: "3003126726737888",
iosId: "6023578995600715",
viewWidth: 228,
viewHeight: 150,
//下载二次确认弹窗 默认false
Expand All @@ -72,9 +72,9 @@ class _ExpressPageState extends State<ExpressPage> {
Text("视频贴片"),
FlutterTencentad.expressAdView(
//android广告id
androidId: "3062711883122271",
androidId: "9013670915436201",
//ios广告id
iosId: "9013224776438964",
iosId: "4033278955532222",
viewWidth: 400,
viewHeight: 300,
//下载二次确认弹窗 默认false
Expand Down
12 changes: 6 additions & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class _HomePageState extends State<HomePage> {
_isRegister = await FlutterTencentad.register(
androidId: "1200009850",
//androidId
iosId: "1200082163",
iosId: "1200718557",
//iosId
debug: true,
//是否显示日志log
Expand Down Expand Up @@ -117,7 +117,7 @@ class _HomePageState extends State<HomePage> {
//android广告id
androidId: "5042816813706194",
//ios广告id
iosId: "5083426726434762",
iosId: "4023171869997790",
//用户id
userID: "123",
//奖励
Expand All @@ -141,7 +141,7 @@ class _HomePageState extends State<HomePage> {
//android广告id
androidId: "9062813863614416",
//ios广告id
iosId: "9083924706438985",
iosId: "5093576955904702",
//是否全屏
isFullScreen: false,
//下载二次确认弹窗 默认false
Expand All @@ -157,9 +157,9 @@ class _HomePageState extends State<HomePage> {
onPressed: () async {
await FlutterTencentad.loadUnifiedInterstitialAD(
//android广告id
androidId: "5022012853615967",
androidId: "7002176717594059",
//ios广告id
iosId: "7003920796330973",
iosId: "9043571925301857",
isFullScreen: true,
//下载二次确认弹窗 默认false
downloadConfirm: true,
Expand All @@ -176,7 +176,7 @@ class _HomePageState extends State<HomePage> {
//android广告id
androidId: "7002176717594059",
//ios广告id
iosId: "5083426726434762",
iosId: "9043571925301857",
isFullScreen: true,
//下载二次确认弹窗 默认false
downloadConfirm: true,
Expand Down
2 changes: 1 addition & 1 deletion example/lib/splash_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class _SplashPageState extends State<SplashPage> {
//android广告id
androidId: "4052216802299999",
//ios广告id
iosId: "4063020736638922",
iosId: "3053975955207733",
////设置开屏广告从请求到展示所花的最大时长(并不是指广告曝光时长),取值范围为[1500, 5000]ms
fetchDelay: 3000,
//下载二次确认弹窗 默认false
Expand Down
42 changes: 21 additions & 21 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,56 +5,56 @@ packages:
dependency: transitive
description:
name: async
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "2.8.2"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.16.0"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.3"
version: "1.0.5"
fake_async:
dependency: transitive
description:
name: fake_async
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
flutter:
Expand All @@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.2.0"
version: "1.2.1"
flutter_test:
dependency: "direct dev"
description: flutter
Expand All @@ -78,28 +78,28 @@ packages:
dependency: transitive
description:
name: matcher
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
path:
dependency: transitive
description:
name: path
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
sky_engine:
Expand All @@ -111,49 +111,49 @@ packages:
dependency: transitive
description:
name: source_span
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.2"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.10.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.9"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.flutter-io.cn"
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
sdks:
Expand Down
Binary file added images/weixin.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ios/flutter_tencentad.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A new flutter plugin project.
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.platform = :ios, '9.0'
s.dependency 'GDTMobSDK', '~> 4.13.66'
s.dependency 'GDTMobSDK', '4.13.81'

# Flutter.framework does not contain a i386 slice.
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_tencentad
description: A flutter plugin for TencentAD.It is convenient for Android and IOS to directly call the method and native view of advertisement SDK.
version: 1.2.1
version: 1.2.2
homepage: https://github.com/gstory0404/flutter_tencentad

environment:
Expand Down

0 comments on commit 972b0ee

Please sign in to comment.