Firstly, big thanks for purchasing the cupid love application, your support is truly appreciated! If you have any questions that are beyond the scope of this help file, please feel free to email via our User page contact form
- Open the … /Main File Folder to find all the Source Files
- Cupid love contains:
- CupidLove – Folder
- Documentation – Documentation Folder
Following are the requirements to run web admin properly on your domain.
- AWS server hosting( Strictly Recommended )
- PHP 7+
- MYSQL 5.7+
- Enable mod_rewrite
- Enable mysqli extension
- Enable gd Library
- Google Place API Key
Follow these steps to start using the cupid love web admin application on your domain.
- Unzip your Package bundle
- Go to the Coupidlove/Adminapp
- Copy Adminapp.zip File
- Paste those files in your server desired folder. e.g. www/html/
- Locate the folder where you want to host this application.
- Paste the ZIP file and Extract it.
- Create database and database user on the server
- Locate the installed directory URL in the browser. example: http://yourdomain.com/
- For the first time, you will see the installation process.
- Step – 1. Database Details.
Enter Database details such as : Host Name, Database Username, User Password and Database Name.
- Step – 2. Create Admin Account
Enter Email address and password. This account will be used to access the admin panel.
- Step – 3. General Configuration.
Select Language you want to set (English, Fench or Arabic)
Enter Facebook and Google API key.
- Step – 4. Android Setting.
Enter Android FCM key for sending the push notification.
- Step – 5. Other Details.
Enter Details all details you have.
- Run website : URL: http://www.yourdomain.com/
- Admin Url: http://www.yourdomain.com/admin
- Default Admin User Details:
- Username: firstname.lastname@example.org
- Password: 123456
- You API URL will be: http://www.yourdomain.com/api/
Following are the requirements to run the Android application.
- XMPP Server ( Strictly Recommended Ejabberd Server hosted on Amazon AWS)
- Android Studio.
- Google Play Store Developer Account. (Submit an application on play-store.)
- Database and Webservice setup.
- Firebase setup for Google login.
- Facebook App key.
Push Notification Firebase Setup
- Go to https://console.firebase.google.com/ and follow instructions to create a new app within firebase.
- Click on “add project” to add a new project to firebase.
- After creating new project configure android application. Click on “Add Firebase to your Android app” to connect your android application to firebase.
- Enter project details in given form and click on REGISTER APP. (We recommend to add signing certificate SHA-1 key for better application management)
- Download google-service.json file and add google-service.json file in your project’s
- Click on CONTINUE and FINISH for next steps of configuration.
- Now your application is ready for firebase integration.
- Go to CupidLove admin panel, select CONFIGURATION from left menu and enter your ANDROID FCM KEY.
phpMyAdmin - top
To learn how to import database in phpMyAdmin Click here
Android App Import
Now we will setup our Android to Make it communicate with our XMPP Server
- Open downloaded folder from Codecanyon
- Open CupidLove project from Android Studio.
Wait for Android Studio to load setup all files and dependecies.
Once finished your App is now ready to compile in real device or Android Emulator.
You can change app detail from URLS.java file.
- To Set API Please follow below steps
- Customize package-name and then provide your package-name in utils/Constant.java file and in application build file’s applicationId .
- Customize Application name and then provide your Application name in res/values/string.xml file and other language xml file.
=> open …utils\URLS.java file
=> Set MAIN_URL and UPLOAD_URL as following
public final String MAIN_URL = “http://your-server-domain/api/”;
public final String UPLOAD_URL = “http://your-server-domain/uploads/”;
Note:- Enter Your server domain instead of your-server-domain and paste it in your android code.
In App Billing
Now we are going to setup our next money source by in app billing. To setup In app purchase go to https://play.google.com/apps/publish/ and do as follows
- Sign In / Sign Up to your account and CREATE NEW APPLICATION.
- Then add In app products to your app and upload APK of your application to your acoount.
- In that app, create MANAGED in-app items provide Product ID, Title, Description, Price.
- Then save and generate product id.
- Go to CupidLove admin panel, select CONFIGURATION from left menu and enter your In-App Purchase Id in RemoveAddInAppPurchase.
- Go to https://developers.facebook.com/ and follow instructions to create a new app withim facebook developers account to get Facebook APP ID
- In the corner click in your picture and drop-down to create new app or register to developers acoount then create new app
- After creating new app, Now go to Dashboard ckick Set Up On Facebook Login and get Facebook APP ID.
- Copy and paste your Facebook App ID in sting.xml file and also add in other language xml file.
- To make application available for public go to App Review change Make CupidLove public from No to Yes and also submit list of items that we need to get permission from user.
- Go to CupidLove admin panel, select CONFIGURATION from left menu and enter your FACEBOOK API KEY.
API key Generation
Login to google developers console and follow these steps to create API key.
- Select project or create new project.
- Go to credentials and create credential for API key.
- Restrict key to Android app.
- Go to Dashboard and Click on enable API.
- Select Google Places API for Android.
- Go to CupidLove admin panel, select CONFIGURATION from left menu and enter your GOOGLE PLACE API KEY.
ADMOB key Generation
Login to https://apps.admob.com/ and these steps to create Ad unit Ids.
- Go to MONATIZE tab and click on MONATIZE NEW APP.
- Add your app and select platform iOS.
- Select ad format banner and name ad unit.
- Select ad format Interstitial and name ad unit.
- Go to CupidLove admin panel, select CONFIGURATION from left menu and enter your adMobKey and adMobVideoKey.
Now we are going to setup Multiple Language Support in Android app.Currently 4 language’s are added (English,French,Russian,Arabic). You can add other language also as per Requirements But need to make necessary changes on Admin and WebApp.You can Follow steps in given Video to add new Language in Android app.
- Go to https://www.instagram.com/developer/ and follow instructions to Register your application in Instagram.
- Now click in Register Your Application.
- Click Register a New Client to register your application in INSTAGRAM.
- After registring new application, you will get your application CLIENT ID and Client Secret.
- Go to CupidLove admin panel, select CONFIGURATION from left menu and enter your INSTAGRAM CLIENT SECRET, and INSTAGRAM CLIENT ID.
- .You can Follow steps in given Video to add your Insta Client ID and Client secret.
To make it easy for you to use our form builder we have made some videos to get you through the process of setup.
Have any queries related to Cupid Love Application. Feel free to contact our support. We will try to help you as soon as possible. Contact our support by creating ticket: