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
-
Change Db name:-
Go to utils > constants.php and add your DB name according to your server.
-
Change Db credentials:-
Go to utils > constants.php and add your DB mysql user and Db mysql password according to your server.
- Import Database from extrated folder into your server
-
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
- Android Studio/ Visual Studio Code
- Flutter
- 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.
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.
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
-
Create a new Project
-
Now Connecting Android Application to it
-
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
-
Download the google-services.json and move it in our code as the description given in the screenshot
down below.
- Skip rest of the steps and press Continue to the Console
-
Now Connecting IOS to the Firebase.
-
Enter The Bundle Id and then Register the App, and skip the following form.
-
Firebase Admin Panel Setup :-
Download the firebase json by opening your Firebase Project > Project Settings > Services Account, and clicking generate new key.
-
Rename the downloaded file to "service_account_key.json" and paste it in the root folder of the admin project.
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.
Create an Admin Signup and specify the Email and Password for it
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;
}
}
}
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;
}
}
}
Modify the App
In the libs/utils/core/color.dart do change the color according to your requirement.
Rtc Setup
You need to create an account in svara.live the website Link : svara.live
After signing up and claiming $25 early bonus credits in the console create an app
Get into the project created and copy the appId.
The Obtained App Id you need to paste in the lib/utils/core/constant.dart
Admob Integration
Visit AdMob and Create Ad Units
- Go to the https://admob.google.com
- Sign in with your Google account and create a new app if you haven’t already added it to AdMob.
- Navigate to Ad Units and create a Rewarded Ad Unit for both Android and iOS platforms.
- Copy the Ad Unit IDs for Android and iOS.
Locate the Constants File in the Project
- Open your Avion project in your code editor.
-
Navigate to the following directory:
lib/utils/constant/constants.dart
- In the constants.dart file, you’ll find placeholders for the AdMob Rewarded Ad IDs for Android and iOS.
-
Replace the placeholder text with the Ad Unit IDs you obtained from the AdMob dashboard.
- Replace the Application Id with your App id in AndroidManifest.xml
Razor pay Integration
Create a Razorpay Account
- Visit the Razorpay website and sign up for a merchant account.
- Complete the KYC verification process to activate your account.
Obtain API Keys
- Log in to the Razorpay dashboard.
- Go to Settings > API Keys and generate your Key ID and Key Secret.
- Save these credentials securely.
Locate the Constants File in the Project
- Open your Avion project in your code editor.
-
Navigate to the following directory:
lib/utils/constant/constants.dart
- 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.
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.
- Visit us: arpahub.in
- Email us: [email protected]
- Join our Discord community for support and discussions: Click Here
- Raise a ticket for any queries: Click Here
- Contact us via WhatsApp: +919321460739
Thank you for choosing ARPA!