We’re using Piwik Pro in our Flutter App which we’re also using as Web App.
However, after integration all we get is an error:
DartError: MissingPluginException(No implementation found for method configure_Tracker on channel piwik_flutter)
We need quick info and help.
This is the code we use:
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State createState() => _MyAppState();
}
class _MyAppState extends State {
@override
void initState() {
FlutterPiwikPro.sharedInstance.configureTracker(baseURL: ‘https://crewser.containers.piwik.pro’, siteId: ‘—’).then((value) {
log(‘PiwikPro configured’);
});
super.initState();
}
@override
Widget build(BuildContext context) {
ResponsiveConfig.init(context);
return MaterialApp(
title: ‘Crewser App’,
navigatorKey: navigatorKey,
debugShowCheckedModeBanner: false,
scaffoldMessengerKey: scaffoldMessengerKey,
onGenerateRoute: AppGenerateRoute.generateRoute,
theme: AppTheme.lightTheme,
);
}
}
Thanks a lot!!
We took out the site ID in the code. Of course that’s in it in our code.