Hey!
I’m very new to both Ionic and Cordova, which is why I’m asking this stupid question. So what I’m trying to accomplish is Ionic Push notifications.
$ionicCloudProvider.init({
"core": {
"app_id": "APP_ID"
},
"push": {
"sender_id": "SENDER_ID",
"pluginConfig": {
"ios": {
"badge": true,
"sound": true
},
"android": {
"iconColor": "#343434"
}
}
}
Question addition. Is it possible to use Ionic’s Push notifications from my API? Or do I need Firebase or some other service for that?
Thanks, Jimmie. Happy coding!
Are you really using Ionic v1? The code you posted is not for modern Ionic 2+ apps.
APP_ID is explained here: Documentation - Ionic Documentation
SENDER_ID is explained here: Documentation - Ionic Documentation
Sure: Documentation - Ionic Documentation
Yeah, I’m using Ionic v1… I started this project a really long time ago. Is there a way to make it v2? Thanks!
No, there is no simple way to upgrade. There is no simple way to upgrade. But here are two links that might help:
https://ionicframework.com/docs/intro/migration/
http://ionicframework.com/files/Ionic2Migration.pdf
Quite a lot of work though. If you are happy with Ionic v1 and don’t need to change much, keep it.
I changed your topic’s category then.