Skip to content

Releases: square/SquarePointOfSaleSDK-iOS

PayPay Tender Support

31 May 21:33
b3b37f1
Compare
Choose a tag to compare

Adds support for PayPay tender in the Square Point of Sale SDK.

iOS Version Bump & Minor Validation fixes

06 Dec 19:41
Compare
Choose a tag to compare
3.5.3

bump version to 3.5.3

Swift Package Manager Support

26 Aug 19:53
291656d
Compare
Choose a tag to compare
  • Introduces support for Swift Package Manager
  • Adds setApiVersion method to override which API version to use

Migrate Deployment Target to iOS 12 and greater

14 Jun 20:48
e53b538
Compare
Choose a tag to compare
Merge pull request #103 from square/msilvis/bump-deployment-target

Bump the min deployment target to 12

Update APIs to more closely match Square

16 Oct 15:38
658b447
Compare
Choose a tag to compare
Merge pull request #92 from square/msilvis/bump-version

bump the version to 3.5.0 to pick up the latest changes;

Support Xcode 12

29 Sep 21:43
cb81329
Compare
Choose a tag to compare

This release resolves an issue around Xcode 12 incorrectly building open URLS

Further iOS 13 Support

02 Apr 21:32
e158643
Compare
Choose a tag to compare

With iOS 13, Apple removed the Source Application when app switching between apps that are not your own. This release adds a new helper function that allows you to easily detect if your app is opening from a Square app switch.

Updated AppDelegate.swift with new SCAPIResponse.isSquareResponse handler.

func application(_ app: UIApplication, open url: URL, options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool {
    guard SCCAPIResponse.isSquareResponse(url) else {
        return
    }

    do {
        let response = try SCCAPIResponse(responseURL: url)

        if let error = response.error {
            // Handle a failed request.
            print(error.localizedDescription)
        } else {
            // Handle a successful request.
        }

    } catch let error as NSError {
        // Handle unexpected errors.
        print(error.localizedDescription)
    }

    return true
}

Add ability to skip receipt and disable Card Not Present payments

26 Sep 01:08
fcb4414
Compare
Choose a tag to compare

Adds the following properties to SCCAPIRequest:

  • disablesKeyedInCardEntry - If YES, Point of Sale will not display the option to manually key-in a credit card number. Defaults to NO.
  • skipsReceipt- If YES, Point of Sale will not skip the receipt screen of the payment flow. Defaults to NO.

Add error for missing Info.plist key

04 Aug 01:17
Compare
Choose a tag to compare

Show an error if you're missing square-commerce-v1 in your Info.plist file's LSApplicationQueriesSchemes, since this is necessary to launch Square Point of Sale. Rename the misnamed SCCErrorCodeCannotPerformRequest error to SCCErrorCodeCannotOpenApplication.

Rename merchant_id to location_id

19 Jun 18:18
Compare
Choose a tag to compare

Rename the misnamed merchant_id API request parameter to location_id. The identifier for the business location that Square Point of Sale application is logged in to must match the value of this parameter.