react-native-firebase icon indicating copy to clipboard operation
react-native-firebase copied to clipboard

🔥 Measuring in-app purchases

Open mertkaracax opened this issue 2 months ago • 2 comments

After I started using StoreKit 2, I noticed that on iOS the auto-collected in_app_purchase events stopped being sent on the analytics side.

According to this doc: https://firebase.google.com/docs/analytics/measure-in-app-purchases#implementation-apple

it says that we now need to track these events manually, and for that the Analytics SDK should be 12.5.0 or above. But the latest version of the current react-native-firebase SDK (23.5.0) still seems to use Firebase iOS SDK 12.4.

Will you guys be supporting an event trigger like the one shown in the link? And do you maybe have an estimated timeline for switching to Firebase iOS SDK 12.5 or higher?

mertkaracax avatar Dec 04 '25 20:12 mertkaracax

logEvent should still work regardless of the native sdk version we are using: https://github.com/invertase/react-native-firebase/blob/main/packages/analytics/lib/modular/index.d.ts#L74-L89 As for the underlying iOS SDK version upgrading it is never a bad idea and I am happy to put that out today granted there are no breaking changes to be resolved first.

MichaelVerdon avatar Dec 09 '25 12:12 MichaelVerdon

Hi there we appear to be using 12.6.0 already https://github.com/invertase/react-native-firebase/pull/8775

MichaelVerdon avatar Dec 09 '25 12:12 MichaelVerdon

Marking ticket as resolved, feel free to reopen if you are experiencing other issues or open a new one.

MichaelVerdon avatar Dec 12 '25 09:12 MichaelVerdon