Giter Site home page Giter Site logo

opendonation-ios's Introduction

OpenDonation

An Open Source donation app for iOS making use of the Square card reader.

Settings

Open ViewController.swift and edit the values:

private var donationValue: Int = 5
private var minimumDonationValue: Int = 5
private var maximumDonationValue: Int = 99

Register your app

Don’t forget to register your app under your Square dev account: https://connect.squareup.com/apps

You’ll need your package name: com.company.opendonation

And the URL Scheme: opendonation

Full instructions: https://docs.connect.squareup.com/payments/pos/setup-ios

Secrets

Your API_CLIENT_ID is stored in Constant.swift.

Rename Constant.example.swift to Constant.swift and add your ID:

static let API_CLIENT_ID = “your-id”

Credits

Idea by Ashleigh Hull.

Open Donation logo by simpvi.

opendonation-ios's People

Contributors

sighmon avatar

Stargazers

Cordova  avatar Virajkumar Patel avatar

Watchers

 avatar James Cloos avatar  avatar

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.