Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Showing Facebook Reward Ads #74

Open
wantroba opened this issue Jul 24, 2023 · 4 comments
Open

Problem Showing Facebook Reward Ads #74

wantroba opened this issue Jul 24, 2023 · 4 comments

Comments

@wantroba
Copy link

Banner Ads load and show normally, but i'm having trouble to show Reward Ads.

Here is the log:

** SDK Initialization**

I/flutter (16835): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (16835): │ #0 EasyLogger._onAdNetworkInitialized (package:easy_ads_flutter/src/utils/easy_logger.dart:23:15)
I/flutter (16835): │ #1 EasyLogger._onAdEvent (package:easy_ads_flutter/src/utils/easy_logger.dart:71:9)
I/flutter (16835): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (16835): │ 💡 facebook has been initialized and is ready to use.
I/flutter (16835): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Reward Ad Loaded

I/flutter (16835): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (16835): │ #0 EasyLogger._onAdLoaded (package:easy_ads_flutter/src/utils/easy_logger.dart:39:13)
I/flutter (16835): │ #1 EasyLogger._onAdEvent (package:easy_ads_flutter/src/utils/easy_logger.dart:74:9)
I/flutter (16835): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (16835): │ 💡 rewarded ads for facebook have been loaded.
I/flutter (16835): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Error
I/flutter (16835): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (16835): │ #0 EasyLogger._onAdFailedToLoad (package:easy_ads_flutter/src/utils/easy_logger.dart:43:13)
I/flutter (16835): │ #1 EasyLogger._onAdEvent (package:easy_ads_flutter/src/utils/easy_logger.dart:83:9)
I/flutter (16835): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (16835): │ ⛔ rewarded ads for facebook could not be loaded.
I/flutter (16835): │ ⛔ ERROR: Error occurred while loading 9001 Ad could not be presented ad
I/flutter (16835): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

@wantroba
Copy link
Author

Some additional log (Maybe it's useful):

I/MediaCodec(16835): (0x7871c9b330) Component Allocated (OMX.Exynos.AVC.Decoder)
I/MediaCodec(16835): (0x7871c9b330) configure surface(0x78a1ad3420) crypto(0x0) flags(0)
D/MediaCodec(16835): (0x7871c9b330) configure format: AMessage(what = 0x00000000) = {
D/MediaCodec(16835): Buffer csd-1 = {
D/MediaCodec(16835): 00000000: 00 00 00 01 68 c9 61 72 ....h.ar
D/MediaCodec(16835): }
D/MediaCodec(16835): int32_t max-height = 224
D/MediaCodec(16835): int32_t max-width = 400
D/MediaCodec(16835): string mime = "video/avc"
D/MediaCodec(16835): int32_t width = 400
D/MediaCodec(16835): int32_t priority = 0
D/MediaCodec(16835): int32_t rotation-degrees = 0
D/MediaCodec(16835): int32_t max-input-size = 8090
D/MediaCodec(16835): int32_t height = 224
D/MediaCodec(16835): Buffer csd-0 = {
D/MediaCodec(16835): 00000000: 00 00 00 01 67 42 c0 1e d9 81 91 da 10 00 00 03 ....gB..........
D/MediaCodec(16835): 00000010: 00 10 00 00 03 03 00 f1 62 e6 80 ........b..
D/MediaCodec(16835): }
D/MediaCodec(16835): }
D/SurfaceUtils(16835): connecting to surface 0x78a1ad3430, reason connectToSurface
I/MediaCodec(16835): [OMX.Exynos.AVC.Decoder] setting surface generation to 17239041
D/SurfaceUtils(16835): disconnecting from surface 0x78a1ad3430, reason connectToSurface(reconnect)
D/SurfaceUtils(16835): connecting to surface 0x78a1ad3430, reason connectToSurface(reconnect)
I/ACodec (16835): DRC Mode: Dynamic Buffer Mode
I/ACodec (16835): [OMX.Exynos.AVC.Decoder] setupVideoDecoder Width Height (400x224)
I/ACodec (16835): mime (video/avc) compressionFormat (7)
W/ACodec (16835): [OMX.Exynos.AVC.Decoder] setting HDRStaticInfo failed even though codec advertises support
I/ACodec (16835): codec does not support config priority (err -1010)
W/ACodec (16835): [OMX.Exynos.AVC.Decoder] getting HDRStaticInfo failed even though codec advertises support
I/MediaCodec(16835): (0x7871c9b330) start
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
D/SurfaceUtils(16835): set up nativeWindow 0x78a1ad3430 for 400x224, color 0x105, rotation 0, usage 0x402900
I/MediaCodec(16835): (0x7871c9b330) kWhatStartCompleted
I/MediaCodec(16835): (0x7871c3ad30) init name(c2.android.aac.decoder)
D/CCodec (16835): allocate(c2.android.aac.decoder)
W/ACodec (16835): [OMX.Exynos.AVC.Decoder] getting HDRStaticInfo failed even though codec advertises support
I/Codec2Client(16835): Available Codec2 services: "software"
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
D/SurfaceUtils(16835): set up nativeWindow 0x78a1ad3430 for 400x224, color 0x105, rotation 0, usage 0x402900
D/MediaCodec(16835): (0x7871c9b330) kWhatOutputBuffersChanged
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
I/CCodec (16835): Created component [c2.android.aac.decoder]
D/CCodecConfig(16835): read media type: audio/mp4a-latm
D/ReflectedParamUpdater(16835): extent() != 1 for single value type: algo.buffers.max-count.values
D/ReflectedParamUpdater(16835): extent() != 1 for single value type: output.subscribed-indices.values
D/ReflectedParamUpdater(16835): extent() != 1 for single value type: input.buffers.allocator-ids.values
D/ReflectedParamUpdater(16835): extent() != 1 for single value type: output.buffers.allocator-ids.values
D/ReflectedParamUpdater(16835): extent() != 1 for single value type: algo.buffers.allocator-ids.values
D/ReflectedParamUpdater(16835): extent() != 1 for single value type: output.buffers.pool-ids.values
D/ReflectedParamUpdater(16835): extent() != 1 for single value type: algo.buffers.pool-ids.values
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
I/CCodecConfig(16835): query failed after returning 19 values (BAD_INDEX)
D/CCodecConfig(16835): c2 config diff is Dict {
D/CCodecConfig(16835): c2::u32 coded.aac-packaging.value = 0
D/CCodecConfig(16835): c2::u32 coded.bitrate.value = 64000
D/CCodecConfig(16835): c2::u32 coded.pl.level = 0
D/CCodecConfig(16835): c2::u32 coded.pl.profile = 8192
D/CCodecConfig(16835): c2::i32 coding.drc.album-mode.value = 0
D/CCodecConfig(16835): c2::float coding.drc.attenuation-factor.value = 1
D/CCodecConfig(16835): c2::float coding.drc.boost-factor.value = 1
D/CCodecConfig(16835): c2::i32 coding.drc.compression-mode.value = 3
D/CCodecConfig(16835): c2::i32 coding.drc.effect-type.value = 3
D/CCodecConfig(16835): c2::float coding.drc.encoded-level.value = 0.25
D/CCodecConfig(16835): c2::float coding.drc.reference-level.value = -16
D/CCodecConfig(16835): c2::u32 input.buffers.max-size.value = 8192
D/CCodecConfig(16835): c2::u32 input.delay.value = 0
D/CCodecConfig(16835): string input.media-type.value = "audio/mp4a-latm"
D/CCodecConfig(16835): c2::u32 output.delay.value = 2
D/CCodecConfig(16835): c2::float output.drc.output-loudness.value = 0.25
D/CCodecConfig(16835): string output.media-type.value = "audio/raw"
D/CCodecConfig(16835): c2::u32 raw.channel-count.value = 1
D/CCodecConfig(16835): c2::u32 raw.max-channel-count.value = 8
D/CCodecConfig(16835): c2::u32 raw.sample-rate.value = 44100
D/CCodecConfig(16835): }
I/MediaCodec(16835): (0x7871c3ad30) Component Allocated (c2.android.aac.decoder)
I/MediaCodec(16835): (0x7871c3ad30) configure surface(0x0) crypto(0x0) flags(0)
D/MediaCodec(16835): (0x7871c3ad30) configure format: AMessage(what = 0x00000000) = {
D/MediaCodec(16835): int32_t sample-rate = 48000
D/MediaCodec(16835): string mime = "audio/mp4a-latm"
D/MediaCodec(16835): int32_t channel-count = 1
D/MediaCodec(16835): int32_t priority = 0
D/MediaCodec(16835): int32_t max-input-size = 272
D/MediaCodec(16835): Buffer csd-0 = {
D/MediaCodec(16835): 00000000: eb 09 88 00 ....
D/MediaCodec(16835): }
D/MediaCodec(16835): }
D/CCodec (16835): [c2.android.aac.decoder] buffers are bound to CCodec for this session
D/CCodecConfig(16835): no c2 equivalents for flags
D/CCodecConfig(16835): config failed => CORRUPTED
D/CCodecConfig(16835): c2 config diff is c2::u32 raw.sample-rate.value = 48000
W/Codec2Client(16835): query -- param skipped: index = 1107298332.
D/CCodec (16835): client requested max input size 272, which is smaller than what component recommended (16384); overriding with component recommendation.
W/CCodec (16835): This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range.
D/CCodec (16835): setup formats input: AMessage(what = 0x00000000) = {
D/CCodec (16835): int32_t aac-drc-album-mode = 0
D/CCodec (16835): int32_t aac-drc-boost-level = 127
D/CCodec (16835): int32_t aac-drc-cut-level = 127
D/CCodec (16835): int32_t aac-drc-effect-type = 3
D/CCodec (16835): int32_t aac-drc-heavy-compression = 3
D/CCodec (16835): int32_t aac-encoded-target-level = -1
D/CCodec (16835): int32_t aac-max-output-channel_count = 8
D/CCodec (16835): int32_t aac-target-ref-level = 64
D/CCodec (16835): int32_t channel-count = 1
D/CCodec (16835): int32_t level = 0
D/CCodec (16835): int32_t max-input-size = 16384
D/CCodec (16835): string mime = "audio/mp4a-latm"
D/CCodec (16835): int32_t profile = 2
D/CCodec (16835): int32_t sample-rate = 48000
D/CCodec (16835): } and output: AMessage(what = 0x00000000) = {
D/CCodec (16835): int32_t aac-drc-album-mode = 0
D/CCodec (16835): int32_t aac-drc-boost-level = 127
D/CCodec (16835): int32_t aac-drc-cut-level = 127
D/CCodec (16835): int32_t aac-drc-effect-type = 3
D/CCodec (16835): int32_t aac-drc-heavy-compression = 3
D/CCodec (16835): int32_t aac-drc-output-loudness = -1
D/CCodec (16835): int32_t aac-encoded-target-level = -1
D/CCodec (16835): int32_t aac-max-output-channel_count = 8
D/CCodec (16835): int32_t aac-target-ref-level = 64
D/CCodec (16835): int32_t channel-count = 1
D/CCodec (16835): string mime = "audio/raw"
D/CCodec (16835): int32_t sample-rate = 48000
D/CCodec (16835): }
I/MediaCodec(16835): (0x7871c3ad30) start
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
W/Codec2Client(16835): query -- param skipped: index = 1342179345.
W/Codec2Client(16835): query -- param skipped: index = 2415921170.
W/Codec2Client(16835): query -- param skipped: index = 1610614798.
E/FMQ (16835): grantorIdx must be less than 3
E/FMQ (16835): grantorIdx must be less than 3
D/CCodecBufferChannel(16835): [c2.android.aac.decoder#979] Created input block pool with allocatorID 16 => poolID 17 - OK (0)
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
I/CCodecBufferChannel(16835): [c2.android.aac.decoder#979] Created output block pool with allocatorID 16 => poolID 457 - OK
D/CCodecBufferChannel(16835): [c2.android.aac.decoder#979] Configured output block pool ids 457 => OK
E/ion (16835): ioctl c0044901 failed with code -1: Inappropriate ioctl for device
I/MediaCodec(16835): (0x7871c3ad30) kWhatStartCompleted
E/FMQ (16835): grantorIdx must be less than 3
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
D/CCodecBuffers(16835): [c2.android.aac.decoder#979:1D-Input.Impl[N]] codec released a buffer owned by client (index 1)
E/FrameEvents(16835): updateAcquireFence: Did not find frame.
E/FMQ (16835): grantorIdx must be less than 3
D/CCodecConfig(16835): c2 config diff is c2::i32 coding.drc.compression-mode.value = 1
D/CCodecConfig(16835): c2::u32 raw.channel-count.value = 2
D/CCodecConfig(16835): c2::u32 raw.channel-mask.value = 12
D/CCodecBuffers(16835): [c2.android.aac.decoder#979:Output[N]] popFromStashAndRegister: output format changed to AMessage(what = 0x00000000) = {
D/CCodecBuffers(16835): int32_t aac-drc-album-mode = 0
D/CCodecBuffers(16835): int32_t aac-drc-boost-level = 127
D/CCodecBuffers(16835): int32_t aac-drc-cut-level = 127
D/CCodecBuffers(16835): int32_t aac-drc-effect-type = 3
D/CCodecBuffers(16835): int32_t aac-drc-heavy-compression = 1
D/CCodecBuffers(16835): int32_t aac-drc-output-loudness = -1
D/CCodecBuffers(16835): int32_t aac-encoded-target-level = -1
D/CCodecBuffers(16835): int32_t aac-max-output-channel_count = 8
D/CCodecBuffers(16835): int32_t aac-target-ref-level = 64
D/CCodecBuffers(16835): int32_t channel-count = 2
D/CCodecBuffers(16835): string mime = "audio/raw"
D/CCodecBuffers(16835): int32_t sample-rate = 48000
D/CCodecBuffers(16835): }
E/FrameEvents(16835): updateAcquireFence: Did not find frame.

@vocsygautam
Copy link

hello, are you find any solution, please help me i got same issue
Flutter sdk : 3.19.6
easy_ads_flutter: ^2.4.4

@wantroba
Copy link
Author

hello, are you find any solution, please help me i got same issue Flutter sdk : 3.19.6 easy_ads_flutter: ^2.4.4

Sorry but I gave up using Facebook ads as I couldn't solve this problem

@VocsyAniket
Copy link

VocsyAniket commented May 30, 2024

flutter: \^[[38;5;12m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
flutter: \^[[38;5;12m│ #0   EasyLogger.logInfo (package:easy_ads_flutter/src/utils/easy_logger.dart:19:43)<…>
flutter: \^[[38;5;12m│ #1   EasyAds.showAd (package:easy_ads_flutter/src/easy_ads.dart:398:17)<…>
flutter: \^[[38;5;12m├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄<…>
flutter: \^[[38;5;12m│ 💡 AdNetwork.facebook AdUnitType.rewarded was not loaded, so called loading<…>
flutter: \^[[38;5;12m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
FacebookAudienceNetworkRewardedAdPlugin > loadRewardedAd
FacebookAudienceNetworkRewardedAdPlugin > loadAd > create
[GETX] GOING TO ROUTE /AllCategories
FAN > BannerAdFactory > Factory createArgsCodec
FAN >  BannerAdFactory > Factory create
BannerAdView > init initView
FAN > BannerAdView > init initFB
FAN > BannerAdView > init initBannerAd
RewardedAdView > rewardedAd failed
Server Error

Facebook Rewarded Ads not loading in IOS
any solution ?
i have use
Flutter sdk : 3.19.6
easy_ads_flutter: ^2.4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants