Skip to content

Commit

Permalink
1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
biplobsd committed Jun 12, 2020
1 parent 0ace95d commit 03f7bfc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ scan_data.json
proxys.txt
chunk0
chunk1
chunk2
chunk2
note.txt
4 changes: 2 additions & 2 deletions buildozer.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ source.include_patterns = assets/*
source.exclude_patterns = LICENSE

# (str) Application versioning (method 1)
version = 1.2
version = 1.3

# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy==9aaca29d2f4e72aac71afba5c23c6cc8128b9e3c
requirements = hostpython3==3.7.5,python3==3.7.5,kivy==master,git+https://github.com/HeaTTheatR/KivyMD.git,requests,pysocks,hurry.filesize,ago,urllib3,chardet,idna, kivmob
requirements = hostpython3==3.7.5,python3==3.7.5,kivy==master,git+https://github.com/HeaTTheatR/KivyMD.git,requests,pysocks,hurry.filesize,ago,urllib3,chardet,idna,kivmob

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
Expand Down
20 changes: 18 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,22 @@ def run_on_ui_thread(d):
# _small = 2
# Window.size = (1080/_small, 1920/_small)

class adMobIds:

""" Test AdMob App ID """
APP = "ca-app-pub-3940256099942544~3347511713"

""" Test Banner Ad ID """
BANNER = "ca-app-pub-3940256099942544/6300978111"

# """ Test Interstitial Ad ID """
# INTERSTITIAL = "ca-app-pub-3940256099942544/1033173712"

# """ Test Interstitial Video Ad ID """
# INTERSTITIAL_VIDEO = "ca-app-pub-3940256099942544/8691691433"

# """ Test Rewarded Video Ad ID """
# REWARDED_VIDEO = "ca-app-pub-3940256099942544/5224354917"

class ProxyShowList(ThemableBehavior, RectangularRippleBehavior, ButtonBehavior, FloatLayout):
"""A one line list item."""
Expand Down Expand Up @@ -316,8 +332,8 @@ def on_start(self):
if platform == 'android':
print(platform)

self.ads = KivMob(TestIds.APP)
self.ads.new_banner(TestIds.BANNER, top_pos=False)
self.ads = KivMob(adMobIds.APP)
self.ads.new_banner(adMobIds.BANNER, top_pos=False)
self.ads.request_banner()
self.ads.show_banner()

Expand Down

0 comments on commit 03f7bfc

Please sign in to comment.