Question about update from v11.x to v12.x and token retrieval with multiple instance #6145
-
Hi ! We have different customers and we set But with new refactoring about iid this parameter has been removed and we should now use Looking at the How can I retrieve a device token for another Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@manuquentin I apologize - but I'm not sure it is possible. Scopes for tokens are simply gone as far as I know. This may be unsatisfying as an answer here but I think the best course of action is either to ping the firebase folks upstream at firebase-android-sdk or on stackoverflow with correct firebase tags (they offer support there). They may have a mechanism to do it or a suggested workaround, otherwise the only thing I can think of is to change perspective to really just think of the installation ID as "the app on the device" and if you need to differentiate further to maintain that information in your own backend so you may target devices correctly |
Beta Was this translation helpful? Give feedback.
@manuquentin I apologize - but I'm not sure it is possible. Scopes for tokens are simply gone as far as I know. This may be unsatisfying as an answer here but I think the best course of action is either to ping the firebase folks upstream at firebase-android-sdk or on stackoverflow with correct firebase tags (they offer support there). They may have a mechanism to do it or a suggested workaround, otherwise the only thing I can think of is to change perspective to really just think of the installation ID as "the app on the device" and if you need to differentiate further to maintain that information in your own backend so you may target devices correctly