Search code examples
ioscordovaibm-mobilefirst

MobileFirst 8 Migration : How to generate same device UUID in iOS


We try to migrate from Worklight 6.2.0.01.20161110-0936 to MobileFirst 8 APP.

But we got a problem that we must use same devie UUID after migration.

According to official note:

enter image description here

We know that WL.Device.getID and device.uuid are not equal in Android.

We can use same code to generate same device UUID in Android MobileFirst 8 APP.

But we don't know how to generate same device UUID in iOS

Question : How to get same ios device UUID after migration?


Solution

  • Another way to get is to use "getWLUniqueDeviceId" API of "WLDeviceAuthManager.h".