File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import 'dart:math';
4
4
import 'package:flutter/foundation.dart' ;
5
5
6
6
abstract class Ads {
7
- static bool _forceTest = true ;
7
+ static bool _forceTest = false ;
8
8
static bool _test = kDebugMode || _forceTest;
9
9
10
10
static String getAppId () {
@@ -20,10 +20,10 @@ abstract class Ads {
20
20
if (Platform .isIOS) {
21
21
const image = "ca-app-pub-3940256099942544/4411468910" ;
22
22
const video = "ca-app-pub-3940256099942544/5135589807" ;
23
- final roll = Random ().nextInt (2 );
24
- return roll == 1 ? image : video ;
23
+ final roll = Random ().nextInt (5 );
24
+ return roll == 1 ? video : image ;
25
25
}
26
- return "ca-app-pub-3940256099942544/6300978111 " ;
26
+ return "ca-app-pub-3940256099942544/1033173712 " ;
27
27
}
28
28
29
29
static String bannerHome () {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import 'AppTheme.dart';
9
9
class App {
10
10
static late BuildContext ctx;
11
11
static late bool isLtr;
12
- static late bool showAds = true ;
12
+ static late bool showAds = false ;
13
13
14
14
static init (BuildContext context) {
15
15
AppDimensions .init (context);
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class _UIDetailContentState extends State<UIDetailContent> {
69
69
}
70
70
71
71
void openApp (BuildContext context) {
72
- final r = Random ().nextInt (3 );
72
+ final r = Random ().nextInt (4 );
73
73
final adCheck = App .showAds && this .ad != null ;
74
74
if (r == 2 && adCheck) {
75
75
this .ad! .show ();
You can’t perform that action at this time.
0 commit comments