cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP MDK - push notifications and other issues

alagar_pandian
Participant
0 Kudos
948

Hi @Jitendra_Kansal78 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

 

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert

@alagar_pandian 

  1. SAP Mobile Services client is intended for quick testing and proof of concept purposes. For productive usage, we recommend that you create a branded Mobile Development Kit client using either the Mobile Development Kit SDK or SAP Mobile Services Cloud Build service. This information is covered in this documentation.
  2. Yes. See this tutorial

 

alagar_pandian
Participant
0 Kudos

@Jitendra_Kansal78 If I use cloud build service is it still possible to get the actual source code of the branded MDK client generated , I know we get only apk and aab files in this approach but is it possible for source code ?

Also for the point 2 above -> hope I can ignore step 3 and step 4 in this tutorial as that seems to be relevant to MDK SDK approach. I would probably just need to do step 1 & step 2  for push notification  and do cloud build . tutorial

alagar_pandian
Participant
0 Kudos

looks like  tutorial works only for MDK SDK approach not for cloud build approach. Could you check and confirm please @Jitendra_Kansal78 . Also how to get source code(android) for the mobile client generated by cloud build feature ? thanks

alagar_pandian
Participant
0 Kudos

Thanks a lot @Jitendra_Kansal78   @bill_froelich 

Answers (1)

Answers (1)

Jitendra_Kansal78
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