skip to Main Content

Flutter iOS build fails with "UIApplication does not conform to protocol 'Launcher'" error in url_launcher_ios

I'm getting a build error when trying to run my Flutter app on iOS simulator. The error seems to be related to the url_launcher_ios plugin. Error Message: /Users/user/.pub-cache/hosted/pub.dev/url_launcher_ios-6.2.4/ios/Classes/Launcher.swift:20:1: error: type 'UIApplication' does not conform to protocol 'Launcher' extension UIApplication: Launcher…

VIEW QUESTION

Flutter : force createState() for inherited StatefulWidget

Edit: solved by adding a unique key to the widget constructor call: Edit 2: as Randal Schwartz mentioned -> this is not a solution. Issue NOT solved and still open. @override SearchTermInput get searchTermInput => SearchTermInputOneString( key: UniqueKey(), currentSearchTermInputContent: widgetRef.read(apiEndpointUniversalSearchTermInputContentProvider),…

VIEW QUESTION
Back To Top
Search