mobileGetDeviceToken() sometimes empty

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ace16vitamine
Posts: 130
Joined: Fri Apr 13, 2018 1:53 pm

mobileGetDeviceToken() sometimes empty

Post by ace16vitamine »

Hi all,

my mobile app is not always generating a DeviceToken.

Sometimes I get a token, sometimes not (on the same device)

put mobileGetDeviceToken() into dtoken
answer dtoken

What I found out: After the deployment in TestFlight the Token is always empty (first app start). If I close the App and start it again I get the Token.

But why?

Stefan
Post Reply