public void GetAndroidId() { string androidId = deviceInfoPlugin.GetAndroidId(); if (androidIdText != null) { androidIdText.text = String.Format("Android ID: {0}", androidId); Debug.Log(" Android ID: " + androidId); } }
public void GetAndroidId() { // we pass 1 to get md5 value this values usually use for admob test id string androidId = deviceInfoPlugin.GetAndroidId(1); if (androidIdText != null) { androidIdText.text = String.Format("Android ID: {0}", androidId); Debug.Log(" Android ID: " + androidId); } }