Solved

android emulator and offerings.current are null

  • 14 December 2021
  • 4 replies
  • 148 views

Badge +4

Hello,
it’s possible to test Purchases with android emulator  (google pay activated) , because Offerings.current is empty.

2021-12-14 17:33:19.831 11616-11920/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ API request started: GET /subscribers/1/offerings
2021-12-14 17:33:19.831 11616-11920/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ API request completed with status: GET /subscribers/1/offerings 304
2021-12-14 17:33:19.831 11616-11920/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ Requesting products from the store with identifiers: um.subscription.gold.monthly.kart
2021-12-14 17:33:19.832 11616-11920/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ Requesting products from the store with identifiers: um.subscription.gold.monthly.kart
2021-12-14 17:33:19.832 11616-11920/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ Querying purchases
2021-12-14 17:33:19.841 11616-11929/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ Products request finished for um.subscription.gold.monthly.kart
2021-12-14 17:33:19.841 11616-11929/io.umotorsports.kart D/[Purchases] - DEBUG: 💰 Retrieved skuDetailsList: 
2021-12-14 17:33:19.841 11616-11927/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ Products request finished for um.subscription.gold.monthly.kart
2021-12-14 17:33:19.841 11616-11927/io.umotorsports.kart D/[Purchases] - DEBUG: 💰 Retrieved skuDetailsList: 
2021-12-14 17:33:19.841 11616-11929/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ Requesting products from the store with identifiers: um.subscription.gold.monthly.kart
2021-12-14 17:33:19.842 11616-11927/io.umotorsports.kart D/[Purchases] - DEBUG: ℹ️ Requesting products from the store with identifiers: um.subscription.gold.monthly.kart


Best Regards

icon

Best answer by jazmine 20 December 2021, 18:12

View original

4 replies

Userlevel 3
Badge +7

Hey @nseb ,

 

Have you been able to look at our  article on this?

 

Let me know if any of these steps help out!

Badge +4

@jazmine 
I solved my problem

Badge +1

@jazmine 
I solved my problem

HOw!?

Hi, I’m having the exactly same issue, how did you solve it @jazmine ?.

Everything is configured and all the checklist is reviewed, but still I keep getting empty offers and products.

This only happens in Android (iOS working fine)

It looks like the app is getting some info though as logs are displaying product ids:

D/[Purchases] - DEBUG(17847): ℹ️ Querying purchases
D/[Purchases] - DEBUG(17847): ℹ️ Cleaning previously sent tokens
D/[Purchases] - DEBUG(17847): ℹ️ Tokens already posted: []
D/[Purchases] - DEBUG(17847): ℹ️ Saving tokens []
D/[Purchases] - DEBUG(17847): ℹ️ Tokens already posted: []
D/[Purchases] - DEBUG(17847): ℹ️ Products request finished for g_dt_b_2000_1m_0m0, dt_b_2000_1m_3m0
D/[Purchases] - DEBUG(17847): 💰 Retrieved skuDetailsList:
D/[Purchases] - DEBUG(17847): ℹ️ Requesting products from the store with identifiers: g_dt_b_2000_1m_0m0, dt_b_2000_1m_3m0
D/[Purchases] - DEBUG(17847): ℹ️ Products request finished for g_dt_b_2000_1m_0m0, dt_b_2000_1m_3m0
D/[Purchases] - DEBUG(17847): 💰 Retrieved skuDetailsList:
D/[Purchases] - DEBUG(17847): ℹ️ Requesting products from the store with identifiers: g_dt_b_2000_1m_0m0, dt_b_2000_1m_3m0
D/[Purchases] - DEBUG(17847): ℹ️ Products request finished for g_dt_b_2000_1m_0m0, dt_b_2000_1m_3m0
D/[Purchases] - DEBUG(17847): 💰 Retrieved skuDetailsList:
D/[Purchases] - DEBUG(17847): ℹ️ Products request finished for g_dt_b_2000_1m_0m0, dt_b_2000_1m_3m0
D/[Purchases] - DEBUG(17847): 💰 Retrieved skuDetailsList:
I/flutter (17847): [RevenueCat Purchases] Offerings: Offerings(all: {}, current: null)
I/flutter (17847): [RevenueCat Purchases] empty offerings
D/[Purchases] - DEBUG(17847): ℹ️ Vending PurchaserInfo from cache.

 

Any help would be appreciated

Thanks!

Reply