Outsystems FAQ
Managing google-services files in projects with several possible package names
Anchor link toIn the plugin, you can add multiple google-service.json files to your project, which will be selected based on the package name set during the build.
If you want to switch between multiple Firebase projects (each with its own google-services.json configuration file), follow these steps:
-
Create a ZIP archive. Place each
google-services.jsonfile into a.ziparchive namedgoogle-services.zip. -
When adding this
.zipfile to the project, set the action to Deploy to Target Directory and specify the target directory asgoogle-services/${package_name}.
For example, if the project package name is com.pushwoosh.demo, the target directory will be google-services/com.pushwoosh.demo.

- During the project build, specify the corresponding package name.

Resolving conflicts between multiple plugins depending on FirebaseMessagingService
Anchor link toAndroid does not automatically resolve such conflicts, so it must be done manually. Since each plugin has its own logic, we cannot provide universal code that works for all possible plugins.
Here’s how to address conflicts:
- Write a router class in Java to handle the conflict. This class must be named
FirebaseMessagingRouterService.
Refer to the guide for an example: Using Pushwoosh SDK with other FCM services.
-
Name the Class File. The file containing this class must be named
FirebaseMessagingRouterService.java. -
Place this file into a
.ziparchive namedFirebaseMessagingRouterService.zip. -
Add this archive to the resources of your Outsystems project.
-
Set the action to Deploy to Target Directory, and specify the target directory as
FirebaseMessagingRouterService.

Each new notification replaces the previous one on Android
Anchor link toBy default, the Pushwoosh Android SDK works in single notification mode: every push is posted with the same notification id, so each new one replaces the previous. It is not related to the device vendor or to collapse_key.
Starting with Pushwoosh Plugin component version 4.7.0, enable stacking with the ready-made SetMultiNotificationMode client action:
- Update the Pushwoosh Plugin component from the Forge.
- Refresh the dependency to the PushwooshPlugin module (Manage Dependencies).
- Add
SetMultiNotificationModeto a flow that runs after initialization — for example, the handler of theOnInitializeOverevent, right afterRegisterDevice. The action takes no parameters, and one successful call is stored by the SDK and survives restarts.
Each push then appears as a separate notification. Android groups them into one expandable stack with a counter — that is standard system grouping. Note: pushes sent with an android_tag value still replace each other regardless of the mode.