another_brother
another_brother copied to clipboard
Unresolved reference: Registrar
@CodeMinion
Im getting error after upgrading to Flutter 3.29.0:
`e: file:///Users/.../.pub-cache/hosted/pub.dev/another_brother-2.2.1/android/src/main/kotlin/com/rouninlabs/another_brother/AnotherBrotherPlugin.kt:14:48 Unresolved reference: Registrar
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':another_brother:compileDebugKotlin'.
A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details`
Same here! Some days ago I have opened same issue on demo repo code: https://github.com/CodeMinion/Demo-Another-Brother-Prime/issues/3
Hi @HemangSidapara , @progressify ,
Thank you for reporting this issue. We'll take a look at what it would take to replace the Registrar and keep you both posted through this issue.
Thanks for your support,
Hi,
Thanks for this very helpful lib!
I have the same issue. I need to have the latest version of Flutter for another part of my application.
Do you have any idea when the fix will be released?
Thanks again for your time
Same here. I created a fork, simply removed the deprecated registrar (commit), and updated the brother sdk (commit). I was able to successfully use the fork directly from the git repo, like so:
dependencies:
// ...
another_brother:
git:
url: https://github.com/justinlettau/another_brother.git
ref: main
I tested on Android and iOS with the latest Flutter version (v3.2.9), and it seems to work without issues! @CodeMinion are you interested in a PR? Or is there other considerations in removing this registrar that need accounted for?
Thank you for this great library!
Hello @CodeMinion First, I want to Thank You for your work.
Do you have any updates and estimates about this issue that you could share?
Best regards!