Swiftpack.co - Package - RadiusNetworks/flybuy-ios
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

FlyBuy SDK for iOS

The FlyBuy cloud service and mobile SDK from Radius Networks enables developers to add FlyBuy functionality directly into their app for a full white label implementation of the service.

Getting Started

Refer to the Integration Guide in the FlyBuy Documentation to get started. The iOS SDK is available for download in this repo's Releases.


For general service questions and help, consult the Radius Networks support knowledge base.

If you've found a problem in this library, perform a search under Issues in case it has already been reported. If you do not find any issue addressing it, feel free to open a new one

Your issue report should contain a title and a clear description of the issue at a minimum. Please provide as much relevant information as possible to replicate the issue. This should include the Xcode and library versions, a code sample demonstrating the issue, and device OS information.


Copyright (c) 2019 by Radius Networks


All Rights Reserved

Usage of this library implies agreement to abide by the license terms and Radius Networks terms of service


Stars: 2


FlyBuy SDK - 2021-01-08T14:12:08

iOS 2.0 SDK alpha5

FlyBuySDK.xcframework.zip - 2020-11-13T15:30:15


  • Add OS version to API header

FlyBuySDK.xcframework.zip - 2020-11-05T15:42:09


  • SDK now built using xcframework
  • Notify Module for geotriggered notifications

FlyBuySDK.framework - 2020-09-22T16:22:46


  • Improved ABI Support
  • Support for Xcode 12
  • Compatibility for the Swift 5.3 compiler

Breaking Changes:

  • Updated Module Name. In order to work around a known issue 1 in Xcode the framework and module was renamed to FlyBuySDK, apps must be updated to reflect this change:

    1. Remove the old FlyBuy.framework bundle from Xcode and move to trash
    2. Add the new FlyBuySDK.framework` bundle
    3. Update any import FlyBuy statements to be import FlyBuySDK
    4. Change the "Strip the binary architectures" build step to use the updated SDK bundle name:
    -lipo -remove x86_64 "$FB_BIN" -o "$FB_BIN"
    +lipo -remove x86_64 "$FB_BIN" -o "$FB_BIN"

Note: ensure the "Strip the binary architectures" build step happens after the "Embed frameworks" otherwise you may get an error saying lipo: can't open input file while archiving.

1: https://developer.apple.com/documentation/xcode-release-notes/

Known Issues

If a module is built with BUILD_LIBRARIES_FOR_DISTRIBUTION and contains a public type with the same name as the module itself, clients will fail to import the module. (19481048) (FB5863238)

Workaround: Rename either the type or the module to remove the conflict.

FlyBuy.framework - 2020-07-30T21:43:14


  • sets the push token on orders that were created and assigned to a customer on the back-end, once they are fetched by the SDK.

FlyBuy.framework - 2020-07-20T21:44:49


  • update minimum required iOS version to 11.0
  • When sending a state or customer_state event, the SDK will now immediately update the cached copy of the order with that state change so that the app doesn't need to wait to be updated by data contained in a push notification.

FlyBuy.framework - 2020-06-15T18:31:01


  • Adds a helper method updateAPNPushToken() to make it easier for apps which use a direct APNs integration send their push/device tokens to the FlyBuy back-end.

FlyBuy.framework - 2020-05-15T20:08:13


  • Adds support for iOS 10 Deployment Targets

FlyBuy.framework - 2020-04-07T16:56:24

Bug Fixes:

  • Resolves following bitcode issue when archiving an app with the FlyBuy framework embedded.

    bitcode bundle could not be generated because 'app/FlyBuy.framework/FlyBuy' 
    was built without full bitcode. All frameworks and dylibs for bitcode must be 
    generated from Xcode Archive or Install build file 'app/FlyBuy.framework/FlyBuy' 
    for architecture arm64


  • Add sitePartnerIdentifier attribute to the Order model

FlyBuy.framework - 2020-04-06T18:28:03

Bug Fixes:

  • Resolve issues with building where bitcode was not being properly embedded in the binary

FlyBuy.framework - 2020-03-26T21:29:38

Bug Fixes:

  • Fixed an issue where PickupWindow was not available to Objective-C


  • Added the ability to set a PickupType when claiming an order
  • customerID is now available on the Order model

FlyBuy.framework - 2020-03-18T13:49:35

Bug Fixes:

  • Resolves the following issue with bitcode when archiving apps:

    bitcode bundle could not be generated because 'FlyBuy.framework/FlyBuy' 
    was built without full bitcode. All frameworks and dylibs for bitcode must 
    be generated from Xcode Archive or Install build file 'FlyBuy.framework/FlyBuy' 
    for architecture arm64

FlyBuy.framework - 2020-03-12T20:13:45


  • Ability to change order state via SDK
  • Method for adding a customer review to an order

FlyBuy.framework - 2019-11-12T19:51:18


  • Added Xcode 11.2 support

FlyBuy.framework - 2019-11-08T20:04:19


  • Added support for the pickup window parameter when creating an order
  • Added Xcode 11 support

FlyBuy.framework - 2019-09-26T18:34:48

Bug Fixes:

  • Fixed an issue that prevented the push token from being stored properly

FlyBuy.framework - 2019-09-23T21:18:07

Bug Fixes:

  • Removes a duplicate method that was tripping up Xamarin

FlyBuy.framework - 2019-09-13T21:21:24


  • SDK methods have been flattened and no longer require structs as parameters. (except for CustomerInfo)
  • SDK users no longer have to pass around push tokens. In your messaging delegate callback, simply call FlyBuy.updatePushToken(<token>) and everything will be handled by the SDK.
  • The Sites API is now supported in the SDK. See the docs for usage details.
  • Methods that took an Order as a parameter now only require the order.id
  • FlyBuy.orders.event now takes order.id and customerState as arguments, not a struct.


  • You should no longer call the FlyBuy.orders.fetch or FlyBuy.orders.claim methods with structs as parameters, these methods have been marked as deprecated in Xcode. (except for CustomerInfo) You should use the newer methods that accept the individual arguments as parameters

FlyBuy.framework - 2019-07-31T19:23:25

You can now pass an optional customerPhone when creating a CustomerInfo object:

let customerInfo = CustomerInfo(
    name: customerName,
    carType: customerCarType,
    carColor: customerCarColor,
    licensePlate: customerLicensePlate,
    phone: customerPhone

You can also pass optional phone, state, and pickupWindow arguments when creating a CreateOrderInfo object:

let orderInfo = CreateOrderInfo(
  siteID: 101,
  partnerIdentifier: "1234123",
  customerCarColor: "#FF9900",
  customerCarType: "Silver Sedan",
  customerLicensePlate: "XYZ-456",
  customerName: "John Doe",
  phone: "555-5555",
  pushToken: pushToken,
  state: FlyBuy.created
  pickupWindow: Flybuy.PickupWindow(...)

FlyBuy.framework - 2019-07-11T16:55:22


  • Added the ability to log in a customer via their token

FlyBuy.framework - 2019-06-28T14:38:45


  • adds pickupWindow to Order
  • adds customerPhone to ClaimOrderInfo
  • updates documentation for claiming an order, and creating universal links

FlyBuy.framework - 2019-05-17T14:03:12


  • minor bug fixes

FlyBuy.framework - 2019-05-06T20:02:13

Bug Fixes:

  • Works properly with Objective C and Swift apps built with Xcode 10.2 and later
  • Fixes a crash related to Core Data

FlyBuy.framework - 2019-03-21T00:28:34


  • Persist order information locally
  • Added FlyBuy.orders.closed property
  • Allow creating profile without vehicle information
  • Full redemption flow support
  • Ability to upgrade a customer from a profile to a full login with email and password
  • Support for 3rd party pushToken
  • GDPR Compliance
  • Updated Documentation 🎉

FlyBuy.framework - 2019-02-05T03:25:39

🎉 Initial release of the FlyBuy iOS SDK 🎉

This build includes support for both geo and beacon based location and proximity detection, as well as order lifecycle management. See the quick start guide for details.