android_id
android_id copied to clipboard
MissingPluginException
Simply not working
final androidId = AndroidId();
if (Platform.isAndroid) {
deviceId = (await androidId.getId() ?? 'unknown');
}
latest version android_id: ^0.3.6
I have same issue, rebuild is work for me.
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
Please provide a minimal, reproducible example for debugging 🙏🏽
Please also try the latest version: 0.4.0