This documentation was created to serve as a guide to help you to install Challenge.
Navigate through the left side menu to access the different section of this guide.
The menu on the left side contains the topics where we've covered everything you need to set up the app, from the basis
until you have the application installed on the server, allowing anyone anywhere in the world to access your product and
enjoy the services.
Thank you for purchasing our App. If you have any question, please feel free to
contact us from here.
We used Parse Server
has backend, for more information about it, click on the link.You have several options on how to get Parse Server as BaaS or install
your Self-hosted Parse Server.
1) Cloud Services: There are several companies offering
Parse Server.
Navigate to challenge_app.zip file and extract it too
Open android Studio to Import the project
Click on Import Android Studio project
Navigate to extracted challenge_app folder
Click in OK or import then wait for Android Studio to load setup all files and index them.
Open terminal or cmd
In your project root run $ flutter pub get and wait to finish
After that, we will update all credentials we saved in steps before.
Update configuration file
Open the file global_config.dart located in the folder
lib/configuration/, and fill the info listed bellow:
appName - your app's name
appVersion - your app's version
packageName - your app's package name
companyName - your company name
initialCountry - initial country code for the app
serverUrl - the domain of your parse server
(for Back4app: https://parseapi.back4app.com/")
liveQueryUrl - parse server live query url
appId - parse server application ID
clientKey - parse server client key
agoraAppId - agora.io app's id
appEmailAddress - sendgrid.com sender (the email configure as sender in sendergid)
senderGridApiKey - sendgrid.com API Key
Setup Android App
Open terminal or cmd
In your project root run $ flutter pub run change_app_package_name:main com.your.package.name
Setup Firebase in the app
Go to Firebase CLI installation
to install the firebase cli in your Computer, and login using the cli.
Open the project's root in the terminal or cmd
Run the following command to install Flutterfire: dart pub global activate flutterfire_cli
Run the `configure` command, select a Firebase project and platforms: flutterfire configure
Customize Logo and Splash
Go to assets-> images and override icon.png and icon_text.png with your own Logos and
Branding
In your project root run $ flutter pub run flutter_native_splash:create
Install and Setup Admin Panel
Parse Server has Parse Dashboard But since it's not easy to use, we decided to offer an easy and modern Admin Panel for you.
To Install Admin Panel is very easy and also it can be installed on any hosting provider, Shared, VPS, Dedicated, Cloud or others. Keep in mind that you need a Parse Server running somewhere, and at least 1 app is running, in order to get this Admin panel to work properly.
Upload Admin Panel Files to your hosting.
Extract admin_panel.zip you can found it in Main Files.zip
run $ npm install in Admin Panel root Make sure you have NodeJS installed
run $ composer install in Admin Panel root Make sure you have Composer installed
Open Configs.php file and change: Website root url, AppId, RestApiKey and MasterKey of your Parse Server App.
Upload in your hosting and Test by opening the url where you placed your admin panel in your browser.
Configuration
Note: Don't create user manualy in your parse dashboard, make sure you registered user in the app.
Setup Admin User(s)
Go to Parse Dashboard, and Under Classes, click in Users
Choose User to turn admin, navigate to role column and set it's value from user to admin
Open your admin panel link and login.
Open your browser and input your admin panel url
Login using email and password of any User you set admin role.
How to use
Once Logged in, you will directly see how easy is to use Admin Panel, It allows you to see and manage almost
everything of your app, but for advanced use, for example to delete objects, you will need to use your Parse Dashboard
But we process that, we will add more feature in the next version.
With Admin Panel version 1.1 you can:
See all classes records
Add new gifts
Add new category
View Users/Admin Data
View Stories Data
View Lives Data
End a Livestreaming
View Comments Data
View Videos Data
Play Videos Data
View Challenges Data
View Reports Data
View and manage Payouts
See Payouts Notification
View Payments
Add your own Gifts
Gifts are animated images that Users can offer each others for any reason, Heyto apps accept only Lottie files in Json format. You can download lottie files here
Open your Admin panel
Navigate to Gifts
Click and choose Add new gift
Enter the gift Name, credits, category and file
Gift Name is just for you to identify it, Gift Tickets is an amount that is needed for someone to purchase it and Gift File is a file download in Lottie website or created with After Effect and bodymovin, also it must be in JSON format extension.
Add your own Categories
Gifts are animated images that Users can offer each others for any reason, Heyto apps accept only Lottie files in Json format. You can download lottie files here
Open your Admin panel
Navigate to category
Click and choose Add new category
Enter the category Name and file
Sources and Credits
This Admin Panel uses there programing languages
PHP
Javascript
We also used these:
HTML
CSS
Javascript
Composer
Supports
Thank you for reading the documentation. If you still have any question or any problem, please
contact us. We'll give you the best support. Thanks.