android_id icon indicating copy to clipboard operation
android_id copied to clipboard

MissingPluginException

Open subzero911 opened this issue 2 years ago • 3 comments

Simply not working

  final androidId = AndroidId();
  if (Platform.isAndroid) {
      deviceId = (await androidId.getId() ?? 'unknown');
    } 
image

latest version android_id: ^0.3.6

subzero911 avatar Dec 26 '23 20:12 subzero911

I have same issue, rebuild is work for me.

FangHanZreo avatar May 21 '24 01:05 FangHanZreo

Thanks for opening this issue.

On what platform do you get this exception - Flutter web?

In that case try:

  android_id:
    git:
      url: https://github.com/fluttercommunity/android_id.git
      ref: main

nohli avatar Jun 04 '24 14:06 nohli

Please provide a minimal, reproducible example for debugging 🙏🏽

Please also try the latest version: 0.4.0

nohli avatar Jun 04 '24 20:06 nohli