accept multiple tokens for apns

Couldn't we just call `val.split(',') directly here?