@@ -48,7 +48,7 @@ export default class Example extends Component {
48
48
( ) => console . log ( 'rewardedVideoDidLoad' )
49
49
) ;
50
50
AdMobRewarded . addEventListener ( 'rewardedVideoDidFailToLoad' ,
51
- ( error ) => console . log ( 'rewardedVideoDidFailToLoad' , error )
51
+ ( error ) => console . warn ( error )
52
52
) ;
53
53
AdMobRewarded . addEventListener ( 'rewardedVideoDidOpen' ,
54
54
( ) => console . log ( 'rewardedVideoDidOpen' )
@@ -59,14 +59,14 @@ export default class Example extends Component {
59
59
AdMobRewarded . addEventListener ( 'rewardedVideoDidClose' ,
60
60
( ) => {
61
61
console . log ( 'rewardedVideoDidClose' ) ;
62
- AdMobRewarded . requestAd ( ) . catch ( error => console . log ( error ) ) ;
62
+ AdMobRewarded . requestAd ( ) . catch ( error => console . warn ( error ) ) ;
63
63
}
64
64
) ;
65
65
AdMobRewarded . addEventListener ( 'rewardedVideoWillLeaveApplication' ,
66
66
( ) => console . log ( 'rewardedVideoWillLeaveApplication' )
67
67
) ;
68
68
69
- AdMobRewarded . requestAd ( ) . catch ( error => console . log ( error ) ) ;
69
+ AdMobRewarded . requestAd ( ) . catch ( error => console . warn ( error ) ) ;
70
70
71
71
AdMobInterstitial . setTestDevices ( [ AdMobInterstitial . simulatorId ] ) ;
72
72
AdMobInterstitial . setAdUnitID ( 'ca-app-pub-3940256099942544/4411468910' ) ;
@@ -75,22 +75,22 @@ export default class Example extends Component {
75
75
( ) => console . log ( 'interstitialDidLoad' )
76
76
) ;
77
77
AdMobInterstitial . addEventListener ( 'interstitialDidFailToLoad' ,
78
- ( error ) => console . log ( 'interstitialDidFailToLoad' , error )
78
+ ( error ) => console . warn ( error )
79
79
) ;
80
80
AdMobInterstitial . addEventListener ( 'interstitialDidOpen' ,
81
81
( ) => console . log ( 'interstitialDidOpen' )
82
82
) ;
83
83
AdMobInterstitial . addEventListener ( 'interstitialDidClose' ,
84
84
( ) => {
85
85
console . log ( 'interstitialDidClose' ) ;
86
- AdMobInterstitial . requestAd ( ) . catch ( error => console . log ( error ) ) ;
86
+ AdMobInterstitial . requestAd ( ) . catch ( error => console . warn ( error ) ) ;
87
87
}
88
88
) ;
89
89
AdMobInterstitial . addEventListener ( 'interstitialWillLeaveApplication' ,
90
90
( ) => console . log ( 'interstitialWillLeaveApplication' )
91
91
) ;
92
92
93
- AdMobInterstitial . requestAd ( ) . catch ( error => console . log ( error ) ) ;
93
+ AdMobInterstitial . requestAd ( ) . catch ( error => console . warn ( error ) ) ;
94
94
}
95
95
96
96
componentWillUnmount ( ) {
@@ -99,11 +99,11 @@ export default class Example extends Component {
99
99
}
100
100
101
101
showRewarded ( ) {
102
- AdMobRewarded . showAd ( ) . catch ( error => console . log ( error ) ) ;
102
+ AdMobRewarded . showAd ( ) . catch ( error => console . warn ( error ) ) ;
103
103
}
104
104
105
105
showInterstitial ( ) {
106
- AdMobInterstitial . showAd ( ) . catch ( error => console . log ( error ) ) ;
106
+ AdMobInterstitial . showAd ( ) . catch ( error => console . warn ( error ) ) ;
107
107
}
108
108
109
109
render ( ) {
0 commit comments