Skip to main content
Solved

android emulator and offerings.current are null

  • 14 December 2021
  • 4 replies
  • 662 views

Forum|alt.badge.img+5
  • Active Member
  • 10 replies

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

Best answer by jazmine

Hey @nseb ,

 

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

 

Let me know if any of these steps help out!

View original
Did this post help you find an answer to your question?

4 replies

jazmine
Forum|alt.badge.img+7
  • Dedicated Contributor
  • 122 replies
  • Answer
  • December 20, 2021

Hey @nseb ,

 

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

 

Let me know if any of these steps help out!


Forum|alt.badge.img+5
  • Author
  • Active Member
  • 10 replies
  • January 4, 2022

@jazmine 
I solved my problem


Forum|alt.badge.img+5
nseb wrote:

@jazmine 
I solved my problem

HOw!?


Forum|alt.badge.img
  • New Member
  • 1 reply
  • April 21, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings