import 'package:adrop_ads_flutter/adrop_ads_flutter.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
initialize();
}
Future<void> initialize() async {
// true for production
await Adrop.initialize(false);
}
}
When production is false, you can check error logs.