Change base URL
-
For User App, Open
<project>/lib/apo helper/api_helper.dart
and replace baseUrl variable value with your own URL-
Ensure that don’t put slash(/) at the end of your base url like
static const baseUrl = 'https://your_domain_name/api/';
-
For socket Connection you have to change below the base url.
static const socketBaseUrl = 'http://your_server_ip:3002';
i.e. static const socketBaseUrl = 'http://192.168.0.5:3002';
WarningYou can't run the app without verifying purchase code. So setup first Backend and Admin Panel then run flutter mobile app.
-