Missing method in react native sdk (react-native-purchases

  • 30 September 2022
  • 2 replies

Badge +6

Hello! There is no method to set the protected attribute $firebaseAppInstanceId in react native, so the 3. of this tutorial  for the revenueCat ↔ firebase analytics integration can’t be completed. Setting it with Purchases.setAttributes({$firebaseAppInstanceId: THE_ID }) doesn’t work.


How can I do it?


2 replies

Badge +3

I was also looking into this integration. I’ve also tried this, but I can’t see any events being made in Google Analytics. 

Badge +2

I did find a `Purchases.setFirebaseAppInstanceID` from inspecting the purchases source. Needs to be mentioned in the docs :)