Links

Application Groups

Divide all your apps into groups to manage their audiences accumulatively
Imagine you have several really popular apps, and once you develop a new must-have application, of course you want to notify your users about it! Let’s consider that one of your users is really into your products, so he or she has 5 of your apps installed on a device. If you start promoting your new product with 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 it might be!
That’s why we have an Application Groups feature, which allows you to send one push notification to several applications with one click, and those users who have two or more apps installed, will receive only one message!

Setting up an Application Group

Go to Application Groups page of your Pushwoosh Control Panel:
Click Add New to create an application group. Write a name for the group, check the applications you’d like to add from the list, and save the group.
Then, go to the Application Groups, and click on a group you’ve created; it will open Send Push for App Groups, where you can customize your notification just as those that you send to single apps.

Application groups for Android

For application groups with the Pushwoosh SDK, all apps in a group should be visible to each other; otherwise, pushes sent to a group will be sent to each app in that group separately.
To ensure your apps are visible to each other, declare their package names in each app’s AndroidManifest.xml, under the <queries> tag and also as a trusted_package_names meta-data under the <application> tag:
AndroidManifest.xml
<queries>
<package android:name="com.mycompany.myapp1" />
<package android:name="com.mycompany.myapp2" />
</queries>
AndroidManifest.xml
<application
...
<meta-data
android:name="com.pushwoosh.trusted_package_names"
android:value="com.mycompany.myapp1, com.mycompany.myapp2"/>
...
</application>
For each app in a group, add package names of all other apps in that group. This should be done for all the apps in the group.