From 03f7bfc59adeb2daffb3fb73e74f2cc5c771747f Mon Sep 17 00:00:00 2001 From: biplobsd Date: Fri, 12 Jun 2020 20:18:16 +0000 Subject: [PATCH] 1.3 --- .gitignore | 3 ++- buildozer.spec | 4 ++-- main.py | 20 ++++++++++++++++++-- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7b26917..ccef291 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ scan_data.json proxys.txt chunk0 chunk1 -chunk2 \ No newline at end of file +chunk2 +note.txt \ No newline at end of file diff --git a/buildozer.spec b/buildozer.spec index c541bbe..20a5ce2 100644 --- a/buildozer.spec +++ b/buildozer.spec @@ -28,7 +28,7 @@ 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__ = ['"](.*)['"] @@ -36,7 +36,7 @@ version = 1.2 # (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 diff --git a/main.py b/main.py index edda5f6..e1c0df4 100644 --- a/main.py +++ b/main.py @@ -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.""" @@ -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()