Skip to content

Commit

Permalink
Bump to version 0.2.1
Browse files Browse the repository at this point in the history
- Added ADAPTIVE Banner Size
- fix: wrong node path for android interstitial id #1
  • Loading branch information
gumaciel committed Jun 23, 2021
1 parent f8229b0 commit 116be02
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 16 deletions.
9 changes: 0 additions & 9 deletions addons/admob/develop/Example.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,6 @@ __meta__ = {
"_edit_use_anchors_": true
}

[node name="UnifiedNative" type="Panel" parent="Background"]
anchor_left = 0.293962
anchor_top = 0.782665
anchor_right = 0.727962
anchor_bottom = 0.875998
__meta__ = {
"_edit_use_anchors_": true
}

[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )
autoplay = true
Expand Down
2 changes: 1 addition & 1 deletion addons/admob/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="AdMob"
description="The AdMob of Plugin for Android and iOS."
author="Poing Studios"
version="0.2.0"
version="0.2.1"
script="AdMob.gd"
10 changes: 5 additions & 5 deletions addons/admob/scenes/AdMobConfig.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ __meta__ = {

[node name="BannerSize" type="OptionButton" parent="VBoxContainer/BannerSizeHBoxContainer"]
margin_left = 79.0
margin_right = 161.0
margin_right = 243.0
margin_bottom = 20.0
text = "BANNER"
items = [ "BANNER", null, false, 0, null, "MEDIUM_RECTANGLE", null, false, 1, null, "FULL_BANNER", null, false, 2, null, "LEADERBOARD", null, false, 3, null, "SMART_BANNER", null, false, 4, null ]
selected = 0
text = "MEDIUM_RECTANGLE"
items = [ "BANNER", null, false, 0, null, "MEDIUM_RECTANGLE", null, false, 1, null, "FULL_BANNER", null, false, 2, null, "LEADERBOARD", null, false, 3, null, "ADAPTIVE", null, false, 4, null, "SMART_BANNER", null, false, 5, null ]
selected = 1
__meta__ = {
"_edit_use_anchors_": false
}
Expand Down Expand Up @@ -189,7 +189,7 @@ __meta__ = {
margin_left = 49.0
margin_right = 352.0
margin_bottom = 24.0
text = "ca-app-pub-3940256099942544/1033173712"
text = "ca-app-pub-3940256099942544/6300978111"
align = 1
expand_to_text_length = true
virtual_keyboard_enabled = false
Expand Down
2 changes: 1 addition & 1 deletion addons/admob/scripts/util/Variables.gd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var rewarded_loaded : bool = false
var _admob_singleton : Object
var _control_node_to_be_replaced : Control
enum _position_options {BOTTOM, TOP}
const BANNER_SIZE = ["BANNER", "MEDIUM_RECTANGLE", "FULL_BANNER", "LEADERBOARD", "SMART_BANNER"]
const BANNER_SIZE = ["BANNER", "MEDIUM_RECTANGLE", "FULL_BANNER", "LEADERBOARD", "ADAPTIVE", "SMART_BANNER"]
const MAX_AD_RATING = ["G", "PG", "T", "MA"]


Expand Down

0 comments on commit 116be02

Please sign in to comment.