Push Providers & Multi Bundle
Confused about "Push Providers & Multi Bundle"?
Let us know how we can improve our documentation:
Push Provider
Copied!Confused about "Push Provider"?
Let us know how we can improve our documentation:
A push provider is a configuration of a push API with one of four different types: APN, Firebase, Huawei and Xiaomi at the moment.
Multiple providers can be added to the same Stream application to support, for example:
Multi-tenancy: there can be different builds of the same application such as prod vs staging, regular vs admin, etc.
Multi-platform: there can be specific customizations for different target platforms such as starting React Native and adapting native Android/iOS SDKs along the way.
Different default preferences
Upsert a Push Provider
Copied!Confused about "Upsert a Push Provider"?
Let us know how we can improve our documentation:
In the same endpoint, a new config can be created or updated.
List Push Providers
Copied!Confused about "List Push Providers"?
Let us know how we can improve our documentation:
Delete a Push Provider
Copied!Confused about "Delete a Push Provider"?
Let us know how we can improve our documentation:
Push Providers & Devices
Copied!Confused about "Push Providers & Devices"?
Let us know how we can improve our documentation:
By default, adding a device doesn't require a push provider linking due to backward compatibility where old configurations don't have a name
, so their names are empty.
If the configuration name is not provided when adding a device, devices will be matched with configurations according to only their types.
If the configuration name is provided, but invalid, the request will fail with a bad request error.
When devices are added, they can be linked to a provider to inherit their configuration.
Updating non-multi bundle configs
Copied!Confused about "Updating non-multi bundle configs"?
Let us know how we can improve our documentation:
If you're not interested in multi-bundle support, you can leverageupdateAppSettings
endpoint to add push configuration for a single APN, Firebase, Huawei or Xiaomi provider.