蘋果IOS、安卓推送功能開發

來源:互聯網
上載者:User

標籤:nand   group   參考文獻   puts   方式   filter   file   蘋果   col   

IOS推送開發:以下是基於開源javapns推送開發
1、DerInputStream.getLength(): lengthTag=111, too big.
先排除是否由於打包時認證 .p12 檔案被編譯/修改,maven項目打包處理方式

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>p12</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>

2、javax.net.ssl.SSLException: Received fatal alert: internal_error
認證問題:重建認證(需開啟推送功能後產生的認證)

github開源javapns(源碼帶測試例子):https://github.com/fernandospr/javapns-jdk16.git 

參考文獻:
蘋果產生認證:http://www.cnblogs.com/taintain1984/p/3716642.html 
java實現:http://blog.csdn.net/kerryzb/article/details/51507054 

蘋果IOS、安卓推送功能開發

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.