mobileGetDeviceToken

Dan Friedman dan at clearvisiontech.com
Tue Mar 3 13:43:45 EST 2020


Mark,

Yes, I realized that the issue is a change in iOS 13 after I posted.   Thank you for the news of pending the update.  Do you know when will DP3 be available?   I have apps that are failing as we speak.

-Dan


On 3/3/20, 10:32 AM, "Mark Waddingham via use-livecode" <use-livecode at lists.runrev.com> wrote:

    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
    
    _______________________________________________
    use-livecode mailing list
    use-livecode at lists.runrev.com
    Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
    http://lists.runrev.com/mailman/listinfo/use-livecode
    



More information about the use-livecode mailing list