Skip to content

Commit

Permalink
🔖 v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BytesZero committed Mar 12, 2024
1 parent 68aa1cc commit 5dfde2c
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 341 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
## v3.0.0
* 🚀🚀🚀 借助 [FlutterGromore Pro版](https://flutterads.github.io/site/) 可以帮你大幅提升广告收益,发挥出最大的用户价值 🏆
* [🏆 Pro版](https://flutterads.github.io/site/) 额外支持【信息流、激励视频、测试助手、实时收益、】
* 适配 Flutter 新版本
* 升级 Android&iOS SDK 版本

## v2.1.0
* 🚀🚀🚀 借助 [flutter_gromore_pro](https://github.com/FlutterAds/flutter_gromore_ads/tree/pro) 可以帮你大幅提升广告收益,发挥出最大的用户价值 🏆
* 升级 iOS SDK 到 `v5.6.0.9`
* 升级 Android SDK 到 `v5.6.1.6`

## 2.0.0
* 增加信息流广告支持
* 增加新广告支持
## 1.3.2
* 增加 Banner 广告支持
## 1.3.1
Expand Down
1 change: 0 additions & 1 deletion ads/fgm_gdt
Submodule fgm_gdt deleted from a97016
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ public void requestPermissionIfNecessary(MethodCall call, MethodChannel.Result r
*/
public void initAd(MethodCall call, final MethodChannel.Result result) {
String appId = call.argument("appId");
String config = call.argument("config");
int limitPersonalAds = call.argument("limitPersonalAds");

// 构建基础配置
Expand All @@ -159,29 +158,10 @@ public void initAd(MethodCall call, final MethodChannel.Result result) {
.useMediation(true)
.debug(BuildConfig.DEBUG)
.supportMultiProcess(false);
// 离线配置
JSONObject localConfigJson = null;
if (!TextUtils.isEmpty(config)) {
String localConfigStr = FileUtils.getJson(config, activity);
try {
localConfigJson = new JSONObject(localConfigStr);
} catch (JSONException e) {
e.printStackTrace();
}
}
// 构建配置
TTAdConfig gmPangleOption;
if (localConfigJson != null) {
gmPangleOption = configBuilder
.customController(getTTCustomController(limitPersonalAds == 0))
.setMediationConfig(new MediationConfig.Builder()
.setCustomLocalConfig(localConfigJson)
.build()).build();
} else {
gmPangleOption = configBuilder
.customController(getTTCustomController(limitPersonalAds == 0))
.build();
}
TTAdConfig gmPangleOption = configBuilder
.customController(getTTCustomController(limitPersonalAds == 0))
.build();
// 初始化 SDK
TTAdSdk.init(activity.getApplicationContext(),gmPangleOption);
TTAdSdk.start(new TTAdSdk.Callback() {
Expand Down

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion example/ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
<string>12.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '11.0'
# platform :ios, '12.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
6 changes: 3 additions & 3 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -450,7 +450,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -499,7 +499,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
2 changes: 0 additions & 2 deletions ios/Classes/FlutterGromoreAdsPlugin.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#import <Flutter/Flutter.h>
#import "FGMSplashPage.h"
#import "FGMInterstitialPage.h"
#import "FGMFeedAdLoad.h"
#import "FGMFeedAdManager.h"

@interface FlutterGromoreAdsPlugin : NSObject<FlutterPlugin,FlutterStreamHandler>
@property (strong,nonatomic) FlutterEventSink eventSink;// 事件
Expand Down
16 changes: 0 additions & 16 deletions ios/Classes/Load/FGMFeedAdLoad.h

This file was deleted.

81 changes: 0 additions & 81 deletions ios/Classes/Load/FGMFeedAdLoad.m

This file was deleted.

20 changes: 0 additions & 20 deletions ios/Classes/Load/FGMFeedAdManager.h

This file was deleted.

Loading

0 comments on commit 5dfde2c

Please sign in to comment.