Coder Social home page Coder Social logo

saadaakash / bkashquickstarterandroid Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 1.0 1.37 MB

Quick Starter Android Boilerplate for Easy bKash Integration

Home Page: https://saadaakash.github.io/bKashQuickStarterAndroid/

Kotlin 100.00%
kotlin android bkash bkash-payment-gateway bkash-online-payment bkash-pgw bkash-android made-in-bangladesh bangladesh

bkashquickstarterandroid's Introduction

Quick Starter Android Boilerplate for Easy bKash Integration

GitHub license PRs Welcome Maintenance Open Source Love svg1 made-with-love

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.

Features

  • 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

Build Instructions

This project uses the Gradle build system. To build this project, use the gradlew build command or use "Import Project" in Android Studio.

Prerequisites

  • 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+

Install the apk

Head over to Releases in the repo and download the apk file from the latest release.

App Screenshots

Contributing

Directory Structure

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
└── ...

File Uses

  • <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

Create a branch

  1. git checkout master from any folder in your local bKashQuickStarterAndroid repository
  2. git pull origin master to ensure you have the latest main code
  3. git checkout -b the-name-of-my-branch (replacing the-name-of-my-branch with a suitable name) to create a branch

Make the change

  1. Change/Add the codes
  2. Save the files and check the codes if it has successfl build config.

Test the change

  1. If possible, test the codes the way you want.

Push it

  1. git add -A && git commit -m "My message" (replacing My message with a commit message, such as Fixed App Crash or Added App Crash 28 Fix) to stage and commit your changes
  2. git push my-fork-name the-name-of-my-branch
  3. Go to the bKashQuickStarterAndroid and you should see recently pushed branches.
  4. Follow GitHub's instructions and open up a pull request.
  5. If possible, include screenshots of visual changes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.