Skip to content

Commit

Permalink
- Added support for staging environment
Browse files Browse the repository at this point in the history
  • Loading branch information
erpankajpatel committed Jan 17, 2023
1 parent d761269 commit f8dd170
Show file tree
Hide file tree
Showing 32 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion PhylloConnect.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |spec|


spec.name = 'PhylloConnect'
spec.version = '0.3.1'
spec.version = '0.3.2'
spec.summary = 'Phyllo Connect is a quick and secure way to connect work platforms via Phyllo in your iOS app.'
spec.description = 'Phyllo Connect is a quick and secure way to connect work platforms via Phyllo in your iOS app. Connect SDK manages work platform authentication (credential validation, multi-factor authentication, error handling, etc).'

Expand Down
10 changes: 5 additions & 5 deletions PhylloConnect.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>PhylloConnect.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>PhylloConnect.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 not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// Generated by Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
#ifndef PHYLLOCONNECT_SWIFT_H
#define PHYLLOCONNECT_SWIFT_H
#pragma clang diagnostic push
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25138,7 +25138,7 @@
"kind": "StringLiteral",
"offset": 369,
"length": 7,
"value": "\"0.3.1\""
"value": "\"0.3.2\""
},
{
"filePath": "\/Users\/pankajpatel\/Desktop\/Work\/Phyllo\/ios-connect-sdk\/PhylloConnect\/Classes\/Constants.swift",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0 -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// Generated by Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
#ifndef PHYLLOCONNECT_SWIFT_H
#define PHYLLOCONNECT_SWIFT_H
#pragma clang diagnostic push
Expand Down Expand Up @@ -367,7 +367,7 @@ SWIFT_PROTOCOL("_TtP13PhylloConnect21PhylloConnectDelegate_")
#endif

#elif defined(__x86_64__) && __x86_64__
// Generated by Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// Generated by Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
#ifndef PHYLLOCONNECT_SWIFT_H
#define PHYLLOCONNECT_SWIFT_H
#pragma clang diagnostic push
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25138,7 +25138,7 @@
"kind": "StringLiteral",
"offset": 369,
"length": 7,
"value": "\"0.3.1\""
"value": "\"0.3.2\""
},
{
"filePath": "\/Users\/pankajpatel\/Desktop\/Work\/Phyllo\/ios-connect-sdk\/PhylloConnect\/Classes\/Constants.swift",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target arm64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25138,7 +25138,7 @@
"kind": "StringLiteral",
"offset": 369,
"length": 7,
"value": "\"0.3.1\""
"value": "\"0.3.2\""
},
{
"filePath": "\/Users\/pankajpatel\/Desktop\/Work\/Phyllo\/ios-connect-sdk\/PhylloConnect\/Classes\/Constants.swift",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// swift-interface-format-version: 1.0
// swift-compiler-version: Apple Swift version 5.7.1 effective-4.2 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
// swift-compiler-version: Apple Swift version 5.7.2 effective-4.2 (swiftlang-5.7.2.135.5 clang-1400.0.29.51)
// swift-module-flags: -target x86_64-apple-ios12.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 4.2 -enforce-exclusivity=checked -O -module-name PhylloConnect
// swift-module-flags-ignorable: -enable-bare-slash-regex
import AuthenticationServices
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,59 +6,59 @@
<dict>
<key>Assets.car</key>
<data>
HOECpyQiq/ALVMCx62G6cbHBQb0=
8cfEDq/5Bq8P8BrCvSKsPBKNTsU=
</data>
<key>Headers/PhylloConnect-Swift.h</key>
<data>
yLhX9NrVgdGiVTrsX1xImmbFtDo=
/+M000m6Yusl1WhMsxEKFuI12Nw=
</data>
<key>Headers/PhylloConnect.h</key>
<data>
Ga72hNSyiWlvyTgmLAxHj2Kh6oU=
</data>
<key>Info.plist</key>
<data>
aLGQ4INjfge4lm6ne2s9TH5Rjb8=
GNh0LORu47TrsLrcHgfQoFZhqOk=
</data>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
<data>
zSj0P2mrNdhCPF88c6YxbKayk8M=
OnTa26r3n18ezdRYNf9kpGEe87s=
</data>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
<data>
8tW86pUznMcTrlDaY/0I8GVJoK0=
qe/vhNZNT0jTzK65WdMxTQwHs30=
</data>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<data>
8eElantii8LqVPxuYu4qQQD+98s=
AleXUYLLLJYd0XRrQFibFPA36Yk=
</data>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<data>
8tW86pUznMcTrlDaY/0I8GVJoK0=
qe/vhNZNT0jTzK65WdMxTQwHs30=
</data>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
<data>
Je+gVekSJFoDBxpVK5UsKmMBShQ=
hpAiOzphb+iy1DXGvsCzi7X/dSE=
</data>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<data>
zSj0P2mrNdhCPF88c6YxbKayk8M=
OnTa26r3n18ezdRYNf9kpGEe87s=
</data>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<data>
OjEOXZ0KzmQxAbU1f2fUFghB7vU=
mb6oXI9NlTLPktuCNivsev8A2nI=
</data>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<data>
rk5buFKV5FnyerSdo6h/QM4KCYU=
KPX3DebhJVxWDjEBy/IIsveYNEM=
</data>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<data>
OjEOXZ0KzmQxAbU1f2fUFghB7vU=
mb6oXI9NlTLPktuCNivsev8A2nI=
</data>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<data>
VsIRkrZuxPyrmkRiYG4jKLynG8Y=
g+n6Hb7cwsBVyE2jW7ZWggzBlEY=
</data>
<key>Modules/module.modulemap</key>
<data>
Expand Down Expand Up @@ -91,14 +91,14 @@
<dict>
<key>hash2</key>
<data>
PS/zQKy13/MTy80FvEo9sJXvZyS6dRb6mBbdl6lkDT8=
2i2/X6PYz2Pnht5YYDGoVOHMFoXXbdI5Op3fpTXZyo4=
</data>
</dict>
<key>Headers/PhylloConnect-Swift.h</key>
<dict>
<key>hash2</key>
<data>
nA0Vq/QsvJVGhYqu59cIb+SXcu22a9aYNpLTutxXI5U=
Oqsr/afkg9DNs9QQUjz53NfLOhuFZ9330efn51Xxr80=
</data>
</dict>
<key>Headers/PhylloConnect.h</key>
Expand All @@ -112,70 +112,70 @@
<dict>
<key>hash2</key>
<data>
08t20B6R3pzXq8HJLj3bYxSGzleh1uwqXqq6M3VFFh4=
Q/GW7Ij9MWslsrh5F3rFHQgXB+A8BVgbNRVn/hwvJtI=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
CpjeZDFuqs4NBJ2trHaCEpZ8z0iG+3J0nIF63nfWZ00=
Lkug8vkyuBPDmVaMggSv/w8Nlj94BC88NBrzEOhiFxA=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
<dict>
<key>hash2</key>
<data>
in8ibSCgp5jMkzrfkFwxtWf2ZOqenh+QCjM+kUBi18w=
IP075H3LIcap47rCD/GZIq7kTo+0M7WrF/J/Wg6xkAY=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
CpjeZDFuqs4NBJ2trHaCEpZ8z0iG+3J0nIF63nfWZ00=
Lkug8vkyuBPDmVaMggSv/w8Nlj94BC88NBrzEOhiFxA=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
<dict>
<key>hash2</key>
<data>
ddW+MvsODjY9rjE44wfbiWZ23LwimR49LRMEfrB6Gxw=
cK8U0ap1Bt+QTO/hMl7I0aqIx4H6+SAiCHTQTEgg/x4=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
<dict>
<key>hash2</key>
<data>
08t20B6R3pzXq8HJLj3bYxSGzleh1uwqXqq6M3VFFh4=
Q/GW7Ij9MWslsrh5F3rFHQgXB+A8BVgbNRVn/hwvJtI=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
VpsLBstxRx7gez9UpuR207kZ6kQJLWDDlPkid16R6Q0=
KaAPEnZ7x7wPb7foBbZ609W+h0VMvzcZBJgSXNffVbw=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
<dict>
<key>hash2</key>
<data>
UaIDdaI0SsH2Gg0uDCbqYcw5lGFY706uxhVV4L9/5r8=
Tjpq9AuSdfXwOKpiek+pFsDAKuxUdT4KkNDfULsMWyk=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
<dict>
<key>hash2</key>
<data>
VpsLBstxRx7gez9UpuR207kZ6kQJLWDDlPkid16R6Q0=
KaAPEnZ7x7wPb7foBbZ609W+h0VMvzcZBJgSXNffVbw=
</data>
</dict>
<key>Modules/PhylloConnect.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
<dict>
<key>hash2</key>
<data>
/vD61CFaj4YZi3Lgo1nyhIBhejLZZ1S/EoeQYmFWQmI=
ia//kHze7fDrUXAhAR3coBthYOkrezaxf/+24ejWv5U=
</data>
</dict>
<key>Modules/module.modulemap</key>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct Constants {

static var sdkToken = ""
static var userId = ""
static var clientDisplayName = "Creator.co"
static var clientDisplayName = "Sample App"

// Generating Random String
static func randomString(length: Int) -> String {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ class ViewController: UIViewController {
func launchSDK(workPlatformId : String) {
//Phyllo configuration
var phylloConfig = [String:Any]()
phylloConfig["environment"] = Config.env
phylloConfig["clientDisplayName"] = Constants.clientDisplayName
phylloConfig["token"] = Constants.sdkToken
phylloConfig["userId"] = Constants.userId
phylloConfig["delegate"] = self
phylloConfig["environment"] = Config.env //String
phylloConfig["clientDisplayName"] = Constants.clientDisplayName //String
phylloConfig["token"] = Constants.sdkToken //String
phylloConfig["userId"] = Constants.userId //String
phylloConfig["delegate"] = self //self is the current ViewController
phylloConfig["workPlatformId"] = workPlatformId

PhylloConnect.shared.initialize(config: phylloConfig)
Expand Down

0 comments on commit f8dd170

Please sign in to comment.