This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
chcp 65001 | |
C: | |
set "TAB= " | |
set NLM=^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.notnoop.apns.APNS | |
object Main extends App { | |
val inputStream = getClass.getResourceAsStream("/apns-certificate.p12") | |
val service = APNS | |
.newService | |
.withCert(inputStream, "certificate password") | |
.withSandboxDestination | |
.build |