kivy with unity ads android

105 views
Skip to first unread message

Degenerate Tech

unread,
Apr 9, 2021, 11:15:58 AM4/9/21
to Kivy users support
here interstitial and rewarded working as he implemented 
https://github.com/SonofPoseidon1982/kivunity
but i want banner ads 

i was reading java android code 
@Robert Flatt  can you please help me to implement banner ads 




i was writing 

class  UnityBannerListener(PythonJavaClass):
   __javainterfaces__= ['com/unity3d/services/banners/BannerView/IListener']
   __javacontext__= 'app'
   @java_method('(Lcom/unity3d/services/banners/BannerView;)V')
   def onBannerLoaded(self,bannerAdView):
      pass
    @java_method('(Lcom/unity3d/services/banners/BannerView;)V')
   def onBannerClick(self,bannerAdView):
      pass
   @java_method('(Lcom/unity3d/services/banners/BannerView;)V')
   def onBannerLeftApplication(self,bannerAdView):
      pass

Robert

unread,
Apr 9, 2021, 3:13:41 PM4/9/21
to Kivy users support
I have never done this so I don't know enough to show you how to do it.

Looking at your code and the web page, you are doing about the right thing.

Do you have a specific question?

Degenerate Tech

unread,
Apr 9, 2021, 3:24:09 PM4/9/21
to Kivy users support
😁😁😁😁😁 Unity Banner Ads successful but problem is test ads is showing properly .but when I switched test mode to real mode it is showing failed to load 😐😐😣😣

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/GMwDz5l6evU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/7d613926-aa75-4190-a0e9-030d2a0f6a74n%40googlegroups.com.
Screenshot_20210410-004902.jpg

Robert

unread,
Apr 9, 2021, 11:46:31 PM4/9/21
to Kivy users support
🎈🎆🎇🧨✨🎉🎊
You are now officially a Pyjnius God 😎

As to Unity test/real mode, you are not the only one to find issues:
https://www.google.com/search?q=unity+only+works+in+test+mode
Reply all
Reply to author
Forward
0 new messages