cannot recieve "playbackEnded" only in iOS device.

I updated rewarded video recenty.

but my iOS users notified that they did not receive reward compensation.

So I tested it.

In adListener, “playbackBegan” event is displayed well in the log.

but I have not received a “playbackEnded” event.

only iOS device problem. (it works well good on android.)

To sum up.

1. “playbackBegan” event (iOS O / Android O)

2. “playbackEnded”**  event ****(iOS X / Android O)**

3. event.data[“finished”] == true (iOS X / Android O)

There are no iOS exceptions in “adListener”. just same code.

Where can I find the problem?

I’m using ‘Corona 2018.3426 build’ and appodeal.beta pulgin.

I found it.

I just commented out this line.

and now I can get “playbackEnded” event in iOS device.

I wonder why I coded it like that.

And it is strange that it was the cause.

 elseif ( event.phase == "displayed" or event.phase == "playbackBegan" ) then if event.type == "rewardedVideo" then -- if ( appodeal.isLoaded( "rewardedVideo" ) ) then -- else -- appodeal.load( "rewardedVideo" ) -- end end elseif event.phase == "playbackEnded" and event.type == "rewardedVideo" then get\_reward() if ( appodeal.isLoaded( "rewardedVideo" ) ) then else appodeal.load( "rewardedVideo" ) end end

I found it.

I just commented out this line.

and now I can get “playbackEnded” event in iOS device.

I wonder why I coded it like that.

And it is strange that it was the cause.

 elseif ( event.phase == "displayed" or event.phase == "playbackBegan" ) then if event.type == "rewardedVideo" then -- if ( appodeal.isLoaded( "rewardedVideo" ) ) then -- else -- appodeal.load( "rewardedVideo" ) -- end end elseif event.phase == "playbackEnded" and event.type == "rewardedVideo" then get\_reward() if ( appodeal.isLoaded( "rewardedVideo" ) ) then else appodeal.load( "rewardedVideo" ) end end