Found it in my docs, too!
This is a function, so you need to use it like that:
... put mobileGetDeviceToken() into tDummy
answer the result with "Okay"
...
I tried and it return too a empy string (tested on debug and mobile device)
I tried too
put mobileGetDeviceToken() into field "aField"
(and have a field with this name)
same result.
Maybee it's not supported anymore (then how to get > send token to server for push notification?)
You are right, I forget in this small project to enable push notification, (I'm new in Livecode), and didn't understand some function are enable only with some option selected ...
It solved too another question / mistake : UDID is not = to the result of mobileGetDeviceToken (then notification doesn't work ...)