canbican / admobrewarded Goto Github PK
View Code? Open in Web Editor NEWAppcelerator Titanium Module for Admob Rewarded Ads.
Appcelerator Titanium Module for Admob Rewarded Ads.
The manifest has been updated but there isn’t a version 0.4 in the releases tab. Also i tried making the changes myself in the manifest file after downloading android version 0.3 but it doesn’t work.
I am using ti.admob and admobrewarded modules to implement banner ad and rewarded video feature.
But while compiling it gives error as "Duplicate framework GoogleMobileAds detected " at respective module location.
If I tried to remove GoogleMobileAds from any one module the feature stops working.How to share GoogleMobileAds between two modules? Thank you
Change your manifest with :
#
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 0.4
apiversion: 4
architectures: armeabi-v7a x86 arm64-v8a
description: Admob Rewarded Ads
author: Can Bican
license: Apache License, Version 2.0
copyright: 2017
# these should not be edited
name: admobrewarded
moduleid: net.birdirbir.admobrewarded
guid: 67516e34-8019-4df4-a03f-ff706d4b2a26
platform: android
minsdk: 7.0.0.GA
net.birdirbir.admobrewarded-android-0.4.zip
I've attached the module.
Hello, thanks for your module @1dir1 ! Can you add support for Native Ads, Native Ads Express and Native Ads Advanced please ? Here is the documentation : https://developers.google.com/admob/android/native, https://developers.google.com/admob/android/native-express and https://developers.google.com/admob/android/native-advanced
First off thank you for providing this solution to as it works great.
Please would you be so kind as to advise on how-to update to the latest play services.
At the moment when updating to 11.0.4
The following message is received when trying to load the instance of this module:
[INFO] : art: Rejecting re-init on previously-failed class java.lang.Class<net.birdirbir.admobrewarded.RewardedVideoProxy>
[INFO] : art: Rejecting re-init on previously-failed class java.lang.Class<net.birdirbir.admobrewarded.RewardedVideoProxy>
[INFO] : art: Rejecting re-init on previously-failed class java.lang.Class<net.birdirbir.admobrewarded.RewardedVideoProxy>
[INFO] : art: Rejecting re-init on previously-failed class java.lang.Class<net.birdirbir.admobrewarded.RewardedVideoProxy>
[INFO] : art: Rejecting re-init on previously-failed class java.lang.Class<net.birdirbir.admobrewarded.RewardedVideoProxy>
[INFO] : art: Rejecting re-init on previously-failed class java.lang.Class<net.birdirbir.admobrewarded.RewardedVideoProxy>
[INFO] : art: Rejecting re-init on previously-failed class java.lang.Class<net.birdirbir.admobrewarded.RewardedVideoProxy>
[WARN] : W/System.err: java.lang.NoClassDefFoundError: net.birdirbir.admobrewarded.RewardedVideoProxy
[WARN] : W/System.err: at net.birdirbir.admobrewarded.AdmobrewardedModule.createAd(AdmobrewardedModule.java:69)
[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)
[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:196)
[WARN] : W/System.err: at org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:243)
[WARN] : W/System.err: at org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:128)
[WARN] : W/System.err: at org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:183)
[WARN] : W/System.err: at org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:172)
[WARN] : W/System.err: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:684)
[WARN] : W/System.err: at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:169)
[WARN] : W/System.err: at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:161)
[WARN] : W/System.err: at android.app.Activity.performCreate(Activity.java:5933)
[WARN] : W/System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
[WARN] : W/System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
[WARN] : W/System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
[WARN] : W/System.err: at android.app.ActivityThread.access$800(ActivityThread.java:144)
[WARN] : W/System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
[WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
[WARN] : W/System.err: at android.os.Looper.loop(Looper.java:135)
[WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5221)
[WARN] : W/System.err: at java.lang.reflect.Method.invoke(Native Method)
[WARN] : W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
[WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
[WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
[ERROR] : TiExceptionHandler: (main) [4,68] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,68] - In /app.js:256,30
[ERROR] : TiExceptionHandler: (main) [0,68] - Message: Uncaught net.birdirbir.admobrewarded.RewardedVideoProxy
[ERROR] : TiExceptionHandler: (main) [0,68] - Source: var instance = admobrewarded.createAd({
[ERROR] : V8Exception: Exception occurred at /app.js:256: Uncaught net.birdirbir.admobrewarded.RewardedVideoProxy
[ERROR] : V8Exception: net.birdirbir.admobrewarded.RewardedVideoProxy
We are trying to us this module with ti.goosh however it is causing an issue due to the updated play services jar's
Thank you so much for your help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.