Skip to content

Commit

Permalink
chore: bump version to 3.10.0 and set minimum ios version to 11 (#91)
Browse files Browse the repository at this point in the history
* chore: bump version to 3.10.0 and set minimum ios version to 11

* chore: set supported platforms to ios 11 in Package.swift
  • Loading branch information
azaky authored Sep 20, 2024
1 parent 16d59d8 commit 893a344
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let package = Package(
name: "Xendit",
// Supported platforms
platforms: [
.iOS(.v9),
.iOS(.v11),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ Slack Mentions: `@troops-cards`

## Usage

Note that starting version 3.10.0, it requires minimum version of iOS 11. If you still want to support iOS 9, you may use [version 3.9.2](https://github.com/xendit/xendit-sdk-ios-src/releases/tag/3.9.2) instead.

### Install Xendit iOS SDK with CocoaPods

Add this to your Podfile.

```ruby
pod 'Xendit', '~> 3.9.2'
pod 'Xendit', '~> 3.10.0'
```

**Important:** Import SDK in Objective-C project with CocoaPods integration, you can do as following
Expand Down
2 changes: 1 addition & 1 deletion Sources/Xendit/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.9.2</string>
<string>3.10.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion Sources/Xendit/XDTApiClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class XDTApiClient {
internal static let CLIENT_TYPE = "SDK";
internal static let CLIENT_API_VERSION = "2.0.0";
internal static let CLIENT_IDENTIFIER = "Xendit iOS SDK";
internal static let CLIENT_SDK_VERSION = "3.9.2";
internal static let CLIENT_SDK_VERSION = "3.10.0";

private static let WEBAPI_FLEX_BASE_URL = "https://sandbox.webapi.visa.com"

Expand Down
6 changes: 3 additions & 3 deletions Xendit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Xendit'
s.version = '3.9.2'
s.version = '3.10.0'
s.license = 'MIT'
s.homepage = 'https://www.xendit.co'
s.author = { 'Juan Gonzalez’' => '[email protected]' }
Expand All @@ -9,8 +9,8 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/xendit/xendit-sdk-ios-src.git', :tag => s.version }
s.swift_versions = ['4', '5']

s.platform = :ios, '9.0'
s.ios.deployment_target = '9.0'
s.platform = :ios, '11.0'
s.ios.deployment_target = '11.0'
s.resource_bundles = {
'Xendit' => ['Sources/Xendit/PrivacyInfo.xcprivacy']
}
Expand Down

0 comments on commit 893a344

Please sign in to comment.