Hang during call to device_token
See original GitHub issueDuring a call to dauth.device_token(keys)
my code hangs at exactly this line. This code used to work a few weeks ago and I’ve updated the system and checked my keys file, but it inexplicably hangs here, not an error.
dauth = DAuthClient(keys)
dauth.set_certificate(cert, pkey)
dauth.set_system_version(SYSTEM_VERSION)
response = await dauth.device_token(dauth.BAAS)
device_token = response["device_auth_token"]
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Responding to VoIP Notifications from PushKit
Receive incoming Voice-over-IP (VoIP) push notifications and use them to display the system call interface to the user.
Read more >Obtain NEW Apple device token? - Stack Overflow
Is there any way to obtain a new device token from Apple once the new user logs in? Is there a way to...
Read more >[iOS] getExpoPushTokenAsync can't work on first time iOS ...
The first time your app calls this method, the app object contacts APNs and requests the app-specific device token on your behalf. The...
Read more >Is it possible to get device token, if user selected Don't Allow ...
But I can see the device token will not be available in ... This delegate method will not be called if the user...
Read more >await SBNotificationHub.UnregisterAllAsync hangs indefinitely
Hub.RegisterNativeAsync(deviceToken, null);. and in this case, the call to UnregsiterAllAsync just hangs forever.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Unrelated but I’d like you to know a lot of people have really benefited from your library, thank you for making it https://twitter.com/tgr_code/status/1449981590709293061?s=20
Ah it’s possible my Lockpick_RCM version is pretty old, I’ll check. And yeah it should absolutely not result in a hang, I think some other async code I’m using is messing with things.