An app with a simple easy-to-start boilerplate codebase for integrating bKash with ease. The whole app is developed using Kotlin with layers-by-features packaging & other standard practices.
- A Simple App with a button to
Pay with bKash
- Pressing the button initiates bKash payment dialogs
- Returns a screen with success & payment status if the mock payment is successful
This project uses the Gradle build system. To build this project, use the gradlew build
command or use "Import Project" in Android Studio.
- Android Studio 3.5+. The latest version can be downloaded from here
- Build gradle 3.5.0+
- Android SDK 29
- Kotlin Version 1.3.61+
Head over to Releases
in the repo and download the apk file from the latest release.
The following is a high level overview of relevant files and folders.
bKashQuickStarterAndroid/
├── app/
│ ├── build/
│ ├── libs/
│ └── src/
│ └── main/
│ ├── assets/
│ │ └── www/
│ │ └── css, fonts, js & html files
│ ├── java/
│ ├── res/
│ └── AndroidManifest.xml
├── build/
│ └── kotlin/
│ └── sessions/
│ └── ...
├── gradle/
│ └── wrapper/
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── Resources/
│ └── Screenshots
│ └── ...
├── build.gradle
├── _config.yml
├── gradle.properties
├── local.properties
├── settings.gradle
├── README.md
└── ...
<PROJECT_ROOT>\build.gradle
: Top-level build file with configuration options common to all sub-projects/modules<PROJECT_ROOT>\app\build.gradle
: Gradle specific for app module with libraries used- If you use another module in your project, as a local library, you would have another build.gradle file:
<PROJECT_ROOT>\module\build.gradle
- If you use another module in your project, as a local library, you would have another build.gradle file:
git checkout master
from any folder in your localbKashQuickStarterAndroid
repositorygit pull origin master
to ensure you have the latest main codegit checkout -b the-name-of-my-branch
(replacingthe-name-of-my-branch
with a suitable name) to create a branch
- Change/Add the codes
- Save the files and check the codes if it has successfl build config.
- If possible, test the codes the way you want.
git add -A && git commit -m "My message"
(replacingMy message
with a commit message, such asFixed App Crash
orAdded App Crash 28 Fix
) to stage and commit your changesgit push my-fork-name the-name-of-my-branch
- Go to the
bKashQuickStarterAndroid
and you should see recently pushed branches. - Follow GitHub's instructions and open up a pull request.
- If possible, include screenshots of visual changes.