Posts

Showing posts with the label braintree

Firebase Storage - Upload Files - Kotlin

Image
Let's see how to upload the file to Firebase storage and download the same. Its really easy to upload files to Storage and it supports any type of files.  Preparing Firebase Console: (a) Go to https://console.firebase.google.com/ (b) Then click Add Project , a dialog will be prompted. Enter project name and choose country in it and click on Create Project . (c) Click on Add Firebase to your Android App, another dialog will be prompted. In that, enter package name (SHA-1 and App Nickname are optional) and click Register App . (d) Then download google_services.json file, by clicking download button and put that file in app's folder. (e) After that click on Storage on Side tab. Then click on Rules in that page. Make changes as follows: Code: project-level gradle: Add google service in dependencies buildscript { ext.kotlin_version = ' 1.2 . 10' repositories...

Braintree Integration in Android - Kotlin

Image
Let’s learn how to integrate Braintree in Android app with Kotlin. Braintree is a subsidary of PayPal. It focuses in helping businesses of all size and to help maximize business growth. Braintree accepts the following payments: * Credit Cards                             * Venmo                             * Android Pay                             * Apple Pay                             * PayPal Operation Flow: 1. App have to request token from the server. 2. Server have to generate a token using Braintree’s SDK and send that to the requested App. 3. With that Token, app should allow user to pay, which will b...