Question

Please provide your purchase code in configs/env.props

  • 22 May 2023
  • 2 replies
  • 218 views

Badge

Hi ,I have the purchase code ,but where should I create the configs/env.props file?


2 replies

Badge

W/[Purchases] - WARN(29153): ⚠️ Unable to start a network connection due to a network configuration issue: Unable to resolve host "api.revenuecat.com": No address associated with hostname
E/[Purchases] - ERROR(29153): 😿‼️ Error performing request.
E/Purchases(29153): Error fetching customer data: Error performing request.
W/[Purchases] - WARN(29153): 🤖‼️ Billing is not available in this device. DebugMessage: Billing service unavailable on device.. ErrorCode: BILLING_UNAVAILABLE.
W/[Purchases] - WARN(29153): ⚠️ Unable to start a network connection due to a network configuration issue: Unable to resolve host "api.revenuecat.com": No address associated with hostname
E/[Purchases] - ERROR(29153): 😿‼️ Error performing request.
E/[Purchases] - ERROR(29153): 🤖‼️ Error fetching offerings - PurchasesError(code=NetworkError, underlyingErrorMessage=Unable to resolve host "api.revenuecat.com": No address associated with hostname, message='Error performing request.')
 

Userlevel 3
Badge +6

Hey There! 

 

I am not 100% sure on what you are asking for, but since it seems that you are using Flutter, have you followed our guide on getting the Purchases SDK installed for Flutter which can be found here: https://www.revenuecat.com/docs/flutter

 

We also have a sample App for getting a Flutter app up and running which includes some folder organization that might be helpful which can be found here: https://github.com/RevenueCat/purchases-flutter/tree/main/revenuecat_examples/MagicWeather

 

Let me know if that helps! 

Reply