开发者

Urban Airship amount of files required to set "alias" for token

开发者 https://www.devze.com 2023-04-06 04:57 出处:网络
I am making my first app which will use push notifications. I have decided to use Urban Airship to facilitate the server side of this process. So currently I have set up an account/certificates/iOS AP

I am making my first app which will use push notifications. I have decided to use Urban Airship to facilitate the server side of this process. So currently I have set up an account/certificates/iOS API and am able to send push notifications to a device/devices from Urban Airship.

I want to set an alias for the token that is created on each device. I know that I need to create the alias in my code and sen开发者_Go百科d it through Urban Airships API back to them. The question I have is what files do I need to include in my project to set the alias and return it. I have looked on Urban Airships site and the only instructions I see are for files and frameworks to include for using AirMail. I don't think I need all of that and am wondering if anyone else has been through this process and would be able to shed some light. I am not an expert programmer, but I do have a few apps under my belt.

Thanks for your time.


You can either use the static library developed by Urban Airship, or you can roll a simple registration library yourself. Given your question, you would probably do better with the first option. The documentation is quite extensive and contains a nice walkthrough for integrating the library and registering your devices, including the aliases. Did you read it?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号