Skip to content

Commit

Permalink
升级 Android 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
BytesZero committed Oct 22, 2023
1 parent c674f3d commit 4136b08
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ dependencies {
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// 广告 SDK
implementation 'com.pangle.cn:ads-sdk-pro:5.4.1.6'
implementation 'com.pangle.cn:ads-sdk-pro:5.5.1.7'
// compileOnly fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
}
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ public void initAd(MethodCall call, final MethodChannel.Result result) {
.debug(BuildConfig.DEBUG) //测试阶段打开,可以通过日志排查问题,上线时去除该调用
.supportMultiProcess(supportMultiProcess)//是否支持多进程
.directDownloadNetworkType(directDownloadNetworkTypeList)// 直接下载的网络方式
.needClearTaskReset()
.build();
// 初始化 SDK
TTAdSdk.init(activity.getApplicationContext(), config, new TTAdSdk.InitCallback() {
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.android.tools.build:gradle:7.3.0'
}
}

Expand Down
4 changes: 2 additions & 2 deletions example/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Sep 02 15:34:15 CST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion ios/Classes/Event/AdRewardEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#import "BaseAdPage.h"
// 广告激励事件
@interface AdRewardEvent : AdEvent
// 错误码
// 激励类型
@property (nonatomic,assign) NSInteger rewardType;
// 奖励是否有效
@property BOOL rewardVerify;
Expand Down

0 comments on commit 4136b08

Please sign in to comment.