First of all, Thank you so much for purchasing Poster Banao source code and becoming our customer.
You are awesome!
You are entitled to get free lifetime updates to this product + exceptional support from the author directly.
This documentation is to help you regarding each step of installation and integration. Please go through the documentation carefully to understand how app is made and how to setup app. Basic Android app developement skills required to modify source code.
01
Recommended Android Studio Bumblebee | 2021.1.1 Patch 3
02
Shared/Cloud/VPS
03
PHP 8.0 or higher
04
Authentication & Cloud Messaging
05
Push Notification
06
For publishing on Play Store
After you download the zip file from Codecanyon. Please take a look under "Backend". There is a admin-panel.zip etc. >
Make a subomain For example: https://admin.yourdomain.com/
(Recommend not required)
/install
. For example: https://yourdomain.com/install
.localhost
).https://admin.yourdomain.com/
, and log in.admin
, Password : 123456
Note: Ensure you secure your admin panel by changing the default admin credentials and following best security practices.
.env
file in the root directory of your Laravel project..env
file in a text editor and check the following line, replacing YOUR_API_KEY
with your actual API key:
API_KEY=YOUR_API_KEY
Constants.java
file, typically located in the app/src/main/java/com/yourcompany/yourapp/classes
directory.Constants.java
file and add the following line, replacing YOUR_API_KEY
with your actual API key:
public class Constants {
public static final String API_KEY = "YOUR_API_KEY";
}
To ensure that your Android app can communicate with the Laravel backend, the API key in the .env
file must match the API key in Constants.java
. If these keys do not match, the Android app will not function correctly.
.env
file and Constants.java
.Constants.java
, make sure to rebuild the Android app to apply the changes..env
file, you may need to restart the Laravel server to apply the changes.Recommended Android Studio Bumblebee | 2021.1.1 Patch 3 , you can download the archive from here:
https://developer.android.com/studio/archive
The Latest Android Studio version can be downloaded from here:
https://developer.android.com/studio
After you download it from Codecanyon, there is the project source code at "PosterBanao".
Launch Android Studio and select "Open an existing Android Studio project". Open Android Studio > Open an Existing Android Studio Project > Select Your Project build.gradle file > ok
Note: Changing the package name may affect third-party services like Firebase. Make sure to update configurations in those systems accordingly.
strings.xml
:
app/src/main/res/values/strings.xml
.<string>
element with name app_name
.<string>
tag to your new desired app name.<string name="app_name">Your New App Name</string>
AndroidManifest.xml
:
app/src/main/AndroidManifest.xml
.<application>
tag.android:label
attribute to refer to the @string/app_name
resource.<application android:label="@string/app_name" ...>
Note: Changing the app name involves updating references in both strings.xml
and AndroidManifest.xml
to ensure consistency.
res
folder in the Project view.AndroidManifest.xml
:
app/src/main/AndroidManifest.xml
.<application>
tag.android:icon
attribute refers to the new icon resource generated by Android Studio.<application android:icon="@mipmap/ic_launcher" ...>
Note: Using Android Studio's New Image Asset tool simplifies the process of generating and updating app icons for various device resolutions.
splash.jpg
logo.png
app/src/main/res/drawable
directory.splash.jpg
and logo.png
files.splash.jpg
and logo.png
files into this directory.com.yourcompany.appname
).google-services.json
fileapp/
directory of your Android project in Android Studio.Note: Ensure you follow security best practices and test thoroughly in different environments before deploying your app with Firebase Authentication.
Method 1 To Genrate SHA1
C:\Program Files\Java\jdkX.X.X\bin
on Windows/Library/Java/JavaVirtualMachines/jdkX.X.X.jdk/Contents/Home/bin
on macOS/usr/lib/jvm/java-X-openjdk-amd64/bin
on Linuxkeytool -list -v -keystore %USERPROFILE%\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android
SHA1
in the output and copy the key (a sequence of 40 characters separated by colons).Method 2 To Genrate SHA1
./gradlew signingReport
On Windows, use:
gradlew signingReport
Variant: debug
(or another variant) in the output.SHA1
and copy the key (a sequence of 40 characters separated by colons).Steps to Add SHA1 Key to Firebase:
google-services.json
:
google-services.json
file.google-services.json
file in your Android project with the new one.Note: Ensure your project is synchronized with the latest configuration by syncing your project with Gradle files in Android Studio.
app/src/main/java/com/poster/banao/classes
.Constants.java
file.BASE_URL
constant to the Constants.java
file. Replace YOUR_BASE_URL
with the actual base URL of your API:
public class Constants {
public static final String API_KEY = "YOUR_API_KEY";
public static final String BASE_URL = "https://yourdomain.com/api/";
// Add any other constants you need here
}
BASE_URL
configuration.BASE_URL
is being used correctly.BASE_URL
value in Constants.java
.BASE_URL
, make sure to rebuild the Android app to apply the changes.https://yourdomain.com/setting
.Ensure that the user specifies the time at which they want the cron job to run. The time should be in the format HH:mm
(24-hour format). For example, 14:30
for 2:30 PM.
Convert the specified time to cron format. The cron format for a specific time every day is MM HH * * *
, where MM
is the minute and HH
is the hour.
For example, for 2:30 PM, the cron format would be 30 14 * * *
.
curl -s https://admin.yourdomain.com/REPLACE_WITH_YOUR_API_KEY/autoFestivalNotification
Minute: 30
Hour: 14
Day: *
Month: *
Weekday: *
Note: The exact steps for setting up cron jobs may vary slightly depending on your hosting provider and control panel. Consult your hosting provider's documentation for specific instructions if needed.