Hi all.
I'm using this code to get the device ID
What I've noticed that it changes between debug mode and release mode.
For example - in debug mode I registered the device id with my web site and I see what it was. Then I uploaded my app to the apple store, deleted the debug version of the app from the phone, installed again on the same phone under TestFlight. The device id has was different. Why?
Thanks.
I'm using this code to get the device ID
B4X:
Sub GetVendorIdentifier As String
Dim no As NativeObject
no = no.Initialize("UIDevice").RunMethod("currentDevice", Null)
Dim id As Object = no.GetField("identifierForVendor").GetField("UUIDString")
Return id
End Sub
What I've noticed that it changes between debug mode and release mode.
For example - in debug mode I registered the device id with my web site and I see what it was. Then I uploaded my app to the apple store, deleted the debug version of the app from the phone, installed again on the same phone under TestFlight. The device id has was different. Why?
Thanks.