Welcome to the ARPA Family!

Thank you for your recent purchase. We’re excited to have you with us and are dedicated to providing you with top-notch service. Your trust in ARPA is greatly valued.

Should you need help with the code or documentation, our Support Team is here to assist you via this here .



Avion App

Avion is an audio-only app designed to bring people together through live audio streaming. It offers a platform where like-minded individuals can join the same virtual room to engage in meaningful and interesting conversations. With a focus on fostering real-time communication, Avion creates a space for users to connect, share ideas, and explore common interests through voice, eliminating the distractions of text or video. Whether you're hosting a discussion or just tuning in, Avion ensures a seamless and engaging audio experience.



Admin Setup

  1. Change Db name:-
    Go to utils > constants.php and add your DB name according to your server.

    System Configurations
  2. Change Db credentials:-
    Go to utils > constants.php and add your DB mysql user and Db mysql password according to your server.

    System Configurations
  3. Import Database from extrated folder into your server
  4. Run Project:-
    Copy extracted files to server and run login.php on your preferred browser including your domain, example https://example.com/"YOUR PROJECT FOLDER NAME"/login.php.


Requirements

Required Software

  1. Android Studio/ Visual Studio Code
  2. Flutter
  3. Java version 21

Setup Flutter

To get started, install the latest supported Flutter version (v3.24) from the Stable channel.

For a complete installation guide tailored to your platform, visit the official Flutter website: Flutter installation Guide.

Prefer video tutorials? Explore this helpful playlist: Videos

Once Flutter is installed, run the following command in your terminal to ensure everything is set up correctly: flutter doctor -v

-*

This command will provide a detailed output of your Flutter environment setup.

Important: Ensure that the following tools are properly configured:

  • Android Toolchain
  • Android Studio
  • Xcode (for macOS users)

IDE Setup

  • For Android Studio: Install the Flutter and Dart plugins from the Android Studio marketplace.
  • For Visual Studio Code: Install the Flutter extension from the VS Code marketplace.

If any issues are detected, follow the necessary steps to resolve them. You can refer to the official Flutter documentation for troubleshooting: Flutter Documentation.

Once everything is verified to be correctly configured, you can continue with the next steps in the documentation.



Run the Project

  • Extract the Code:
    Begin by extracting the downloaded code package.
  • Open the Project:
    Locate and extract the contents of the avion.codecanyon-XXX.zip, then open the project in either Android Studio or Visual Studio Code.
  • Install Dependencies:
    In the IDE terminal, run the following command to download and set up the necessary dependencies: flutter pub get
  • (Optional) Setup for iOS:
    If you're planning to run the app on an iOS simulator, follow these steps:
  • Run the Application:
    To launch the app, use the following command in the terminal: flutter run


Change App Package name

For Android Studio:

  • Press CTRL + SHIFT + R to open the Replace in Files tool.
  • Search for our package name com.arpa.avion and replace it with your own package name in all instances.

    System Configurations

For Visual Studio Code:

  • Press CTRL + SHIFT + F to open the Find in Files tool.
  • Search for com.arpa.avion and replace it with your package name across all files. instances.

    System Configurations

Change App Name

For Android Studio:

  • Press CTRL + SHIFT + R to open the Replace in Files tool.
  • Search for Avion Social and replace it with your desired name in all relevant places.

For Visual Studio Code:

  • Press CTRL + SHIFT + F to open the Find in Files tool.
  • Search for Avion name and replace it with the new name across all files.

Integrate Firebase in the Project

  1. Create a new Project

    System Configurations
  2. Now Connecting Android Application to it

    System Configurations
  3. Now, fill in the details, to get your SHA-1 & SHA-256 keys visit https://developers.google.com/android/guides/client-auth. SHA keys are required for using firebase authentication. if you have doubts about SHA keys, click here

    System Configurations
  4. Download the google-services.json and move it in our code as the description given in the screenshot down below.

    System Configurations
  5. Skip rest of the steps and press Continue to the Console
  6. Now Connecting IOS to the Firebase.

    System Configurations
  7. Enter The Bundle Id and then Register the App, and skip the following form.

    System Configurations
  8. Firebase Admin Panel Setup :-
    Download the firebase json by opening your Firebase Project > Project Settings > Services Account, and clicking generate new key.

    System Configurations
  9. Rename the downloaded file to "service_account_key.json" and paste it in the root folder of the admin project.

    System Configurations

Enabling Firebase Authentication

Go to your Firebase project, navigate to the Authentication section, and enable the sign-in methods for Email, Phone, Google, and Apple as illustrated in the image.

System Configurations

Create an Admin Signup and specify the Email and Password for it

System Configurations

Creating Firestore Database

Navigate to Firestore Database and Create a Database While creating select the nearest location Datacenter for it.

After the Database is created you need to set the rules for the app as bellow copy the bellow content and paste it in the Rules Section and then publish.

rules_version = '2';
service cloud.firestore {
 match /databases/{database}/documents {
  match /{document=**} {
   allow read, write: if request.auth.uid != null;
  }
 }
}
System Configurations



Creating Storage bucket

Navigate to the Storage section and create a storage part.

After the Storage is Created you need to paste the rules section in the rules as provided bellow and then publish the change.

rules_version = '2';
service firebase.storage {
 match /b/{bucket}/o {
  match /{allPaths=**} {
   allow read, write: if true;
  }
 }
}
System Configurations



Modify the App

In the libs/utils/core/color.dart do change the color according to your requirement.

System Configurations

Rtc Setup

You need to create an account in svara.live the website Link : svara.live

System Configurations

After signing up and claiming $25 early bonus credits in the console create an app

System Configurations

Get into the project created and copy the appId.

System Configurations

The Obtained App Id you need to paste in the lib/utils/core/constant.dart

System Configurations

Admob Integration

Visit AdMob and Create Ad Units

  1. Go to the https://admob.google.com
  2. Sign in with your Google account and create a new app if you haven’t already added it to AdMob.
  3. Navigate to Ad Units and create a Rewarded Ad Unit for both Android and iOS platforms.
  4. Copy the Ad Unit IDs for Android and iOS.

Locate the Constants File in the Project

  1. Open your Avion project in your code editor.
  2. Navigate to the following directory: lib/utils/constant/constants.dart

    Code View
  3. In the constants.dart file, you’ll find placeholders for the AdMob Rewarded Ad IDs for Android and iOS.
  4. Replace the placeholder text with the Ad Unit IDs you obtained from the AdMob dashboard.

    Code View
  5. Replace the Application Id with your App id in AndroidManifest.xml


Razor pay Integration

Create a Razorpay Account

  1. Visit the Razorpay website and sign up for a merchant account.
  2. Complete the KYC verification process to activate your account.

Obtain API Keys

  1. Log in to the Razorpay dashboard.
  2. Go to Settings > API Keys and generate your Key ID and Key Secret.
  3. Save these credentials securely.

Locate the Constants File in the Project

  1. Open your Avion project in your code editor.
  2. Navigate to the following directory: lib/utils/constant/constants.dart

    Code View
  3. You’ll find placeholders for the RazorPay Key id and Razor Pay Key Secret.


Data safety form submission guideline for the PlayConsole

Check out the YouTube video below for a brief tutorial on how to fill out the required Data Safety Form in the Play Console.

https://youtu.be/nWEuWYK8Juc



Reach Us

Discover the Potential of ARPA!
Your go-to destination for exceptional Flutter app development and web solutions. Whether you’re seeking top-tier services or exciting freelance opportunities, we’re here to help.



Thank you for choosing ARPA!