Set the CRM installation URL in lib/app/constants.dart:
If Perfex is installed in a subdirectory, include it:
Use your own address in place of these examples. Do not include a trailing slash, /admin, /clients, or /flutex_customer_api/v1.
lib/core/network/dio_provider.dart appends /flutex_customer_api/v1. For the first example, the config request goes to:
Use a valid HTTPS certificate. Do not solve certificate failures by disabling certificate validation. A development computer’s localhost address does not point to that computer from a separate phone.
If public configuration works but customer data does not, check the module license, contact credentials, and permissions. Do not add a generic Perfex API key: this module uses its own contact-based authentication flow.