cancel
Showing results for 
Search instead for 
Did you mean: 

Firebase and SAP Mobile Platform Android SDK Integration

raffinkira
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Dan_vL
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

raffinkira
Participant
0 Kudos

Sounds like possible, thanks for your advice.

raffinkira
Participant
0 Kudos

Finally, I solved the problem.

I compare two projects and got the delta, then add the delta to my project, but I swear I am not going to do that again.

Answers (0)