My flutter project I published on PlayMarket, Huawei AppGallery & AppStore.
in my pubspec.yaml I added
huawei_push: ^6.3.0+304
huawei_analytics: ^6.5.0+300
and on android build.gradle
I wrote extra script which builds different depends on --dart-define=BUILD_TYPE=HUAWEI
or other.
But on ios it tries to use both and crushes with exception. On ios I need only Firebase. Exception:
'NSGenericException', reason: 'agconnect-services.plist Not Found.'
How to exclude HiAnalytics and HMFoundation Pods?
I think on Podfile I need any thing like this:
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
// exclude HiAnalytics