I am sending FCM messages using php curl with the legacy http protocol. https://firebase.google.com/docs/cloud-messaging/http-server-ref
I am successfully using the title_loc_key
and title_loc_args
fields along with the following resource strings in my android app.
<string name="fcm_msg_title">%1$s</string>
<string name="fcm_msg_body">%1$s</string>
But whatever method I use in the resource strings to make it appear RTL, it does not work.
I tried to use html with dir="rtl"
and also style="direction:rtl"
.
I tried to use the different combinations of unicode characters as described here: https://stackoverflow.com/a/10989502/8507634
But nothing works and the text is still showing as LTR.
Does any one know of something that can help.