cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDK - push notifications and other issues

alagar_pandian
Participant
0 Kudos
282

Hi @Jitendra_Kansal and everyone, 

I am currently exploring SAP MDK and it's capabilities using licensed BTP account of my Org. I have few queries,

1. Is it okay if I use 'sap mobile services client' app which is publicly available to load the app content which I built and deployed in mobile services in production ? if yes, will it support push notifications which I am planning to trigger from S/4 Hana backend system by calling mobile service APIs ?

2. If I use the cloud build feature in SAP Mobile services to generate a MDK client, will it support push notifications ? I don't want to install MDK SDK locally to configure push notification settings, would be great if we have an option to do push notification settings in cloud build itself, if possible plz provide relevant blogs on that.

3.Looking for an answer to this issue https://community.sap.com/t5/technology-q-a/sap-mdk-sdk-installation-error/qaq-p/12511985/comment-id...

@fjcarrasco 

Thanks in advance,

Alagar

 

View Entire Topic
Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

@alagar_pandian You won't get the actual source code of the branded MDK client generated in cloud build.

Using the cloud build you can (see this tutorial)

  1. Create a standard MDK client by providing your own app icon and app logo.
  2. Create a customized MDK client by importing your local .mdkproject similar to what you might have done via MDK SDK locally on your machine.

For #a, use step 1 to 2 from the push-customclient tutorial. 
For #b, use step 1 to 3

 

alagar_pandian
Participant
0 Kudos

For #a, use step 1 to 2 from the  push-customclient_tutorial .

I tried this option a and followed step 1 and 2 for standard MDK client which I had already generated using cloud build job. But I don't see any 'push registration success' message when I launch the app.

I even tried to run another cloud build job and installed the app again by the latest binaries but no use. I don't see any device registration information in mobile services aswell.  

Is it because there is no step to add 'google-services.json' file for standard MDK client ? Please throw some light here Jitendra_Kansal . 

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

During a standard MDK Cloud Build there is a step where you can specify your google-services.json.  On the second step (Platform) when creating the build job you have the option to upload your Google Services JSON file.

GoogleServices.png