-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# iZettle SDK v2.0 migration guide | ||
|
||
iZettle SDK 2.0 is latest major release containing support for iZettle Reader 2. This guide is provided in order to ease the transition of existing applications using iZettle SDK 1.0+ to the latest release. | ||
|
||
## Linking with new framework | ||
|
||
iZettle SDK v2.0 introduces a new `iZettleTransport` framework. This framework needs to be linked along current frameworks (`iZettleSDK`, `iZettleShared`, and `iZettlePayments`) in order to work. More info on installation can be found [here](https://github.com/iZettle/sdk-ios#installation). | ||
|
||
## Using BLE technology in background modes | ||
|
||
The new iZettle Reader 2 uses BLE technology to communicate with the SDK. To make sure that apps using SDK can communicate and work with the new readers in background, you need to enable **Use BLE accessories** in Background Modes in Xcode capabilities. | ||
|
||
You can also do this step manually, and make the change directly in your apps `Info.plist` file. The `UIBackgroundModes` values should look like this: | ||
|
||
``` | ||
<key>UIBackgroundModes</key> | ||
<array> | ||
<string>bluetooth-central</string> | ||
<string>external-accessory</string> | ||
</array> | ||
``` | ||
|