Question

setupPurchases of null on react native / expo

  • 31 August 2023
  • 1 reply
  • 41 views

Badge +1

I do use Expo but when I try to initialize revenue cat SDK, I got ‘LOG {"error": [TypeError: Cannot read property 'setupPurchases' of null]}’ error.

my code just like that; await Purchases.configure({ apiKey: 'x' })

I’m  using andorid, in real device and emulator.
 


1 reply

Userlevel 3
Badge +8

Hi, are you using a development build? Please see our guide here: 

 

Reply