Created
October 23, 2024 12:56
-
-
Save erfanium/70dbf649fd6ce35da8e4b2e607f4e6d9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mFirebaseAnalytics!!.appInstanceId.addOnCompleteListener { task -> | |
if (task.isSuccessful) { | |
Ext.logD("mFirebaseAnalytics:appInstanceId", task.result ?: "appInstanceId is null") | |
} else { | |
Ext.logD("mFirebaseAnalytics:appInstanceId", "Failed to get appInstanceId: ${task.exception?.message}") | |
} | |
} | |
mFirebaseAnalytics!!.sessionId.addOnCompleteListener { task -> | |
if (task.isSuccessful) { | |
Ext.logD("mFirebaseAnalytics:sessionId", task.result.toString()) | |
} else { | |
Ext.logD("mFirebaseAnalytics:sessionId", "Failed to get appInstanceId: ${task.exception?.message}") | |
} | |
} | |
Ext.logD("mFirebaseAnalytics:firebaseInstanceId", mFirebaseAnalytics!!.firebaseInstanceId) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment