Flutter: How to avoid automatic pluggin initialization on Flutter iOS

Viewed 92

I'm working with a plugin that I would like to manually register in iOS only if some condition is meet. Right now, the autogenerated AppDelegate.swift registers all plugins included in the pubspect.yaml with this line:

GeneratedPluginRegistrant.register(with: self)

Is there any way to avoid registering a single plugin?

Thank you

0 Answers
Related