Sign In Register

How can we help you today?

Start a new topic

Message (push notification) localization

Hi, I`m trying to localize push notification messages. What I already do:
1. Set user LANGUAGE segment
2. Set-up message with segment options
But! I receiving default(English) message on my device.

Capture1.PNG

Capture.PNG



1 person has this question

Hi Stephanie,


Can you show us what you are using in Cloud Code to send this ScriptMessage ?


Thanks,

Liam

 I create message with message code, then set data, playerId and set SendAsPush - true 

var msg = Spark.message("NRG_REFILL");
        msg.setMessageData(msgData);
        msg.setSendAsPush(true);
        msg.setPlayerIds(playerId);
        msg.send();

 

 

 


Hi Stephanie,


Can you create a test player in your game that replicates this issue for us ? 


Thanks,

Liam

Hi Stephanie,


This has been identified as a bug and will be addressed in an upcoming platform update. It seems to only be scriptMessages that are effected here. System message segmentation works fine. I'll let you know when there is an update on this.


Thanks,

Liam

I'm having the same issue. Has this bug been resolved? 

Just wanted to be sure before digging in further.


Best,

Hi Gabriel, 


It's currently being addressed and should be in the next portal update. I'll post back here when it has been fixed.


Thanks,

Liam


1 person likes this

OK thanks!

Login to post a comment