# "Registration" for an ionic app using phonegap-push-plugin

**URL:** <https://forum.ionicframework.com/t/registration-for-an-ionic-app-using-phonegap-push-plugin/119549>\
**Category:** ionic-v3\
**Created:** [January 26, 2018, 5:16pm UTC](https://forum.ionicframework.com/t/registration-for-an-ionic-app-using-phonegap-push-plugin/119549 "2018-01-26T17:16:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![IonicZb](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@IonicZb](https://forum.ionicframework.com/u/IonicZb)\
**Post date:** [January 26, 2018, 5:16pm UTC](https://forum.ionicframework.com/t/registration-for-an-ionic-app-using-phonegap-push-plugin/119549/1 "2018-01-26T17:16:06Z")

</div>

Hi,  
I developed an ionic3 app that uses phonegap-push-plugin in order to recive push-notifications.

Does anyone knows how many time do I have to call “registration” like this

```
pushObject.on('registration').subscribe((registration: any) => console.log('Device registered', registration)); 

```

a) Do I have to make a “registration” every time I open my app?

b) Or is enought only once after first installing the app?

… and why ?

Thanks.

---

<div class="post-metadata">

**Author:** ![flycoders\_sourav](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@flycoders\_sourav](https://forum.ionicframework.com/u/flycoders_sourav)\
**Post date:** [January 26, 2018, 6:15pm UTC](https://forum.ionicframework.com/t/registration-for-an-ionic-app-using-phonegap-push-plugin/119549/2 "2018-01-26T18:15:03Z")

</div>

> [@IonicZb](#):
>
> Or is enought only once after first installing the app?

is enough only once after first installing the app?

---

<div class="post-metadata">

**Author:** ![IonicZb](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@IonicZb](https://forum.ionicframework.com/u/IonicZb)\
**Post date:** [January 29, 2018, 1:50pm UTC](https://forum.ionicframework.com/t/registration-for-an-ionic-app-using-phonegap-push-plugin/119549/3 "2018-01-29T13:50:42Z")

</div>

Thank for the answer.

According to this link [https://stackoverflow.com/questions/20910803/register-a-device-on-gcm-every-time-the-app-start-is-the-right-approach](https://stackoverflow.com/questions/20910803/register-a-device-on-gcm-every-time-the-app-start-is-the-right-approach)  
a more comprehensive answer would be:

1. Every time the app is updated
2. When the phone restarts

Is it possible, beside these 2 cases, to have a third namely “when OS is updated”?

---

<div class="post-metadata">

**Author:** ![elduderino15](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/elduderino15/32/105188_2.png) [@elduderino15](https://forum.ionicframework.com/u/elduderino15)\
**Post date:** [December 18, 2019, 4:35am UTC](https://forum.ionicframework.com/t/registration-for-an-ionic-app-using-phonegap-push-plugin/119549/4 "2019-12-18T04:35:49Z")

</div>

I believe the phone restarts when OS is updated

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:53pm UTC](https://forum.ionicframework.com/t/registration-for-an-ionic-app-using-phonegap-push-plugin/119549/5 "2021-07-19T21:53:08Z")

</div>

Closed on July 19, 2021, 9:53pm UTC


