Skip to content

Commit

Permalink
Release 0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bojan committed Jul 5, 2024
1 parent c12f388 commit e99c63a
Show file tree
Hide file tree
Showing 128 changed files with 510 additions and 76 deletions.
11 changes: 1 addition & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
# Added
- Added support for tracking analytics events.

# Changed
- Updated the initial configuration method.
- Updated the support widget to version 2.0.

# Deprecated
- Removed the organization slug (`organizationSlug`) parameter from the configuration method.

For installation instructions, consult the [documentation](README.md).
- Added an Objective-C interop bridge.
11 changes: 4 additions & 7 deletions DevRevSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
Pod::Spec.new do |spec|
spec.name = "DevRevSDK"
spec.version = "0.9.2"
spec.summary = "A podspec for the DevRev iOS SDK"
spec.description = <<-DESC
A podspec that is used for the main release of the DevRev iOS SDK.
DESC
spec.version = "0.9.3"
spec.summary = "DevRev SDK, used for integrating DevRev services into your iOS app."
spec.homepage = "https://devrev.ai"
spec.license = { type: "Apache 2.0", file: "LICENSE" }
spec.author = { "DevRev" => "svit.zebec@devrev.ai" }
spec.author = { "DevRev" => "support@devrev.ai" }
spec.platform = :ios, "13.0"
spec.source = { http: "https://github.com/devrev/devrev-sdk-ios/releases/download/v0.9.2/DevRevSDK.xcframework.zip" }
spec.source = { http: "https://github.com/devrev/devrev-sdk-ios/releases/download/v0.9.3/DevRevSDK.xcframework.zip" }
spec.vendored_frameworks = "DevRevSDK.xcframework"
end
Binary file modified DevRevSDK.xcframework.zip
Binary file not shown.
10 changes: 5 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// swift-tools-version:5.7

import PackageDescription
import PackageDescription

let package = Package(
name: "DevRevSDK",
platforms: [
.iOS(.v15)
.iOS(.v13)
],
products: [
.library(
Expand All @@ -18,8 +18,8 @@ let package = Package(
targets: [
.binaryTarget(
name: "DevRevSDK",
url: "https://github.com/devrev/devrev-sdk-ios/releases/download/v0.9.2/DevRevSDK.xcframework.zip",
checksum: "3f28597cb0fc2ea725e67a6ae14488ab15c9574dea6fb605e633b0b8982e27cb"
url: "https://github.com/devrev/devrev-sdk-ios/releases/download/v0.9.3/DevRevSDK.xcframework.zip",
checksum: "1e35219a7f2f79cc6a33a189a1dc69ab9f43cde8e9ef66373cad6c362c0859b0"
)
]
)
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,23 @@ Now you should be able to import and use the DevRev SDK.
# Setting up the DevRev SDK
## Step 1: Credentials
1. Open the **Settings** page.

<img src="docs/screenshots/screenshot-settings-home.png" />
1. Under the **Support** section, go to **PLuG Tokens**.
<img src="docs/screenshots/screenshot-support-tokens.png" width="250" />

<img src="docs/screenshots/screenshot-support-tokens.png" width="250" />\
1. On the **PLuG Tokens** page, you will be able create your credentials under the **App Credentials**. These credentials are referred to as `appID` and `secret` in the code.
- Create new credentials, if none exist:
<img src="docs/screenshots/screenshot-support-tokens-creating-credentials.png" width="400" />

- Or maybe reuse any existing ones:
<img src="docs/screenshots/screenshot-support-tokens-existing-credentials.png" width="400" />

1. Next, you will have to open the **PLuG Settings** page, and copy the value under **Your Unique App ID**.
> This value is referred to as `supportID` in the code.

<img src="docs/screenshots/screenshot-support-settings.png" width="250" />
<br />
<img src="docs/screenshots/screenshot-support-settings-id.png" width="400" />

## Step 2: Initialization
Expand Down
9 changes: 9 additions & 0 deletions docs/css/523.e9a069b0.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/css/675.40c3bcb2.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions docs/css/documentation-topic.b186e79f.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/css/index.ff036a9e.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/css/topic.672a9049.css

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/css/tutorials-overview.6eb589ed.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data/documentation/devrevsdk.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/devrevsdk"]}],"metadata":{"symbolKind":"module","roleHeading":"Framework","title":"DevRevSDK","externalID":"DevRevSDK","role":"collection","modules":[{"name":"DevRevSDK"}]},"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK"},"hierarchy":{"paths":[[]]},"topicSections":[{"title":"Classes","identifiers":["doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/DevRev"]},{"title":"Structures","identifiers":["doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Identification"]}],"schemaVersion":{"major":0,"patch":0,"minor":3},"references":{"doc://ai.devrev.sdk/documentation/DevRevSDK/DevRev":{"fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"DevRev","kind":"identifier"}],"role":"symbol","navigatorTitle":[{"text":"DevRev","kind":"identifier"}],"identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/DevRev","abstract":[{"type":"text","text":"An entry point to the DevRev SDK, which requires your assigned credentials in order to be configured."}],"type":"topic","url":"\/documentation\/devrevsdk\/devrev","title":"DevRev","kind":"symbol"},"doc://ai.devrev.sdk/documentation/DevRevSDK/Identification/userID":{"abstract":[{"type":"text","text":"A user identifier."}],"role":"symbol","fragments":[{"text":"let","kind":"keyword"},{"text":" ","kind":"text"},{"text":"userID","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"}],"title":"userID","identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Identification\/userID","kind":"symbol","type":"topic","url":"\/documentation\/devrevsdk\/identification\/userid"},"doc://ai.devrev.sdk/documentation/DevRevSDK/Identification":{"abstract":[{"type":"text","text":"A JSON-represented structure that describes your customer’s identification information."},{"type":"text","text":" "},{"type":"text","text":"The information can be either on the level of organizations or your user."},{"type":"text","text":" "},{"type":"text","text":"The minimum information needed is the "},{"isActive":true,"identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Identification\/userID","type":"reference"},{"type":"text","text":"."}],"navigatorTitle":[{"text":"Identification","kind":"identifier"}],"role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"kind":"identifier","text":"Identification"}],"title":"Identification","identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Identification","kind":"symbol","type":"topic","url":"\/documentation\/devrevsdk\/identification"},"doc://ai.devrev.sdk/documentation/DevRevSDK":{"type":"topic","role":"collection","kind":"symbol","url":"\/documentation\/devrevsdk","identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK","title":"DevRevSDK","abstract":[]}}}
{"topicSections":[{"title":"Classes","identifiers":["doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/DevRev","doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/DevRevInterop"]},{"identifiers":["doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Identification"],"title":"Structures"},{"identifiers":["doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Foundation"],"title":"Extended Modules"}],"metadata":{"symbolKind":"module","title":"DevRevSDK","externalID":"DevRevSDK","modules":[{"name":"DevRevSDK"}],"roleHeading":"Framework","role":"collection"},"hierarchy":{"paths":[[]]},"schemaVersion":{"patch":0,"minor":3,"major":0},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/devrevsdk"]}],"kind":"symbol","identifier":{"interfaceLanguage":"swift","url":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK"},"sections":[],"references":{"doc://ai.devrev.sdk/documentation/DevRevSDK":{"role":"collection","url":"\/documentation\/devrevsdk","kind":"symbol","type":"topic","title":"DevRevSDK","abstract":[],"identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK"},"doc://ai.devrev.sdk/documentation/DevRevSDK/Foundation":{"abstract":[],"kind":"symbol","title":"Foundation","role":"collection","url":"\/documentation\/devrevsdk\/foundation","type":"topic","identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Foundation"},"doc://ai.devrev.sdk/documentation/DevRevSDK/DevRev":{"url":"\/documentation\/devrevsdk\/devrev","abstract":[{"text":"An entry point to the DevRev SDK, which requires your assigned credentials in order to be configured.","type":"text"}],"kind":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"DevRev","kind":"identifier"}],"role":"symbol","type":"topic","title":"DevRev","identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/DevRev","navigatorTitle":[{"text":"DevRev","kind":"identifier"}]},"doc://ai.devrev.sdk/documentation/DevRevSDK/DevRevInterop":{"identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/DevRevInterop","url":"\/documentation\/devrevsdk\/devrevinterop","abstract":[],"type":"topic","title":"DevRevInterop","kind":"symbol","role":"symbol","fragments":[{"text":"class","kind":"keyword"},{"kind":"text","text":" "},{"text":"DevRevInterop","kind":"identifier"}],"navigatorTitle":[{"text":"DevRevInterop","kind":"identifier"}]},"doc://ai.devrev.sdk/documentation/DevRevSDK/Identification":{"role":"symbol","url":"\/documentation\/devrevsdk\/identification","kind":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"Identification"}],"navigatorTitle":[{"kind":"identifier","text":"Identification"}],"type":"topic","title":"Identification","abstract":[{"text":"A JSON-represented structure that describes your customer’s identification information.","type":"text"},{"text":" ","type":"text"},{"type":"text","text":"The information can be either on the level of organizations or your user."},{"type":"text","text":" "},{"text":"The minimum information needed is the ","type":"text"},{"type":"reference","identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Identification\/userID","isActive":true},{"type":"text","text":"."}],"identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Identification"},"doc://ai.devrev.sdk/documentation/DevRevSDK/Identification/userID":{"identifier":"doc:\/\/ai.devrev.sdk\/documentation\/DevRevSDK\/Identification\/userID","role":"symbol","type":"topic","url":"\/documentation\/devrevsdk\/identification\/userid","title":"userID","fragments":[{"text":"let","kind":"keyword"},{"kind":"text","text":" "},{"text":"userID","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"}],"kind":"symbol","abstract":[{"text":"A user identifier.","type":"text"}]}}}
Loading

0 comments on commit e99c63a

Please sign in to comment.