accept multiple tokens for apns

Please remove spaces:
- between `if (`
- between `) {`