Hi people, have any of you tried playhaven yet? It works fine for me on Galaxy S3, 7" cheapo tablet and Nexus 7 but on HTC Deise S and DesireHD it chucks up this error: java.lang.ExceptionInInitializerError
Seems to be coming from when I call init. The code looks like this:
local playHaven = require("plugin.playhaven") local function listener(event) if event.data then print("PLAYHAVEN", event.data) end end local init\_options = {} --Get Platform if system.getInfo("platformName") == "Android" then init\_options = { token = "mytoken", secret = "mysecret" } end local init = function() playHaven.init(listener, init\_options) end timer.performWithDelay(1000,init)
With it working on the other stuff and being a java error I don’t see it being an error with this but I’m happy to be proven wrong!
Hi Naomi - yes its still an issue, Playhaven tech support are looking into the issue so hopefully they will fix it otherwise it’s not much good for use on Android at all!
Got it. Thank you, @Supertapp. I appreciate you letting me know. Let’s hope they’ll address it quickly.
Meanwhile, I was able to see the PlayHaven ads on test device on test mode, but I haven’t seen it appear on device when I disabled the test mode and published it (to see how it shows on screen.) Here’s what I tried, but the ads never show up:
Removed test devices from PlayHaven dashboard.
Published the app at PlayHaven dashboard.
Generated a device build with an app version that is already published in Google Play store.
Is there anything else I need to do before PlayHaven starts serving real ads? I wouldn’t want to deploy APK without ever eyeballing how it looks.
Hi Naomi have you tried pugging it into adblogcat? I had the same problem with ours but I didnt set the playhaven dashboard up just the Corona side. When something was wrong it was pretty good at printing the reason why to the log. As I remember you need to “add content” to something on the playhaven dashboard.
Hi Supertapp, yes, I was looking at the adblog cat, and it was failing to display ads. It didn’t fail when I had the test device added and showing test ads. I didn’t keep the log, and I don’t remember exact event.status I was getting. For now, I decided not not to include PlayHaven ads… I don’t have time to work this out before I get my release build out the door for now.
Used revmob instead. Playhaven tech support said something like they didn’t think it was compatible with anything equal to or below Android 2.3 but then went awol. Not sure if they are working on a fix or what?? Very frustrating.