Metadata
Identify your devices in the best way adding tags to them
Add some metadata to identify the device/user:
1
//This information will be shown in two places: "Installations" and "Exceptions" tabs of the web administration
2
PushLink.addMetadata("Ip", getIp());
3
PushLink.addMetadata("Phone Number", getPhoneNumber());
4
PushLink.addMetadata("Brand", Build.BRAND);
5
PushLink.addMetadata("Model", Build.MODEL);
6
PushLink.addMetadata("OS Version", Build.VERSION.RELEASE);
7
PushLink.addMetadata("Logged in user", getUserName());
8
...
9
10
//This information will be shown ONLY in the "Exceptions" tab of the web administration
11
PushLink.addExceptionMetadata("Battery Level", getBatteryLevel());
12
PushLink.addExceptionMetadata("Network Status", getNetworkStatus());
13
...
Copied!
Last modified 3yr ago
Copy link