Skip to content

Compilation warnings in ZegoExpressEngineMethodHandler.java: deprecated API and unchecked operations #24

@bigbyron

Description

@bigbyron

I'm currently using your SDK in my Flutter project and I've noticed two compilation warnings that might need attention in future updates:
Warning 1: Deprecated API Usage
Note: C:\Users\Name\AppData\Local\Pub\Cache\hosted\pub.dev\zego_express_engine-3.20.0\android\src\main\java\im\zego\zego_express_engine\internal\ZegoExpressEngineMethodHandler.java uses or overrides a deprecated API.

Warning 2: Unchecked Operations
Note: C:\Users\Name\AppData\Local\Pub\Cache\hosted\pub.dev\zego_express_engine-3.20.0\android\src\main\java\im\zego\zego_express_engine\internal\ZegoExpressEngineMethodHandler.java uses unchecked or unsafe operations.

While these warnings don't prevent my app from compiling or functioning correctly, they might indicate potential issues that could arise in future Android versions or lead to runtime errors.

Environment Information
Flutter version: 3.29.2
ZegoExpressEngine version: 3.20.0 (I noticed warnings for both versions in my cache)
Platform: Android
Development OS: Windows
Additional Context
I understand these warnings are related to the internal implementation of the SDK and not to my usage of it. I'm reporting them to help improve the package's compatibility and adherence to best practices.

Thank you for your attention to this matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions