Solved

Unable to resolve host in android

  • 13 August 2021
  • 2 replies
  • 4109 views

Badge +2

Hi, I have integrated SDK in my android app and its working great.

but sometime I am getting

Error fetching offerings - PurchasesError(code=NetworkError, underlyingErrorMessage=Unable to resolve host "api.revenuecat.com": No address associated with hostname, message='Error performing request.')

this error. any resolution for this?

 

thanks

icon

Best answer by ryan 13 August 2021, 21:03

View original

This post has been closed for comments

2 replies

Userlevel 5
Badge +9

I did some searching around Stackoverflow and looks like other developers have hit that error from not having the INTERNET permission or just no WiFi connection. 

Reference: https://stackoverflow.com/a/6355961/3166209

Badge +2

No i have already added the INTERNET permission to manifest file and my other network requests are working totally fine. it just the RevenueCat api is giving this error

Error restoring purchase: PurchaseDetails