Instabug / Instabug-Flutter

In-app feedback and bug reporting for Flutter apps.
https://instabug.com
MIT License
156 stars 45 forks source link

App Not building after on v12 #404

Closed Gaurav-CareMonitor closed 11 months ago

Gaurav-CareMonitor commented 1 year ago

The plugin worked fine earlier, but after updating it to v12 I am not able to run the app.

Throws this error:

image
* What went wrong:
Execution failed for task ':app:checkCaremonitorDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class a.a found in modules jetified-iHealthSDK_2.10.0 (iHealthSDK_2.10.0.jar) and jetified-instabug-apm-okhttp-interceptor-12.1.0-runtime (com.instabug.library:instabug-apm-okhttp-interceptor:12.1.0)

Steps to Reproduce the Problem

Unfortunately, the other library iHealth SDK is private, So I cannot share the steps to replicate.

SDK Version

instabug_flutter: ^12.1.0

Flutter Version

Channel stable, 3.13.9, on macOS 14.0 23A344 darwin-arm64, locale en-IN

abdelhamid-f-nasser commented 1 year ago

Hi @Gaurav-CareMonitor ,

Thank you for reporting this issue. We'll check it and keep you posted.

stale[bot] commented 1 year ago

This issue has been automatically marked as pending feedback because we need additional information to be able to investigate it further. It will be closed in 7 days if it remains inactive. Thank you for your contributions.

Gaurav-CareMonitor commented 1 year ago

Any updates @abdelhamid-f-nasser ?

stale[bot] commented 11 months ago

This issue has been automatically marked as pending feedback because we need additional information to be able to investigate it further. It will be closed in 7 days if it remains inactive. Thank you for your contributions.

abdelhamid-f-nasser commented 11 months ago

Hi @Gaurav-CareMonitor 👋,

This issue will be fixed in an upcoming release. In the meantime you can use the below 12.2.0 flutter snapshot to resolve this issue.

dependencies:
  flutter:
    sdk: flutter
  # other dependencies...
  instabug_flutter:
    git:
      url: https://github.com/Instabug/instabug-flutter.git
      ref: snapshot/12.2.0-GH-404

# add this only if you have one of our network logging packages as a dependency
# to avoid resolution conflict between the package depending on instabug_flutter from pub.dev
# and the used instabug_flutter snapshot in dependencies.
dependency_overrides:
  instabug_flutter:
    git:
      url: https://github.com/Instabug/instabug-flutter.git
      ref: snapshot/12.2.0-GH-404
stale[bot] commented 11 months ago

This issue has been automatically marked as pending feedback because we need additional information to be able to investigate it further. It will be closed in 7 days if it remains inactive. Thank you for your contributions.

stale[bot] commented 11 months ago

This issue has been automatically closed since we haven't heard back from you. Please feel free to re-open the issue if you have more information to add.