Flutter Sdk does not build correctly

Hi, i am trying to implement the flutter_piwikpro package into my project. But i keep getting this error:
Semantic Issue (Xcode): Duplicate interface definition for class ‘GTMSessionFetcherUserDefaultsFactory’

I have tried removing the package, then everything works just fine, but when i add the package again, the same error occur again. I have also tried using the 1.05 version instead of the 1.1 version. Have you dropped support for flutter? because the flutter package has not been updated in a year, and the flutter repo was updated to archived 30 jan 2025 by one of your developers.

In the end does this mean that you will not support the flutter platform any more?

1 Like

Hi Carl,

We don’t use anything like that in our code. I assume it is some 3rd party library. This interface comes from firebase and reading the discussion on the internet the problem appears to other people as well. I would suggest that cleaning the project with flutter clean. If that doesn’t help, try implementing our SDK in an empty project and see if the problem still occurs.
Also, SDK is being developed, there are no plans to abandon it. We will be releasing a new version in the coming days with new features and improvements.

Best,
Oliwer