API Connection to your app
Last updated
Last updated
After installation, you can connect your admin panel to your Android app using the API. The API base URL will be: https://yourdomain.com/fly_tv_pro/api/
Sometimes it may be in your public folder. https://yourdomain.com/fly_tv_pro/public/api/
Open the network module
Open Findthe build.gradle.kts file
Find the BASE_URL in buildconfigField.
Replace the base URL with your new base_url it may be: https://yourdomain.com/fly_tv_pro/api/
Now everything is done. clean and rebuild the project to get the change. if it does not work. You can invalid cache of Android Studio and restart. uninstall the previous application and run on your real device or emulator.
N:B: if your admin panel in your local host . it may not work . Please upload it to your real VPS server.