diff --git a/build/app/outputs/flutter-apk/app-arm64-v8a-release.apk b/build/app/outputs/flutter-apk/app-arm64-v8a-release.apk index b3e24ef..aca03ba 100644 Binary files a/build/app/outputs/flutter-apk/app-arm64-v8a-release.apk and b/build/app/outputs/flutter-apk/app-arm64-v8a-release.apk differ diff --git a/lib/features/yandex_ads/yandex_ads.dart b/lib/features/yandex_ads/yandex_ads.dart index eddba16..6b1f006 100644 --- a/lib/features/yandex_ads/yandex_ads.dart +++ b/lib/features/yandex_ads/yandex_ads.dart @@ -6,7 +6,7 @@ import 'package:yandex_mobileads/mobile_ads.dart'; class YandexAds { static BannerAd createBanner( BoxConstraints constraints, { - String id = 'demo-banner-yandex', + required String id, String? key, VoidCallback? onLoaded, }) { diff --git a/lib/widgets/card_pack/available_pack.dart b/lib/widgets/card_pack/available_pack.dart index 5cabed0..0f6131e 100644 --- a/lib/widgets/card_pack/available_pack.dart +++ b/lib/widgets/card_pack/available_pack.dart @@ -257,7 +257,9 @@ class _AdTile extends StatelessWidget { if (kIsWeb) return SizedBox.shrink(); return LayoutBuilder(builder: (context, constraints) { final banner = YandexAds.createBanner( - BoxConstraints.tight(Size(constraints.maxWidth - 16, 80 - 8))); + BoxConstraints.tight(Size(constraints.maxWidth - 16, 80 - 8)), + id: 'R-M-3761037-2' + ); return FadeInWidget( future: banner.loadAd(), animationDuration: Duration(milliseconds: 1000),