Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

iOS 8.1.3 problem with iPhone 6 and Vungle ad feedback
Started by d.mach Feb 11 2015 01:01 AM

17 replies to this topic
ios 8.1.3 xcode iphone6 vungle problem feedback listener
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 908 posts
  • Corona SDK

I encountered a problem on an iPhone 6 with iOS 8.1.3 and noticed a big difference in the vungle ad listener feedback.

 

I'm doing the following:

VungleAdsListener = function(event)
    if event.type == "adStart" and event.isError then
        print("Downloading video ad ...")
    elseif event.type == "adEnd" then
        print ("Hope you enjoyed the video!")
    elseif event.isCompletedView == true then
        -- means the user has watched 80% of the video...
        _G.vimeoVideoWasWatched=true
    else
        if event.type then
            print ("event: "..event.type)
        end
    end
end

This code is working perfectly on an iPad with an older iOS 7.x and is also tested on an iPad using 6.x
 meaning the event.isCompletedView == true state is checked correctly and the variable _G.vimeoVideoWasWatched is set true.

 

With an iPhone 6 (and iOS 8.1.3) it looks like the event is not checked because the variable _G.vimeoVideoWasWatched is NOT set to true in the listener.

 

Can someone please tell me if this is a problem with the new iOS, the iPhone6, the current vungle version, my code, etc. ?

 

Thanks for your help with this!

 

Daniela

 

PS: I'm using an "incentivized" ad!



[TOPIC: post.html]
#2

mkauble

[GLOBAL: userInfoPane.html]
mkauble
  • Observer

  • 8 posts
  • Corona SDK

I am having the same issue.  Code that previously worked is not firing because it is not getting event.isCompletedView == true.  Simple print debug statements never happen.  In iOS simulator, it is working.  On iPhone running iOS 8.1.3, it is not working.



[TOPIC: post.html]
#3

sbullock

[GLOBAL: userInfoPane.html]
sbullock
  • Contributor

  • 177 posts
  • Corona SDK

Hi Daniela and mkauble;

 

Have you two seen or heard anything new on this. I want to implement a rewarded video setup (without server-to-server) and having event.isCompletedView be reliable is a must. Is there a Vungle person that monitors the forum?

 

Thanks;

 

Steve



[TOPIC: post.html]
#4

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 908 posts
  • Corona SDK

Hi Daniela and mkauble;

 

Have you two seen or heard anything new on this. I want to implement a rewarded video setup (without server-to-server) and having event.isCompletedView be reliable is a must. Is there a Vungle person that monitors the forum?

 

Thanks;

 

Steve

 

I haven't followed up after getting no info on this. I build my own solution using a timer for tracking how much time was spend watching to get the info if a video was watched over 80%.



[TOPIC: post.html]
#5

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

Hi all, 

 

Apologies on the delay- this one must have slipped through our radar. Our iOS team is now working on it and I will update you when we've got more info!

 

Jordyn

Vungle



[TOPIC: post.html]
#6

sbullock

[GLOBAL: userInfoPane.html]
sbullock
  • Contributor

  • 177 posts
  • Corona SDK

Hi Jordyn;

 

Thanks for the followup. Look forward to a solution.

 

Steve



[TOPIC: post.html]
#7

henson802

[GLOBAL: userInfoPane.html]
henson802
  • Contributor

  • 126 posts
  • Corona SDK


Adverts works fine when I test on my iPad Mini. But when I test my iPhone 6 , it's not displaying adverts.

*** My issue is from test limits displaying ads for each device. ***

Chris from Vungle was very helpful in my resolution. Great customer support.

[TOPIC: post.html]
#8

sbullock

[GLOBAL: userInfoPane.html]
sbullock
  • Contributor

  • 177 posts
  • Corona SDK

Hi Henson802;

 

I don't understand your post. What are you referring to in the line that says:

 

"     *** This was fixed with latest corona build   "

 

Are you referring to "event.isCompletedView" and the fact that it doesn't get fired with iPhone 6s (topic of this thread)??

 

Thanks;

 

Steve



[TOPIC: post.html]
#9

henson802

[GLOBAL: userInfoPane.html]
henson802
  • Contributor

  • 126 posts
  • Corona SDK

@sbullock .. No sorry, I misunderstood the issue I was having. It actually stems from daily test limits of ads for each device. I figured since, at the time, ads were displaying on iPad mini and not iphone6 that there were more issues revolving around iphone6 and iOS 8.1.3. I'll edit my previous post now

[TOPIC: post.html]
#10

sbullock

[GLOBAL: userInfoPane.html]
sbullock
  • Contributor

  • 177 posts
  • Corona SDK

Thanks Henson802. Appreciate your edit.

 

I believe this issue is still outstanding and unaddressed. (Jordyn of Vungle - anything??)

 

Steve



[TOPIC: post.html]
#11

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

Hi all, 

 

We are still working on this issue. I don't have an update just yet, but I am pushing on the team to get this through. Will update soon! :)

 

Jordyn

Developer Programs Engineer

Vungle



[TOPIC: post.html]
#12

Nathan B

[GLOBAL: userInfoPane.html]
Nathan B
  • Contributor

  • 173 posts
  • Corona SDK

I'm going to bump this post because I believe I'm having the same problem. My listener is not being called by "ads.init", so the video will play but I can't react to events, which is entirely necessary. I'm testing on iOS 8.3.

 

Nathan



[TOPIC: post.html]
#13

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

Hi Nathan, 

 

The fix for this will be released with our next Corona/Vungle plugin, version 2.1.1. I have just sent a message to the team for an ETA on that release. I'll update this when I hear back!

 

Cheers,

 

Jordyn Chuhaloff

Developer Programs Engineer

Vungle

 

Update: This version has been passed to QA and is expected to be released soon, hopefully this week.



[TOPIC: post.html]
#14

Nathan B

[GLOBAL: userInfoPane.html]
Nathan B
  • Contributor

  • 173 posts
  • Corona SDK

Thanks, Jordyn! This problem is fixed, and my ads.init() listener is now processing event types. 

 

Nathan



[TOPIC: post.html]
#15

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

Hi all, 

 

Corona/Vungle plugin, version 2.1.1, is now live! It should fix this issue. Please let me know if you continue to see the issue, or if you have any questions.

 

Cheers,

 

Jordyn Chuhaloff

Developer Programs Engineer

Vungle



[TOPIC: post.html]
#16

Umut Demirel

[GLOBAL: userInfoPane.html]
Umut Demirel
  • Observer

  • 13 posts
  • Corona SDK

Hi Jordyn,

 

I am having a difficulty to use Vungle incentivised ads in my app. I tested with iphone5 (8.4) and ipad4 (8.4). I am using Corona Simulator Version 2015.2692 (2015.7.29)

 

In adEnd type event,

event.wasCallToActionClicked is always nil

 

In adView type event,

event.isCompletedView works

event.secondsWatched works

event.totalAdSeconds is always nil

 

Here is my vungle listener :

AdNetworks.vungleListener = function ( event )
   if ( event.type == "adStart" and event.isError ) then
        infoText.text = infoText.text .. " \n " .. event.type .. " Video not availible"
    end
    if ( event.type == "adStart" and not event.isError ) then
        -- Ad will play
        infoText.text = infoText.text .. " \n " .. event.type
    end
    if ( event.type == "cachedAdAvailable" ) then

    end
    if ( event.type == "adView" ) then
    	infoText.text = infoText.text .. " \n " .. event.type .. " " .. tostring(event.isCompletedView) .. " " .. tostring(event.totalAdSeconds) .. " " .. tostring(event.secondsWatched)
    end
    if ( event.type == "adEnd" ) then
    	infoText.text = infoText.text .. " \n " .. event.type .. " " .. tostring(event.wasCallToActionClicked)
    end
end

Thanks for your answer in advance.



[TOPIC: post.html]
#17

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

Hi Umut, 

 

I did some testing and found that I can reproduce this as well. I'll send a ticket in to our plugins team and let you know what I find out.

 

Thanks!

Jordyn Chuhaloff

Developer Programs Engineer

Vungle



[TOPIC: post.html]
#18

jordyn.chuhaloff

[GLOBAL: userInfoPane.html]
jordyn.chuhaloff
  • Enthusiast

  • 49 posts
  • Enterprise

Hi Umut, 

 

Looks like these properties haven't ever been available for iOS, just Android. We will be implementing them soon, so that both platforms match. I'll update this thread when it becomes available! 

 

Jordyn Chuhaloff

Developer Programs Engineer

Vungle




[topic_controls]
[/topic_controls]