-
-
Save celiovasconcelos/cf9a444a8674de5ac938176cdbbe4384 to your computer and use it in GitHub Desktop.
This file contains 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
//This information will be shown in two places: "Installations" and "Exceptions" tabs of the web administration | |
PushLink.addMetadata("Ip", getIp()); | |
PushLink.addMetadata("Phone Number", getPhoneNumber()); | |
PushLink.addMetadata("Brand", Build.BRAND); | |
PushLink.addMetadata("Model", Build.MODEL); | |
PushLink.addMetadata("OS Version", Build.VERSION.RELEASE); | |
PushLink.addMetadata("Logged in user", getUserName()); | |
... | |
//This information will be shown ONLY in the "Exceptions" tab of the web administration | |
PushLink.addExceptionMetadata("Battery Level", getBatteryLevel()); | |
PushLink.addExceptionMetadata("Network Status", getNetworkStatus()); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment