Skip to content

Commit

Permalink
Updated SDK to v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Anka authored and Anka committed Apr 29, 2024
1 parent 4cbe6dc commit a4be90a
Show file tree
Hide file tree
Showing 110 changed files with 47,424 additions and 22,671 deletions.
54 changes: 44 additions & 10 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,28 +1,62 @@
4.0.0
- Contains privacy manifests and signatures required for app store submissions.
- Requires a new dependency, `PPRiskMagnes`, that you need to ensure is included in your application's target in Xcode (see [Migration Guide](https://developer.zettle.com/docs/ios-sdk/upgrading/sdk-4.0-migration-guide) for upgrade instructions).
- Support for setting `PayPal partner attribution ID` for Key-In payments.
- Under the hood changes for card payments.

3.22.0
- Same great features, with a fresh style inspired by PayPal.

3.21.0
- Support for setting `PayPal partner attribution ID` for card payments.

3.18.0
3.17.0
- Under the hood changes for card payments.

3.16.0
- Enhancements in Manual Card Entry user interaction.
- Minor under-the-hood changes and improvements.
- Fixed issue where SDK might crash when forgetting a reader while the reader is updating.
- Fixed issue where SDK might crash when forgetting a reader while the reader is updating

3.15.1
- Fixed an issue with failing payment when a service endpoint is not available.

3.15.0
- Enhancements in Manual Card Entry user interaction.

3.14.0
- Under the hood changes for card payments tipping

3.13.2
- Added support for Manual Card Entry payments.
- Fixed issue with wrong formatting of some Card payment related translations.
- Fixed issue with wrong formatting of some Card payment related translations

3.13.1
- Manual Card Entry enhancements.

3.13.0
- Added support of Developer Mode for Manual Card Entry
- Fixed issue with reader appearing more then once without name.
- Fixed issue with V2 Reader pairing flow not starting by default for V2-Reader only markets.
- Fixed issue where gratuity was not canceled on Reader if merchant cancelled at a certain point.
- Fixed issue with V2 pairing flow not starting by default for V2 only markets.
- Gratuity not canceled on Reader if merchant cancel at certain point.
- Fix for handling notification from Core Bluetooth on main queue.
- Fast-contactless support
- Fix for handling notification from Core Bluetooth on main queue.

3.12.0
- Fix for crash with Reference-ID in Manual Card Entry payment retrieval flow.
- Added Manual Card Entry payment public errors.

3.11.0
- Added support for Manual Card Entry payments.

3.10.0
- Added compliance information to the Reader information page.
- Added payment verification check for unlikely cases where a payment issue occurs mid-transaction which shows to the customer as failed, but still went through.

3.9.0
- Fixed issue with reader appearing more then once for some integrators.

3.8.0
- Decrease SDK binary size.
- Fix issue when no error is returned on Zettle flow start while another VC is being dismissed/shown (support issue https://github.com/iZettle/sdk-ios/issues/424)

Expand Down Expand Up @@ -120,13 +154,13 @@ Workaround: On a Mac with Apple silicon use iOS 14+ simulators.
- Bugfixes and improvements
- SDK is now built using Xcode 11 and Swift 5.1. `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES` flag is required if your project doesn't include Swift

2.3
2.3.0
- Bug fixes and performance improvements

2.2.0
- Background update of `iZettle Reader` and iZettle Reader 2` software:
Updating card reader software is now done automatically in the background by the SDK
when time permits
Updating card reader software is now done automatically in the background by the SDK
when time permits
- Improved handling when re-connection to a card reader
- Bug fixes and performance improvements

Expand Down Expand Up @@ -336,4 +370,4 @@ Workaround: On a Mac with Apple silicon use iOS 14+ simulators.
0.4.1
- Fixes a problem where iZettle asked for microphone access
- Fixes problems with music playback during the use of iZettle
- Various bug fixes
- Various bug fixes
12 changes: 9 additions & 3 deletions Example/iZettleSDKSample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 52;
objectVersion = 60;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -12,6 +12,8 @@
07B1AF2B28F55EB60066D1D8 /* iZettleSDK.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */; };
07B1AF2C28F55EB60066D1D8 /* iZettleSDK.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
739E173D2A4490E000839E00 /* ManualCardEntryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 739E173C2A4490E000839E00 /* ManualCardEntryViewController.swift */; };
876B84F42BCD2805006AE847 /* PPRiskMagnes.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 876B84F22BCD27FD006AE847 /* PPRiskMagnes.xcframework */; };
876B84F52BCD2805006AE847 /* PPRiskMagnes.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 876B84F22BCD27FD006AE847 /* PPRiskMagnes.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
9B8B199E24754A0F00C74D78 /* CustomAuthorizationProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B8B199D24754A0F00C74D78 /* CustomAuthorizationProvider.m */; };
9BC1DCBB24ACBA58004E74DC /* AccountManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 9BC1DCBA24ACBA58004E74DC /* AccountManager.m */; };
B803A22627AAA17D00C5C4C7 /* QRCPaymentViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = B803A22527AAA17D00C5C4C7 /* QRCPaymentViewController.swift */; };
Expand All @@ -35,6 +37,7 @@
files = (
07B1AF2C28F55EB60066D1D8 /* iZettleSDK.xcframework in Embed Frameworks */,
07B1AF2A28F55EB30066D1D8 /* iZettlePayments.xcframework in Embed Frameworks */,
876B84F52BCD2805006AE847 /* PPRiskMagnes.xcframework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -44,15 +47,16 @@
/* Begin PBXFileReference section */
3F0C93981AC30F4600305D8F /* iZettle SDK Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iZettle SDK Sample.app"; sourceTree = BUILT_PRODUCTS_DIR; };
739E173C2A4490E000839E00 /* ManualCardEntryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ManualCardEntryViewController.swift; sourceTree = "<group>"; };
876B84F22BCD27FD006AE847 /* PPRiskMagnes.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:XEZPTDFLAS:changching chi"; lastKnownFileType = wrapper.xcframework; name = PPRiskMagnes.xcframework; path = ../iZettleSDK/PPRiskMagnes.xcframework; sourceTree = "<group>"; };
9B8B199C24754A0F00C74D78 /* CustomAuthorizationProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CustomAuthorizationProvider.h; sourceTree = "<group>"; };
9B8B199D24754A0F00C74D78 /* CustomAuthorizationProvider.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = CustomAuthorizationProvider.m; sourceTree = "<group>"; };
9BC1DCB924ACBA58004E74DC /* AccountManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AccountManager.h; sourceTree = "<group>"; };
9BC1DCBA24ACBA58004E74DC /* AccountManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AccountManager.m; sourceTree = "<group>"; };
B803A22427AAA17C00C5C4C7 /* iZettle SDK Sample-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "iZettle SDK Sample-Bridging-Header.h"; sourceTree = "<group>"; };
B803A22527AAA17D00C5C4C7 /* QRCPaymentViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QRCPaymentViewController.swift; sourceTree = "<group>"; };
B803A22E27AC0A3000C5C4C7 /* SelectionTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SelectionTableViewController.swift; sourceTree = "<group>"; };
B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = iZettleSDK.xcframework; path = ../iZettleSDK/iZettleSDK.xcframework; sourceTree = "<group>"; };
B803A23327B118DE00C5C4C7 /* iZettlePayments.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = iZettlePayments.xcframework; path = ../iZettleSDK/iZettlePayments.xcframework; sourceTree = "<group>"; };
B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:42YXYHRXV7:iZettle AB"; lastKnownFileType = wrapper.xcframework; name = iZettleSDK.xcframework; path = ../iZettleSDK/iZettleSDK.xcframework; sourceTree = "<group>"; };
B803A23327B118DE00C5C4C7 /* iZettlePayments.xcframework */ = {isa = PBXFileReference; expectedSignature = "AppleDeveloperProgram:42YXYHRXV7:iZettle AB"; lastKnownFileType = wrapper.xcframework; name = iZettlePayments.xcframework; path = ../iZettleSDK/iZettlePayments.xcframework; sourceTree = "<group>"; };
B8C1265F27C38FDF00AA6F45 /* AccessTokenFetcher.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AccessTokenFetcher.m; sourceTree = "<group>"; };
B8C1266027C38FDF00AA6F45 /* AccessTokenFetcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AccessTokenFetcher.h; sourceTree = "<group>"; };
E6F9FEDB1DDDFFC80051C21D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
Expand All @@ -75,6 +79,7 @@
files = (
07B1AF2B28F55EB60066D1D8 /* iZettleSDK.xcframework in Frameworks */,
07B1AF2928F55EB30066D1D8 /* iZettlePayments.xcframework in Frameworks */,
876B84F42BCD2805006AE847 /* PPRiskMagnes.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -124,6 +129,7 @@
D7E94CD724AE527F00B55A9A /* Frameworks */ = {
isa = PBXGroup;
children = (
876B84F22BCD27FD006AE847 /* PPRiskMagnes.xcframework */,
B803A23327B118DE00C5C4C7 /* iZettlePayments.xcframework */,
B803A23227B118DE00C5C4C7 /* iZettleSDK.xcframework */,
);
Expand Down
7 changes: 5 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let package = Package(
products: [
.library(
name: "sdk-ios",
targets: ["iZettleSDK", "iZettlePayments"]),
targets: ["iZettleSDK", "iZettlePayments", "PPRiskMagnes"]),
],
dependencies: [],
targets: [
Expand All @@ -18,6 +18,9 @@ let package = Package(
path: "./iZettleSDK/iZettleSDK.xcframework"),
.binaryTarget(
name: "iZettlePayments",
path: "./iZettleSDK/iZettlePayments.xcframework")
path: "./iZettleSDK/iZettlePayments.xcframework"),
.binaryTarget(
name: "PPRiskMagnes",
path: "./iZettleSDK/PPRiskMagnes.xcframework")
]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

## Get help

Contact our developer support at [Zettle Developer Portal](https://developer.zettle.com).
Contact our developer support at [Zettle Developer Portal](https://ext-izettle.atlassian.net/servicedesk/customer/portal/3).
6 changes: 3 additions & 3 deletions iZettleSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = 'iZettleSDK'
s.version = '3.22.0'
s.version = '4.0.0'
s.summary = 'iZettle SDK for iOS'
s.description = <<-DESC
For detailed information, please see iZettleSDK documentation and Readme.
DESC
s.homepage = 'https://www.izettle.com/'
s.homepage = 'https://www.zettle.com/'
s.license = { :type => 'Commercial', :file => 'LICENSE' }
s.author = { 'PayPal Inc' => '[email protected]' }
s.platform = :ios, '12.0'
Expand All @@ -14,7 +14,7 @@ Pod::Spec.new do |s|
s.source_files = "#{s.name}/**/*.{h,swift}"
s.preserve_paths = 'iZettleSDK/iZettleSDK.xcframework'
s.public_header_files = 'iZettleSDK/iZettleSDK.xcframework/**/*.h'
s.vendored_frameworks = 'iZettleSDK/iZettleSDK.xcframework', 'iZettleSDK/iZettlePayments.xcframework'
s.vendored_frameworks = 'iZettleSDK/iZettleSDK.xcframework', 'iZettleSDK/iZettlePayments.xcframework', 'iZettleSDK/PPRiskMagnes.xcframework'
s.frameworks = 'SystemConfiguration', 'CoreLocation', 'ExternalAccessory', 'AudioToolbox', 'AVFoundation', 'MediaPlayer', 'QuartzCore', 'Accelerate', 'MessageUI', 'CoreData'
s.library = 'z', 'c++'
s.xcconfig = { 'OTHER_LDFLAGS' => '-ObjC', 'LIBRARY_SEARCH_PATHS' => '"$(PODS_ROOT)/iZettleSDK"' }
Expand Down
40 changes: 40 additions & 0 deletions iZettleSDK/PPRiskMagnes.xcframework/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>PPRiskMagnes.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>PPRiskMagnes.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit a4be90a

Please sign in to comment.