Skip to content

Commit

Permalink
iOS: Release 3.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
serhii-libin committed Apr 15, 2024
1 parent e73d01c commit 8e55292
Show file tree
Hide file tree
Showing 276 changed files with 202,274 additions and 7,884 deletions.
Binary file modified DTKlarna.xcframework/ios-arm64/DTKlarna.framework/DTKlarna
Binary file not shown.
Binary file modified DTKlarna.xcframework/ios-arm64/DTKlarna.framework/Info.plist
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</data>
<key>Info.plist</key>
<data>
poVm8pA8+Gj68qoccm2Fi1tWSUM=
NjZunTDHkH7uCdTF+rCL152hAio=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</data>
<key>Info.plist</key>
<data>
AoPxklIf1O+qB7ZE73I60MrvNA8=
ORhdrIZ+fEl2gGN3yq0bnUpV2lo=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down
2 changes: 1 addition & 1 deletion Datatrans.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "Datatrans"
spec.version = "3.6.0"
spec.version = "3.6.1"
spec.summary = "Datatrans iOS SDK - Accept payments on your iOS apps"
spec.description = <<-DESC
Accept payments on your iOS apps: Our mobile SDKs support your entire payment and
Expand Down
10 changes: 5 additions & 5 deletions Datatrans.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,30 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Datatrans.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_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>Datatrans.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>
</array>
<key>CFBundlePackageType</key>
Expand Down
Binary file modified Datatrans.xcframework/ios-arm64/Datatrans.framework/Datatrans
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,29 @@ using UInt = size_t;
#endif

#if defined(__OBJC__)
@class NSURL;

/// Use this class if your app crashes when switching to/from external payment apps,
/// such as TWINT, Swish, Vipps, and MobilePay. Our automatic app callback logic
/// may interfere with other logic in your app and needs to be disabled.
/// Globally set <code>AppCallbackHandler.shared.automaticCallbacks</code> to <code>false</code>.
/// Then implement the <code>application(_:open:options:)</code> method in your AppDelegate
/// and call <code>AppCallbackHandler.shared.handleURL(url)</code> with the URL received.
SWIFT_CLASS_NAMED("AppCallbackHandler")
@interface DTAppCallbackHandler : NSObject
/// Returns the shared instance of this class.
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) DTAppCallbackHandler * _Nonnull shared;)
+ (DTAppCallbackHandler * _Nonnull)shared SWIFT_WARN_UNUSED_RESULT;
/// Whether automatic callback handling is enabled or not. By default, automatic callback handling is enabled.
/// Set this to <code>false</code> to disable automatic callbacks and implement them yourself using <code>handleURL(url)</code>.
@property (nonatomic) BOOL automaticCallbacks;
/// Invoke this method from your AppDelegate’s implementation of <code>application(_:open:options:)</code> with the URL received.
/// The method returns <code>true</code> if the URL was handled by the SDK or <code>false</code> otherwise.
- (BOOL)handleURL:(NSURL * _Nonnull)url SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@protocol DTApplePayDelegate;
@class NSString;
@class PKPaymentRequest;
Expand Down Expand Up @@ -506,9 +529,12 @@ SWIFT_CLASS_NAMED("PCIPCardInfo")
@end


/// This class is used to add cardholder info.
SWIFT_CLASS_NAMED("PCIPCardholder")
@interface DTPCIPCardholder : NSObject
/// Cardholder email address.
@property (nonatomic, copy) NSString * _Nullable emailAddress;
/// Cardholder phone number.
@property (nonatomic, copy) NSString * _Nullable phoneNumber;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
Expand Down
Loading

0 comments on commit 8e55292

Please sign in to comment.