Hello, I new to the push services. I have a Android App but it's is splitted in too apps, a server/admin app accessed on the web and another app just for the Android app.
I put the packages on both and configured the client on the android and the server on the web app. The apps shares the same database and I configured the same firebase project on both too. Linked the android app to the firebase project.
tried that on the web app, on a server method:
var push = Push.send({
from: 'Grêmio Pioneiro',
title: 'Bem-vindo ao Grêmio',
text: 'Seja bem-vindo!',
badge: 1,
query: {}
});
when calling the method, its show on console:
Push: Send message "Bem-vindo ao Grêmio" via query {}
I20161219-15:09:46.950(-2)? Push: Sent message "Bem-vindo ao Grêmio" to 0 ios apps 0 android apps
I20161219-15:09:47.162(-2)? Push, GUIDE: The "Push.appCollection" is empty - No clients have registred on the server yet...
adding token: 'gcm.cordova', its shows only the push var with the id
Hello, I new to the push services. I have a Android App but it's is splitted in too apps, a server/admin app accessed on the web and another app just for the Android app.
I put the packages on both and configured the client on the android and the server on the web app. The apps shares the same database and I configured the same firebase project on both too. Linked the android app to the firebase project.
tried that on the web app, on a server method: var push = Push.send({ from: 'Grêmio Pioneiro', title: 'Bem-vindo ao Grêmio', text: 'Seja bem-vindo!', badge: 1, query: {} });
when calling the method, its show on console: Push: Send message "Bem-vindo ao Grêmio" via query {} I20161219-15:09:46.950(-2)? Push: Sent message "Bem-vindo ao Grêmio" to 0 ios apps 0 android apps I20161219-15:09:47.162(-2)? Push, GUIDE: The "Push.appCollection" is empty - No clients have registred on the server yet...
adding token: 'gcm.cordova', its shows only the push var with the id
on the web and the mobile app, I configured with:
Push.Configure({ gcm: { apiKey: 'myapikey', projectNumber: myprojectnumber }, production: true });
well.. what more I can do ? thanks