mobileGetDeviceToken

Mark Waddingham mark at livecode.com
Tue Mar 3 13:32:27 EST 2020


On 2020-03-03 18:18, Dan Friedman via use-livecode wrote:
> Greeting!   On iOS, prior to LC 9.6, mobileGetDeviceToken() would
> return something like this:
> 
> 	<965b251c 6cb1926d e3cb366f dfb16ddd e6b9086a 8a3cac9e 5f857679 
> 376eab7C>
> 
> However, with LC 9.6, I'm getting this:
> 
> 	{length=32,bytes=0xd923cbf42faacfae79b44e252fc64fc3...6c57203f87b56e10}
> 
> Anyone know how to extract a valid token from this??

Unfortunately you cannot. The problem occurred because we are now 
building against
the iOS13 SDK... Apple decided to change the return value of an internal 
call used
to turn the binary id into a string :|

A fix for this has already been merged, and will appear in 9.6-DP-3:

   QCC Report: <https://quality.livecode.com/show_bug.cgi?id=22577>

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




More information about the use-livecode mailing list