I'm using MobilePush in Marketing Cloud to send push notifications to my Android phone and it's not working!
It seems like there are IDs everywhere along the road. Can someone please help me figure out what needs to go where?
First, Android Java code, on init of MarketingCloudSdk you need to send some IDs:
MarketingCloudSdk.init(this, MarketingCloudConfig.builder()
.setApplicationId("801a9061-f48a-4053-b838-9962d6aeef2e")
.setAccessToken("535gar5272p4um77cjw5xvyy")
.setGcmSenderId("701243172379")
//Enable any other feature desired.
.build()
ApplicationId
- what is this? I've guessed it's the application ID of my "MobilePush" type app in the App Center??AccessToken
- what is this? Again, I've guessed it's the access token of my "MobilePush" type app in the App Center??GcmSenderId
- what is this?? I've guessed it's the "senderId" of my app in Google FCM, under Settings > Cloud Messaging > Sender Id?
Next, using MobilePush Marketing Cloud, when you add a contact, you need to provide the following 4 mandatory things:
AppId
- What is this? I've guessed it's the application ID of my "MobilePush" type app in the App Center??DeviceId
- What is this? I've guessed it's the deviceId that FCM generates when you callFirebaseInstanceId.getInstance().getToken()
in your Android Java code?SystemToken
- No idea what this is or how to get it!!SubscriberKey
- No idea what this is or how to get it!!
Any help on trying to put these pieces of the puzzle together is much appreciated!
I have got some of my assumptions wrong above I am sure. Help me, please!