Setup SpinToWin App and Admin Panel
How to install Admin Panel?
Upload the admin-panel zip archive on your hosting or server using file manager, then extract zip file in your main domain or use a folder or subdomain. Some hosting subdomains may not work sometimes.
After that create a MySQL user and a database then import the database SQL file in your phpMyAdmin and make a connection to it on the file manager admin panel.
go to file manager inside cPanel > open admin panel folder -> dashboard/include/connect.php on line number 7-8-9-10 replace the database credentials with your database credentials.
As shown in the below image
Now login your admin panel: for example:
Default login details:
email id: [email protected]
Now after enter in the admin panel goto sidebar menu -> Setting -> License Setting
And enter your license info which is received from the support team (do not forget to check support reply here if not got any support email from us).
As shwon in the below screenshot:
Secret Key is the random combination of letters or alphabets, it should be same in admin panel and in the android studio.
And other info like package name, buyer name, email, license key will be filled accurately, otherwise your admin panel will work as a demo mode becuase of without activation.
Note:- After fillup all the details, you should logout from the admin panel, then login again
How to Setup Android Studio Project
- Open the Android Studio, in app folder of android project paste your .jks or Keystore file to sign the release APK (You can do it later, but if you forget it then google or other social login will not work)
Read Tutorial: Create App Signing Key etc
Watch Video -> Watch on YouTube
How to add server or admin URL in Android Studio app? Important
- Edit the gradle.properties file and change the encrypted url with your own encrypted url which is received from the support team, as shown below:
- Edit the build.gradle file inside the app folder and make the following changes as shown in the below screenshot:
How to Change App Name in Android Studio?
Open android studio project, app -> res -> values -> strings.xml, as shown in below code
How to Manage SMTP main Configuration in Admin Panel?
Used for sending emails to users directly from the admin panel.
Go to admin panel -> Settings -> SMTP Setting
NOTE: You have to set 2-step verification – Google Account please go through this Link Click Here
Default config details for Gmail SMTP
G-mail SMTP Host: smtp.gmail.com
G Email: [email protected]
Gmail id Password: xxxxxx
SMTPSecure(TLS) – Port No.: 587
SMTPSecure(SSL) – Port No.: 465
Important For Gmail SMTP
If you are using Gmail SMTP then you will need app password which is differ than the your Gmail password. Click on the below link to watch a video tutorial.
How to change admin login details?
Login in to admin panel with defalt email id and password,
then click on the top right corner as shown in the below image, then choose profile.
How to Manage users in admin panel?
You can search users with name, chat with them, check their earning report date wise, and also make active or suspend user account.