Skip to main content
Solved

Unable to resolve host in android


Forum|alt.badge.img+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

Best answer by ryan

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

View original
Did this post help you find an answer to your question?
This post has been closed for comments

2 replies

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • August 13, 2021

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


Forum|alt.badge.img+2
  • Author
  • New Member
  • 2 replies
  • August 14, 2021

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


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