AEP SDK: How to change PushPlatform default value GCM ?

Avatar

Avatar

robayzma

Avatar

robayzma

robayzma

19-12-2019

I am using the AEP SDK and noticing that the payload on startup is set to GCM.

The log entry in Android Studio looks like this:

D/AdobeExperienceSDK: CampaignExtension - processRequest - Campaign Request Queued with url (https://*******-sandbox.adobe.com/rest/head/mobileAppV5/@YbyiVrJB5VoiREkHe_JyohyYvxOREuJjngnWTaKlelvapqcTcnlbk4POgDOUoTLnzkRMQ4Sm6uFh_EIEcdSylkc7eKZXJdHS5jce6WULYr7U6lCyWDfis50xtplhd6mq5mhWbA/subscriptions/84468840125982782508671000597616434081) and body ({"marketingCloudId":"84468840125982782508671000597616434081","pushPlatform":"gcm"})

 

Can it be changed to another variant like iOS or FCM? And how to do that?

 

Cheers

Robert

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

swarna04

Avatar

swarna04

swarna04

19-12-2019

@robayzma The payload containing the push platform information is currently sent from within the SDK as part of Campaign registration call based on the platform (android - `gcm` or `fcm` and iOS - `apns`). You should be able to update the value using a launch postback rule but we do not recommend it. What exactly is your use case for trying to update the push platform value later?

Answers (0)