Skip to content

Commit

Permalink
Merge pull request #74 from xendit/integration-issue
Browse files Browse the repository at this point in the history
Fixed integration conflict with Sentry
  • Loading branch information
duong-xendit authored May 17, 2024
2 parents e68e451 + 523d213 commit 49beb81
Show file tree
Hide file tree
Showing 562 changed files with 121 additions and 40,511 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.5
// swift-tools-version:5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -19,7 +19,7 @@ let package = Package(
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/AliSoftware/OHHTTPStubs.git", from: "9.1.0"),
.package(url: "https://github.com/getsentry/sentry-cocoa.git", from: "8.8.0"),
.package(url: "https://github.com/getsentry/sentry-cocoa.git", exact: "6.2.1"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ Add this to your Podfile.
pod 'Xendit', '~> 3.7.0'
```

**Important:** Import SDK in Objective-C project with CocoaPods integration, you can do as following

```objective-c
#import "Xendit-Swift.h"
```

### Install Xendit iOS SDK with SPM

1. Select your project in the Project Navigator on the right. Select the project in the Project section and click the Package Dependencies tab at the top.
Expand All @@ -36,6 +42,12 @@ pod 'Xendit', '~> 3.7.0'

<img width="870" alt="Screenshot 2022-03-15 at 10 13 34 PM" src="https://user-images.githubusercontent.com/36880960/158397994-9253f9ab-124c-443e-b31c-5e09bcf0d4da.png">

**Important:** Import SDK in Objective-C project with SPM integration, you can do as following

```objective-c
@import Xendit;
```

### Creating token

This function accepts parameters below:
Expand Down
124 changes: 0 additions & 124 deletions Sentry.xcframework/Info.plist

This file was deleted.

Loading

0 comments on commit 49beb81

Please sign in to comment.