Flutter android device id convert MD5 DeviceInfoPlugin.androidId
 
First of all 

We use device_info plugin to learn Android id information. https://pub.dev/packages/device_info
We use the crypto plugin to convert to md5.  https://pub.dev/packages/crypto

pubspec.yaml:  
dependencies:

device_info: ^1.0.0  
crypto: ^2.1.5
	

DeviceInfoPlugin deviceInfo = DeviceInfoPlugin();
var androidInfo = await deviceInfo.androidInfo;

var devId =  md5.convert(utf8.encode(androidInfo.androidId)).toString().toUpperCase();
		
 

Author: Engin ATALAY
Date: 10.01.2021 18:27:58
View Count: 31
 
 

COMMENTS
 
No comments yet. Be the first to comment who you are.
 
 
 
 
 
 
 
WRITE COMMENT
 
 
Your Name :
 
 
 
E-mail :
 
 
 
Your Message :
 
 
 
 
 
 
 
This project : ASP.NET MVC , RAZOR, Entity Framework , CSS , HTML , JQUERY(2.0.2) , AJAX the C# side-tier architecture was developed with logic.
 
Yukarı Çık