You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,34 +3,33 @@
3
3
# ZSInAppPurchaseKit
4
4
Get a unified view of your subscription business and related metrics by syncing your subscription data from various sources like Apple App Store, Google Play Store and your website.
5
5
6
-
Zoho Subscriptions is a recurring billing platform that helps you manage customer subscriptions and subscription-related finances.
6
+
Zoho Billing is a recurring billing platform that helps you manage customer subscriptions and subscription-related finances.
7
7
8
-
You can bundle our SDK with your Android and iOS apps. The SDK's will facilitate purchase with the respective app stores. Any new purchase or changes to existing subscription will be automatically synced to your Zoho Subscriptions organisation and will reflect in your metrics.
8
+
You can bundle our SDK with your Android and iOS apps. The SDK's will facilitate purchase with the respective app stores. Any new purchase or changes to existing subscription will be automatically synced to your Zoho Billing organisation and will reflect in your metrics.
9
9
10
10
Installation
11
11
--
12
12
13
-
**CocoaPods**
13
+
**Swift Package Manager**
14
14
15
-
To install ZSInAppPurchaseKit in your XCode project using cocoapods, add the below lines in your Podfile.
15
+
To install ZSInAppPurchaseKit in your Xcode project using SPM, follow the below steps.
16
16
17
-
```
18
-
use_frameworks!
19
17
20
-
target '<YOUR_TARGET>' do
21
-
pod 'ZSInAppPurchaseKit', '1.0.1-beta01'
22
-
end
23
-
```
18
+
- File > Swift Packages > Add Package Dependency...
24
19
25
-
Then run pod install command in terminal from your project directory.
20
+
- Enter this [repo url](https://github.com/zoho/ZSInAppPurchaseKit.git) in the search box.
26
21
27
-
```
28
-
$ pod install
22
+
- Select the version as your requirement and select "Add Package".
23
+
24
+
Then import the package to your project files.
25
+
26
+
```swift
27
+
importZSInAppPurchaseKit
29
28
```
30
29
31
30
**ZSInAppPurchaseKit.xcframework**
32
31
33
-
If you are not using Coocapods in your project you can download and add our [ZSInAppPurchaseKit.xcframework](https://github.com/zoho/ZSInAppPurchaseKit/releases/download/1.0.1-beta01/ZSInAppPurchaseKit.xcframework.zip) in to your project.
32
+
If you are not using SPM in your project you can download and add our [ZSInAppPurchaseKit.xcframework](https://github.com/zoho/ZSInAppPurchaseKit/tree/master/ZSInAppPurchaseKit.xcframework) directly in to your project.
34
33
35
34
---
36
35
@@ -41,7 +40,7 @@ Implementation
41
40
**Initalization**
42
41
43
42
```
44
-
let zsConfiguration = ZSConfiguration(apiKey: YOUR_API_KEY, zsProductId: YOUR_PRODUCT_ID, domain: DOMAIN)
43
+
let zsConfiguration = ZSConfiguration(apiKey: YOUR_API_KEY, zsProductId: YOUR_PRODUCT_ID, domain: DOMAIN)
0 commit comments