Flutter Plugin Compatibility Issue: Unresolved Reference to FlutterPluginRegistry in zohodesk_portal_apikit

Flutter Plugin Compatibility Issue: Unresolved Reference to FlutterPluginRegistry in zohodesk_portal_apikit

I am integrating the zohodesk_portal_apikit Flutter plugin (version 2.2.1) into my Flutter project, but I am encountering a build error related to an unresolved reference to FlutterPluginRegistry in the file ZDPBaseActivityAwarePlugin.kt. Below is the error message:

Unresolved reference: FlutterPluginRegistry
file: .../zohodesk_portal_apikit-2.2.1/android/src/main/kotlin/com/zoho/desk/asap/apikit/zohodesk_portal_apikit/ZDPBaseActivityAwarePlugin.kt

This occurs when building with Flutter SDK version 3.29.3. It appears the plugin is using APIs that are no longer available in recent Flutter versions.

Steps to reproduce:

  • Add zohodesk_portal_apikit: ^2.2.1 to pubspec.yaml
  • Run flutter pub get
  • Attempt to build the project

Additional Info:

  • Flutter version: (Channel stable, 3.29.3, on macOS 15.5 24F74 darwin-arm64, locale en-US)
  • Dart version: 3.7.2
  • Plugin version: 2.2.1
  • Platform: Android

Could you please advise if there is a fix or an updated version of the plugin compatible with the latest Flutter SDK? If not, is there a recommended workaround?

Thank you for your assistance.

Best regards,
Muyiwa Oyinloye
OjaNow

    • Sticky Posts

    • Zoho Desk Partners with Microsoft's M365 Copilot for seamless customer service experiences

      Hello Zoho Desk users, We are happy to announce that Zoho Desk has partnered with Microsoft's M365 to empower customer service teams with enhanced capabilities and seamless experiences for agents. Microsoft announced their partnership during their keynote
    • Live Webinar - Work smarter with Zoho Desk and Zoho Workplace integration

      Hello customers! Zoho Desk and Zoho Workplace are coming together for a webinar on 14th May, 2024. Zoho Workplace is a suite of productivity apps for email, chat, docs, calls, and more at one single place. Zoho Desk is closely integrated with a few tools
    • Apple iOS 17 and iPadOS 17 updates for Zoho Desk users

      Hello Zoho Desk users! Apple recently announced the release of iOS 17 and iPad OS 17. These latest OS updates will help you stay productive and efficient, through interactive and seamless user experiences. Zoho Desk has incorporated the updates to help
    • Zoho Desk Cheat Sheet For The Year-End

      Check out these Zoho Desk best practices to end this year on a high and have a great one ahead! #1 Set Business (Holiday) Hours - If you have limited working hours, please make sure you restrict your business hours or set them as holidays for the coming days. Let your customers know when you will, and won't, be available. #2 Update the Annual Holiday List - Check the holidays for the new year and update the holiday schedule. Usually, holidays from the current year will be carried over for the next
    • Deprecation of older versions of ASAP Mobile SDK | Zoho Desk

      Hello, everyone.    Greetings from Zoho Desk ASAP!   In order to continue to deliver the best and most secure experience to our mobile SDK users. On account of the recent enhancements and updates to the mobile SDKs, we have planned to mark the older versions