firebase / quickstart-cpp

Firebase Quickstart Samples for C++
https://firebase.google.com/games
Apache License 2.0
212 stars 123 forks source link

[Admob] IOS : Error while loading a rewarded video ad #39

Closed doandoindi closed 4 years ago

doandoindi commented 4 years ago

Hello team,

I'm trying to using the Admob tutorial. Unfortunately I always get the error while loading the rewarded video ads.

The log I got like:

2019-12-05 11:13:07.176988+0700 testapp[462:43948] Initializing rewarded video.
2019-12-05 11:13:08.177713+0700 testapp[462:43948] Setting rewarded video listener.
2019-12-05 11:13:08.177999+0700 testapp[462:43948] Loading a rewarded video ad.
2019-12-05 11:13:27.262124+0700 testapp[462:43948] ERROR: Action failed with error code 4 and message "An internal SDK error occurred.".
2019-12-05 11:13:27.262865+0700 testapp[462:43948] Done!
2019-12-05 11:16:46.051925+0700 testapp[462:44341] [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C3.1:2][0x1060379d0] get output frames failed, state 8196

I'm using:

You can find for the full console log in here : IOS_Error_RewardedVideo_log.txt

Could you help me to take a look and show me how to overcome this error?

google-oss-bot commented 4 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

chkuang-g commented 4 years ago

Hi @doandoindi

I think Firebase C++ 6.7.0 is pointing to Pod version 6.10.0. And 6.12.0 is for the C++ SDK 6.8.0, which we just release!

Could you change the Pod version to 6.10.0 and try again? Ex. Pod : 'Firebase/Analytics', '6.10.0' ; 'Firebase/AdMob', '6.10.0' https://github.com/firebase/quickstart-cpp/blob/master/admob/testapp/Podfile#L5

Shawn

doandoindi commented 4 years ago

Hi @chkuang-g

It's working with the Pod version 6.10.0 as your suggestion. I'm thinking if some people will be seen the same problem while trying to have Firebase C++ SDK on their application.

Do we have somewhere to show which Pod version should be used with which Firebase C++ version? It's a very helpful IMO.

Thank you Shawn, D.

chkuang-g commented 4 years ago

You should be able to find this information in readme.md under your Firebase C++ SDK folder. See "Frameworks" section.

Ex. For our 6.8.0 relaese, you should see

| Firebase AdMob               | firebase_admob.framework                     |
|                              | firebase.framework                           |
|                              | Firebase/AdMob Cocoapod (6.12.0)             |