Fly TV PRO
  • 📺Welcome
  • Getting Started
    • Download Android Studio
    • Open Project
  • Project Structure
    • Module Structure
      • network
      • chachemanager
      • app_data_source
      • app
    • Product Flavor
  • Project Customization
    • Change App Name
    • Change App Icon
    • Change ApplicationId
  • Firebase Configuration
    • Create Firebase Project
    • Add your App to Firebase
    • Sync and Rebuild Project
  • Backend Configuration
    • Server requirment
    • Installation Fly tv admin
    • API Connection to your app
    • Push Notification Configuration
  • Admob configuration
  • Product License
  • Thank you
Powered by GitBook
On this page
  1. Backend Configuration

API Connection to your app

PreviousInstallation Fly tv adminNextPush Notification Configuration

Last updated 8 months ago

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/

Change the #BASE_URL in your android app

  • 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.