paer
1
I’ trying to configure the plugin for android but I’m not sure what all the
options acctually are.
On the server I need to find “apiKey” and “projectnumber”
- Where do I find that, firebase console?
Also a hint how I make .pem for certData, keyData and passphrase
Push.Configure({
apn: {
certData: Assets.getText('apnDevCert.pem'),
keyData: Assets.getText('apnDevKey.pem'),
passphrase: 'xxxxxxxxx',
production: true,
//gateway: 'gateway.push.apple.com',
},
gcm: {
apiKey: 'abc-123',
projectNumber: 111111111111
}
});
paer
3
Thanks. That really solved that part.
paer
4
When creating a private key under service accounts I get a .json downloded but
what fields do I need to fill this part?
Push.Configure({
apn: {
certData: Assets.getText('apnDevCert.pem'),
keyData: Assets.getText('apnDevKey.pem'),
passphrase: 'xxxxxxxxx',
production: true
},
Sorry, I haven’t gotten to iOS yet, only made the Android version.
paer
6
Android is what I’m doing aswell.
Are you saying that that part is for ios only? =)
Yup, “apn” means “Apple Network” or something like that, that’s where you put your Apple authentication stuff. For Android you’re good to go
paer
8
I’m such a winner, thanks for clearing that out for me