Skip to content

Commit

Permalink
✅ Banner 测试通过
Browse files Browse the repository at this point in the history
  • Loading branch information
BytesZero committed Oct 23, 2023
1 parent d4c42c3 commit 090f6a9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion example/lib/pages/banner_page.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_pangle_ads/flutter_pangle_ads.dart';
import 'package:flutter_qq_ads/flutter_qq_ads.dart';

import '../ads_config.dart';
import '../widgets/widgets.dart';
Expand Down
15 changes: 12 additions & 3 deletions example/lib/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,22 @@ class _HomePageState extends State<HomePage> {
kDivider,
ListTile(
dense: true,
title: Text('请求应用跟踪透明授权(iOS)'),
title: Text(
'📢 优量汇测试广告位有限制而且还经常冻结,请使用 GroMore 体验',
style: TextStyle(color: Colors.amber),
),
onTap: () => pushProPage(context),
),
kDivider,
ListTile(
dense: true,
title: Text('🍎 请求应用跟踪透明授权(iOS)'),
onTap: () => requestIDFA(),
),
kDivider,
ListTile(
dense: true,
title: Text('设置个性化广告'),
title: Text('🌈 设置个性化广告'),
onTap: () => setPersonalizedAd(1),
),
kDivider,
Expand All @@ -59,7 +68,7 @@ class _HomePageState extends State<HomePage> {
),
kDivider,
ListTile(
title: Text('新插屏广告'),
title: Text('插屏广告'),
onTap: () => pushPage(context, InterstitialPage()),
),
kDivider,
Expand Down
6 changes: 3 additions & 3 deletions example/lib/pages/interstitial_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ class _InterstitialPageState extends State<InterstitialPage> {
body: Column(
children: [
ListTile(
title: Text('新插屏-半屏'),
title: Text('插屏-半屏'),
onTap: () => showInterstitialAd(AdsConfig.interstitialId),
),
kDivider,
ListTile(
title: Text('新插屏-全屏'),
title: Text('插屏-全屏'),
onTap: () => showInterstitialAd(
AdsConfig.interstitialFullScreenVideoId,
showFullScreenVideo: true),
),
kDivider,
ListTile(
title: Text('新插屏-激励视频'),
title: Text('插屏-激励视频'),
onTap: () => showInterstitialAd(AdsConfig.interstitialRewardVideoId,
showRewardVideo: true),
),
Expand Down
1 change: 0 additions & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.4
flutter_pangle_ads: ^2.9.0
loadany: ^1.0.0

dev_dependencies:
Expand Down

0 comments on commit 090f6a9

Please sign in to comment.