cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid Token in MDK Application

12-27-2020 4:16 PM
devil1994 Explorer
1959 views 12 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Getting invalid Token token when Predefined Global Push Configuration is set to SAP Mobile Services Client.

How to set up push notification in SAP MDK application using Predefined Global Push Configuration set as SAP Mobile Services Client

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes

Can you uninstall and reinstall the client from the play store and try again?
If issue still persists, i suggest you to open a support ticket (select component MOB-MDK) for this issue so it can be investigated further.

devil1994
Explorer
0 Likes

Hi Jitender ,

It works now. Just curious if I already have a application . Can the push notification added . And is push notification available for the release version of the apk generated using the cmd. For generating the release version I am using Android studio to generate the Keystore values and finally generate the apk file

idi_kurniawan2
Explorer
0 Likes

I confirmed that the error also happened to me when following the tutorial https://developers.sap.com/tutorials/cp-mobile-dev-kit-push.html .

The only way is to uninstall and reinstall SAP Mobile Services Client before onboarding.

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes
just curious if I already have a application . Can the push notification added

yes, you can add push notification capability in an existing application.

is push notification available for the release version of the apk generated using the cmd

You are looking for enabling the push notification in custom MDK client? If so, please check this tutorial.

devil1994
Explorer
0 Likes

Thanks Jitendra.

I see for branded applications we are using firebase. Not the stardard predefined one. As in case of mdk client

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Likes

Predefined push notification functionality is applicable to SAP Mobile Services client only, this client (.apk) has been built with similar Firebase push functionality/configuration as you would add the ones to your branded client.
Main purpose of the public store clients are meant for demo/development/learning. In your case, you can easily test out e.g. push notification functionality in your app (MDK metadata) with public store client and when you want to run your app in a branded client, you can easily run it over there without additional changes in MDK metadata.