Skip to main content




Applies only to Mobile Apps
Service Studio version:

Firebase Plugins

  • Edit
    Collaborate with us
    Edit this page on GitHub
  • Firebase is a Google mobile development platform. It speeds up development many of the common development patterns for mobile apps. You can use Firebase in the OutSystems mobile through the following Firebase-based plugins:


    To use the Firebase plugins you meet the following requirements:

    Adding and using a Firebase plugin

    To add a Firebase plugin to your module, follow these steps:

    1. Install the plugin and reference it in your module. See Adding plugins for detailed instructions.

    2. Add the Google services configuration file to the module.

      You need to add Google services configuration file only for the first Firebase plugin in your module. The next Firebase plugin you add uses the same configuration files.

    3. In Service Studio, go to Logic > Client Action > your Firebase plugin and use the actions in your logic.

      Firebase actions in the logic tab of Service Studio

    Adding Google services configuration file

    An app with a Firebase Plugin requires the plugin configuration files in the app file resources. Follow the steps to add the Firebase configuration to your module:

    1. In Service Studio, go to the Data tab.

    2. Right-click the Resources folder and select Import Resource. The Import Resource dialog opens.

    3. Select the Firebase configuration file and confirm the selection. Service Studio adds the file under the Resources folder.

      Resources folder in Service Studio

    4. Select the resource and configure the following:

      Resource settings for Firebase

    5. Repeat steps two and four for each environment, each time using a different configuration and target directory.

      Resource settings for Firebase

    Preparing Firebase configuration file

    Add the files GoogleService-Info.plist and google-services.json in a zip file and name the zip file

    Configuration files in a zip archive

    Generating target directories for configuration files

    A Firebase Plugin requires that you supply configuration files in the app file resources. The mobile apps commonly have different identifiers in different environments, so you need to generate target directories for each environment.

    To get the target directory, concatenate the app identifier and .firebase. Here are examples for three environments with different app identifiers.

    Environment App identifier Target directory

    Use the target directory value in the Target Directory property of the Resource.

    • Was this article helpful?