Is there an equivalent of 'retrieveUUID' in the Android SDK?

We are working on 'session stitching' native/webviews for both iOS and Android apps for use in Site Catalyst. We have iOS sessions merged by passing the UUID through a cookie to the web layer in a webview (using the iOS SDK method 'retrieveUUID'). It appears we do not have the same access to the UUID in Android SDK (2.1.2). Is the UUID available in the Android SDK? If not, will it be included in a future release?
3 REPLIES 3

Is there an equivalent of 'retrieveUUID' in the Android SDK?

Tealium Employee
There is no public API to modify the UUID in Android 2.1.x, but Android Library 3.x will have this capability. However, you can modify the value by accessing the SharedPreferences used by Tealium and modify the value there: getSharedPreferences("tealium.sp", 0).getString("uuid", null); Warning: Modifying anything besides the uuid may cause erroneous data to be sent by the Library.

Is there an equivalent of 'retrieveUUID' in the Android SDK?

We only need to read the UUID. This solution should work. Thanks!

Is there an equivalent of 'retrieveUUID' in the Android SDK?

Bronze Contributor
Bronze Contributor
Hi, we're currently testing 4.1c Compact android libraries and the only way we found to get uuid set by library is with this following method: Tealium.getGlobalCustomData().getString("uuid", ""); The above mentioned method doesn't work for us. Is it due to the different library version or are we missing anything?
Public