Can i get the associated app id from expo ExponentPushToken?


#1

I have a weird situation were there are tokens from one app mixed with another in our database. Both apps are under the same user. Given an ExponentPushToken I would like to get the associated app. This will help me understand when does the problem occur, and also avoid errors for other correct token. Is it possible that because our users open two different apps, Expo retrieves push token in one app that is from another?
From going over our code there shouldn’t be any mixup (each app uses a different collection and different property name for the tokens…).

I am using expo 50.0.1, and expo-server-sdk 2.3.3.

Thanks!


#2

it’s not possible for you to go backwards from a push token to an app, as far as i know. cc @ide


closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.