oligazar
11/1/2017 - 10:49 PM

Android id's

// only for anti fraud
val androidId = Settings.Secure.getString(context?.contentResolver,
                Settings.Secure.ANDROID_ID)
                
// for analytics
InstanceId.getId()

// for advertisitng
AdvertisingIdClient.Info.getId()

// unique id for realm items for instance
UUID.randomUUID().toString()