There is a mention of the following internal sever api(s).
// Internal events
Push.addListener('token', function(currentToken, newToken) {
// Token is { apn: 'xxxx' } or { gcm: 'xxxx' } or null
// if newToken is null then the currentToken is invalid
// if newToken is set then this should replace the currentToken
});
// Direct access to the send functions
Push.sendAPN(userToken, options);
Push.sendGCM(userTokens, options)
Are the api internal to Raix: Push Do we require to invoke them ? If so can someone point me to a sample.
I was referring the following link https://github.com/raix/push/blob/master/docs/ADVANCED.md
There is a mention of the following internal sever api(s).
Are the api internal to Raix: Push Do we require to invoke them ? If so can someone point me to a sample.