2012-11-12 112 views
1

我已經在應用商店中發佈了一個應用,並啓用了推送通知,並且還以實時狀態對其進行了測試,以確保它們實際上正在工作。問題出現在我有某些用戶聲明應用程序未顯示在通知中心時。大多數用戶對此沒有任何問題,只要安裝了應用程序,它會詢問「您是否想收到推送通知」,但有些人從未收到此消息。我有正確的方法實施,因爲這對大多數人都有效。有沒有人遇到過這個問題,有沒有解決這個問題?通知中心不在某些設備上顯示應用

回答

2

我注意到這裏有50個視圖,因爲我沒有得到迴應,所以我打開了一個蘋果盒。結果是一封電子郵件,聲明我沒有aps環境權利。這是沒有意義的,因爲我有幾個手機,顯示他們啓用推....

但是,這是我的問題的解決方案。

  
I'm responding to your question about your app not receiving push notifications 
after being released on the App Store. 

The first thing I'd check is the code signing entitlements of your app. Since 
your app is free, I downloaded a copy and checked its code signing entitlements 
as discussed in the section "Error Delegate Callback" of Technical Note TN2265 
"Troubleshooting Push Notifications": 

developer.apple.com/library/ios/technotes/tn2265/_index.html#//apple_ref/doc/uid/DTS40010376-CH1-SUBSECTION2. 

$ codesign -d --entitlements - /Users/me/Music/iTunes/iTunes\ Media/Mobile\ Applications/some.app 
Executable=/Users/me/Music/iTunes/iTunes Media/Mobile Applications/some.app 
??qq? 


plist version="1.0"> 
dict> 
    key>application-identifier /key> 
    string>12346789.com.XXXX.XXXX /string> 
    key>keychain-access-groups /key> 
    array> 
     string>123465789.com.XXXXXXX.XXXXX /string> 
    /array> 
/dict> 
/plist> 

Note that there is no aps-environment entitlement, which is required in order to register for push notifications. ... 
相關問題