Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings at compile time #41

Open
CamronLDNF opened this issue Dec 9, 2021 · 5 comments
Open

Warnings at compile time #41

CamronLDNF opened this issue Dec 9, 2021 · 5 comments

Comments

@CamronLDNF
Copy link

Using Flutter sdk version 1.4.1. The following two warnings appear at compile time:

MixpanelFlutterPlugin.java uses or overrides a deprecated API.
MixpanelFlutterHelper.java uses unchecked or unsafe operations.

Not a major issue but good to address in a future update of the sdk.

@zihejia
Copy link
Collaborator

zihejia commented Jan 5, 2022

hi @CamronLDNF , thanks for bringing it up. We will address it in the future release.

@Coder-Manuel
Copy link

@zihejia ...
Any updated on the deprecated warning

@rpekarek-tc
Copy link

Is there any update on this? This is still an issue with mixpanel package version 2.1.1

@joelrose2
Copy link

joelrose2 commented Feb 19, 2024

First reported over two years ago, these two issues are still occurring in mixpanel_flutter v. 2.2.0. Every time I complile, I receive the following two warnings regarding this plugin:

C:...\Pub\Cache\hosted\pub.dev\mixpanel_flutter-2.2.0\android\src\main\java\com\mixpanel\mixpanel_flutter\MixpanelFlutterPlugin.java:22: warning: [deprecation] Registrar in PluginRegistry has been deprecated
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
Note: C:...\Pub\Cache\hosted\pub.dev\mixpanel_flutter-2.2.0\android\src\main\java\com\mixpanel\mixpanel_flutter\MixpanelFlutterHelper.java uses unchecked or unsafe operations.

When are you planning to fix these problems? At some point, the deprecated function will stop working altogether.

@MrJohn10
Copy link

MrJohn10 commented May 6, 2024

@zihejia can you please provide an update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants