unity3d - How to get device token of device in Unity 5? -


i tring device token , dont want use update function.

right using following function:

if (!tokensent) {     token =unityengine.ios.notificationservices.devicetoken;     if (token != null) {         // send token provider         print ("my device token");         hextoken= "%" + system.bitconverter.tostring(token).replace('-', '%');         tokensent = true;     } } 


Comments

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -