Skip to Content

Firebase and SAP Mobile Platform Android SDK Integration

Hi all,

I am new in SAP Mobile Platform Android SDK. I started with some tutorials and using wizard to setup Android app.

In push notification step, I can set "google-services.json" in the wizard and then the wizard would help to generate the Firebase/notification related classes.

My question is, I have an existing app that skipped the step of setting "google-services.json" in the wizard, how can I integrate "google-services.json" into my app later on. I already added "classpath 'com.google.gms:google-services:4.1.0'" and "implementation 'com.google.firebase:firebase-core:16.0.4'" in project and module gradle file, and then sync, but looks like Firebase/notificaton classes were not generated. What else should I do?

Regards,
Ming

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 28 at 12:18 PM

    I would start by creating a project with the wizard that includes push.

    Move the project to another location.

    Then create a second project with the same name that does not include push.

    Diff the projects perhaps using a tool like winmerge to see the differences and then apply those changes to your project.

    Hope that helps,

    Dan van Leeuwen

    Add comment
    10|10000 characters needed characters exceeded