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

MissingPluginException(No implementation found for method getId on channel android_id) #60

Open
tushartripathi opened this issue Sep 25, 2023 · 4 comments
Assignees

Comments

@tushartripathi
Copy link

code

const _androidIdPlugin = AndroidId(); serialNumber = await _androidIdPlugin.getId(); print(serialNumber);

error

E/flutter (24501): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getId on channel android_id) E/flutter (24501): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:308:7) E/flutter (24501): <asynchronous suspension> E/flutter (24501): #1 _AddEmailState.getFlutterId (package:zaperon_finlock/pages/AddEmail.dart:331:20) E/flutter (24501): <asynchronous suspension>

@nohli
Copy link
Member

nohli commented Sep 25, 2023

Hi @tushartripathi!

Thanks for opening this issue.

On which platform are you experiencing this exception?

@nohli nohli self-assigned this Sep 26, 2023
@nohli
Copy link
Member

nohli commented Oct 9, 2023

I guess it was because calling getId() on a platform different than Android.

This is fixed in the latest version.

@nohli nohli closed this as completed Oct 9, 2023
@vipinnegi90
Copy link

image
Can see this issue even on Android.

@nohli nohli reopened this Jun 4, 2024
@nohli
Copy link
Member

nohli commented Jun 4, 2024

Please provide a minimal, reproducible example for debugging 🙏🏽

Please also try the latest version: 0.4.0

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

3 participants