Question

Unable to resolve host in android

  • 13 August 2021
  • 2 replies
  • 38 views

Badge

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


2 replies

Userlevel 4
Badge +8

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

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

Reply