My Community
Work At Home Free Classifieds => Post Your Products & Services Here => Topic started by: vihanrichard on May 16, 2025, 08:35:59 AM
-
Hi everyone,
I’ve built a Flutter mobile app that consumes APIs from my Laravel mobile app (https://bagisto.com/en/laravel-ecommerce-app/) backend. Everything works perfectly in local development. However, after releasing the app (on staging/production), the API calls start failing—no response or timeout errors in many cases.
Here’s what I’ve checked so far:
- CORS is properly set up in Laravel (HandleCors middleware is active).
- The base URL is changed from localhost to the actual server IP/domain in the release build.
- SSL certificate is active and valid on the production server.
- Laravel routes are accessible via Postman.
- Flutter's release build has internet permission (AndroidManifest).
- Is there something I might be missing when using Laravel mobile app builder APIs in production? Could this be due to HTTPS enforcement, or DNS issues in release mode?
Any guidance would be really helpful!
Thanks in advance.