another_brother icon indicating copy to clipboard operation
another_brother copied to clipboard

Unresolved reference: Registrar

Open HemangSidapara opened this issue 9 months ago • 4 comments

@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`

HemangSidapara avatar Feb 13 '25 06:02 HemangSidapara

Same here! Some days ago I have opened same issue on demo repo code: https://github.com/CodeMinion/Demo-Another-Brother-Prime/issues/3

progressify avatar Feb 17 '25 09:02 progressify

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,

CodeMinion avatar Feb 17 '25 15:02 CodeMinion

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

JeremyLabelIO avatar Feb 21 '25 13:02 JeremyLabelIO

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!

justinlettau avatar Feb 24 '25 00:02 justinlettau

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!

savs90 avatar Mar 10 '25 13:03 savs90