Closed nilotpalkapri closed 2 years ago
I started seeing this as well when i upgraded to Flutter 3
Facing same issue, please upgrade the package to flutter 3
it's come when upgraded flutter to version 3. still waiting to update the package :)
You can actually solve this temporarily
dependency_overrides:
file_saver:
git:
url: https://github.com/incrediblezayed/file_saver.git
ref: main
hahaha, @yahu1031 I found you here man... tirelessly debuging why my at_app on flutter 3 is not compiling ...
You might have asked me then 🤣
Man ... they say a good programmers look for issues before filling one.. definitely you will be my one-stop shop
@incrediblezayed can we get a patch for this?
I'm so sorry for the delay, I'll fix everything thsi sunday
I tried this solution and it worked
@PedroMoreira87 it's a bit tricky to this on build servers which do refresh builds each time. Why we need a patch.
https://github.com/incrediblezayed/file_saver/issues/40#issuecomment-1148810119 this is current patch you can use for build @ollydixon @PedroMoreira87
@yahu1031 I see that but it's not safe to use "main" commits for building production apps.
@ollydixon Yes, But the main branch always doesn't go with unstable code. This branch generally referred to production. When they fix things, The stable code goes here. So, No worries to use it. Incase you still feel it may break, Then pick up the working reference hash/commit id and refer it in pubspec instead of main. So it will only take the code you referred to.
Fixes are coming to pub.dev tonight or tomorrow
It is causing build failure I found the error in the specified file Error Line: methodChannel = MethodChannel(messenger, "file_saver")
My Solution: messenger?.let{ methodChannel = MethodChannel(messenger, "file_saver") methodChannel?.setMethodCallHandler(this) }