We're currently developing an async multiplayer game using Playfab. We want to send custom formatted push notifications to our users (user to user) so we can open that specific game when the user taps the notification.
It's possible to format the necessary JSON for a specific platform ourselves (Android and iOS currently). Except we - as far as we know - have no way to send the correct JSON to the user since we don't know if they're registered with iOS and/or Android. Is it possible to send 'generic' custom push notification data so that Playfab formats the correct JSON for the stored notification token's platform?
We could store an "iOS" or "Android" string in the user's public data when a token is registered so we know how to format the JSON. The problem is that this fails if a user is registered with multiple platforms.
How can we fix this problem?