Project groups (previously Application groups)
Imagine you have several top-rated apps, and when you develop a new must-have application, you want to notify your users about it. Now, consider that one of your users has 5 of your apps installed on their device. If you promote your new product using broadcast push notifications sent to each of your apps, this user will receive the same notification five times in a row. Just imagine how irritating that might be!
That’s why we have the Project Groups feature (previously called Application Groups). This feature allows you to send one push notification to multiple applications with just one click. Users with two or more apps installed will receive only one message!
Setting Up a Project Group
-
On the Projects page, click the Project Groups button:
-
Click Create Group. Enter a name for the group and check the apps you’d like to add from the list:
-
Set the priority for sending messages to each app using the arrows on the right. If a client has several apps from the list installed, the message will only be sent to the app with the highest priority.
- Click Create to save the group. The main page of the created group will open, where you can customize your messages just like you would for individual apps.
Project groups for Android
For project groups with the Pushwoosh SDK, all apps in a group should be visible to each other. Otherwise, pushes sent to the group will be sent to each app in that group separately.
To ensure apps are visible to each other, declare their package names in each app’s AndroidManifest.xml under the <queries>
tag and add them as trusted_package_names
under the <application>
tag.
AndroidManifest.xml Example
For each app in a group, you need to add the package names of all other apps in that group. This should be done for every app in the group.