I am receiving iPhone device token in the form of NSData object.
When I tested my notifications script function, I have only copied that object from log and th
I don't think it's a good solution, as you have to reconstruct the string before sending the notifications to Apple servers. Use Base64 encoding for transmitting the strings or something similar.