Device token for push to all app instances - how to get them

I’m building a corporate app. Under certain circumstances we’ll want to push notifications to all instances of the app.

But I don’t understand how to get hold all the device tokens. As a matter of fact I don’t even know how to get hold of a single instance. Would I just gather them from the push.register method and store them on corporate server?

What’s the preferred or standard way to go about this?


you need a backend which stores your device tokens. This backend could be your own or a thirdparty service.

Like --> get device token via PushPlugin --> send this token to an API-endpoint of your backend.