add ad services and Docker configuration for web app
Some checks failed
Build Android App / build (push) Has been cancelled

This commit is contained in:
ImBenji
2026-01-02 15:21:27 +00:00
parent 7a88585b6e
commit f1ce1c77a4
22 changed files with 608 additions and 19 deletions

View File

@@ -0,0 +1,32 @@
import "package:flutter/widgets.dart";
import "ad_service.dart";
/// Stub implementation for non-web platforms
class AdSenseService implements AdService {
bool _isLoaded = false;
@override
Future<void> initialize() async {
// Not supported on non-web platforms
_isLoaded = false;
}
@override
Future<void> loadBannerAd() async {
// Not supported on non-web platforms
_isLoaded = false;
}
@override
Widget getBannerWidget() {
return SizedBox.shrink();
}
@override
void dispose() {
_isLoaded = false;
}
@override
bool get isLoaded => _isLoaded;
}