Titanium:實做Ios app的Push notification功能

以下是使用Mac實做Ios app的push notification功能:

step1.註冊Ios開發者帳號,一年要$99美元
由於開發Ios app一定要有開發者帳號,否則無法在實機上測試。註冊完開發者帳號後可以進入第二個步驟。

step2.製作certificate
螢幕快照 2014-02-09 上午9.11.48

點選Mac>應用程式->工具程式(資料夾)->鑰匙圈存取
進去之後上方bar的鑰匙圈存取->憑證輔助程式->從憑證授權要求憑證
之後輸入電子郵件,一般名稱與下方選儲存至硬碟。
之後儲存至桌面push.certSigningRequest
#注意:上面的檔名為你在titanium的project name,例如你的Titanium的id可能是com.companyname.push

螢幕快照 2014-02-09 上午9.20.52
之後下方點鑰匙,會發現剛剛已經儲存的push.certSigningRequest
點選右鍵並輸出成.p12檔至桌面

此時你應該有兩個檔案push.certSigningRequest與push.p12

繼續閱讀 “Titanium:實做Ios app的Push notification功能”

titanium:ios push notifications 筆記

http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1

http://blog.toright.com/archives/2806

http://tw.websense.com/content/support/library/mobile/admin_help/start_apn.aspx

tutorial:
1.http://www.titaniumtutorial.com/2012/07/appcelerator-cloud-push-notification-in.html
2.ios how to create push certificate
http://quickblox.com/developers/How_to_create_APNS_certificates
3.http://iosmuncher.blogspot.tw/2012/06/implementing-apns-in-titanium-start-to.html
4.http://blog.teemusk.com/2012/05/building-server-push-notifications-with-appcelerator-titanium-cloud/
5.http://justfly.idv.tw/2012/04/27/Just_1195.html
6.http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1

https://discussions.apple.com/thread/5141135

Managing ios device:
http://www.apple.com/iphone/business/it/management.html

Apple push certificates potal:
https://identity.apple.com/pushcert/

stackoverflow:
http://stackoverflow.com/questions/9743690/generate-mdm-certificate
http://www.softhinker.com/in-the-news/iosmdmvendorcsrsigning

Apple forum:
https://devforums.apple.com/community/support

ios developer library:
1.https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ManagingAccounts/ManagingAccounts.html#//apple_ref/doc/uid/TP40012582-CH24-SW1
2.https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Introduction.html

Apple discussion:

https://discussions.apple.com/thread/5141135

run app on ios device:
http://www.ralfebert.de/archive/ios/tutorial_iosdev/run_app/
http://www.dodyrw.com/how-to-run-titanium-ios-app-on-device/
http://docs.appcelerator.com/titanium/latest/#!/guide/Deploying_to_iOS_devices
http://www.dodyrw.com/how-to-run-titanium-ios-app-on-device/
http://fstoke.me/blog/?p=1805