Skip to content

Commit

Permalink
- update project and framework (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
ketanhaptik authored Jun 2, 2022
1 parent 01b111b commit e417cbc
Show file tree
Hide file tree
Showing 56 changed files with 2,905 additions and 2,900 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.0.0)] - (02/06/22)
### Enhancements
- Fix conflicts with other haptik modules
- Reduce reverie TTS voice

## [0.2.8] - (08/03/22)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion Example/Demo_pod/Demo_pod/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ViewController: UIViewController, HPExternalEvent{

@IBAction func launchPressed(_ sender: Any) {

let attributes = HPAttributesBuilder.build { (builder) in
let attributes = HPCommerceAttributesBuilder.build { (builder) in

builder.category = "grocery"
builder.voiceFirst = true
Expand Down
4 changes: 2 additions & 2 deletions Example/Demo_pod/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- HaptikCommerceLib (0.2.8):
- HaptikCommerceLib (1.0.0):
- Starscream (~> 4.0.0)
- Starscream (4.0.4)

Expand All @@ -15,7 +15,7 @@ EXTERNAL SOURCES:
:path: "../../"

SPEC CHECKSUMS:
HaptikCommerceLib: 2d92090ff31917e10badda0cc7c7cdd923c967f4
HaptikCommerceLib: a10b512211fbdab0508913b6b5a3024c87d6ba9d
Starscream: 5178aed56b316f13fa3bc55694e583d35dd414d9

PODFILE CHECKSUM: e3dc97a398cf52f781f49c8ab59e9895e3eff52d
Expand Down

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

4 changes: 2 additions & 2 deletions Example/Demo_pod/Pods/Manifest.lock

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

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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>0.2.8</string>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>9</string>
<string>10</string>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>0.2.8</string>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>9</string>
<string>10</string>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_i386_x86_64-simulator</string>
<string>ios-arm64_armv7</string>
<key>LibraryPath</key>
<string>HaptikCommerce.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>i386</string>
<string>x86_64</string>
<string>armv7</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_armv7</string>
<string>ios-arm64_i386_x86_64-simulator</string>
<key>LibraryPath</key>
<string>HaptikCommerce.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>armv7</string>
<string>i386</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
Expand Up @@ -247,8 +247,8 @@ enum TTSVoiceType : NSInteger;
/// }];
///
/// \endcode
SWIFT_CLASS("_TtC14HaptikCommerce19HPAttributesBuilder")
@interface HPAttributesBuilder : NSObject
SWIFT_CLASS("_TtC14HaptikCommerce27HPCommerceAttributesBuilder")
@interface HPCommerceAttributesBuilder : NSObject
/// This is the session id which corresponds to the Authtoken to be sent to the Master API when making cart related calls.
@property (nonatomic, copy) NSString * _Nonnull sessionID;
/// The activity from which SDK is to be called. This is in regards with android activity. iOS SDK may/may not require this parameter. This is not passed to the url.
Expand Down Expand Up @@ -293,7 +293,7 @@ SWIFT_CLASS("_TtC14HaptikCommerce19HPAttributesBuilder")
///
/// returns:
/// returns validated object to pass IVA launch function
+ (nonnull instancetype)buildWithData:(void (^ _Nonnull)(HPAttributesBuilder * _Nonnull))builderData SWIFT_WARN_UNUSED_RESULT;
+ (nonnull instancetype)buildWithData:(void (^ _Nonnull)(HPCommerceAttributesBuilder * _Nonnull))builderData SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

Expand Down Expand Up @@ -431,7 +431,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) HaptikCommer
///
/// \param attributes <code>HPAttributesBuilder</code> object containing configuration params for chat screen
///
- (void)loadConversationWithLaunchController:(UIViewController * _Nonnull)launchController attributes:(HPAttributesBuilder * _Nonnull)attributes;
- (void)loadConversationWithLaunchController:(UIViewController * _Nonnull)launchController attributes:(HPCommerceAttributesBuilder * _Nonnull)attributes;
/// Signouts the current user from Haptik.
/// Called after application user logged out.
- (void)unregister;
Expand Down Expand Up @@ -737,8 +737,8 @@ enum TTSVoiceType : NSInteger;
/// }];
///
/// \endcode
SWIFT_CLASS("_TtC14HaptikCommerce19HPAttributesBuilder")
@interface HPAttributesBuilder : NSObject
SWIFT_CLASS("_TtC14HaptikCommerce27HPCommerceAttributesBuilder")
@interface HPCommerceAttributesBuilder : NSObject
/// This is the session id which corresponds to the Authtoken to be sent to the Master API when making cart related calls.
@property (nonatomic, copy) NSString * _Nonnull sessionID;
/// The activity from which SDK is to be called. This is in regards with android activity. iOS SDK may/may not require this parameter. This is not passed to the url.
Expand Down Expand Up @@ -783,7 +783,7 @@ SWIFT_CLASS("_TtC14HaptikCommerce19HPAttributesBuilder")
///
/// returns:
/// returns validated object to pass IVA launch function
+ (nonnull instancetype)buildWithData:(void (^ _Nonnull)(HPAttributesBuilder * _Nonnull))builderData SWIFT_WARN_UNUSED_RESULT;
+ (nonnull instancetype)buildWithData:(void (^ _Nonnull)(HPCommerceAttributesBuilder * _Nonnull))builderData SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end

Expand Down Expand Up @@ -921,7 +921,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) HaptikCommer
///
/// \param attributes <code>HPAttributesBuilder</code> object containing configuration params for chat screen
///
- (void)loadConversationWithLaunchController:(UIViewController * _Nonnull)launchController attributes:(HPAttributesBuilder * _Nonnull)attributes;
- (void)loadConversationWithLaunchController:(UIViewController * _Nonnull)launchController attributes:(HPCommerceAttributesBuilder * _Nonnull)attributes;
/// Signouts the current user from Haptik.
/// Called after application user logged out.
- (void)unregister;
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Swift
import UIKit
import WebKit
import _Concurrency
@_inheritsConvenienceInitializers @objc public class HPAttributesBuilder : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class HPCommerceAttributesBuilder : ObjectiveC.NSObject {
@objc public var sessionID: Swift.String
@objc public var sourceController: Swift.String
@objc public var category: Swift.String
Expand Down Expand Up @@ -44,7 +44,7 @@ import _Concurrency
@objc public var voiceFirst: Swift.Bool
@objc public var headers: [Swift.String : Swift.String]
@objc public var customQueryData: [Swift.String : Swift.String]?
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPAttributesBuilder) -> Swift.Void) -> Self
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPCommerceAttributesBuilder) -> Swift.Void) -> Self
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -116,7 +116,7 @@ import _Concurrency
@objc deinit
}
extension HaptikCommerce.HaptikCommerceLib {
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPAttributesBuilder)
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPCommerceAttributesBuilder)
@objc dynamic public func unregister()
@objc dynamic public func updateEventData(eventName: Swift.String, eventData: [Swift.String : Any])
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Swift
import UIKit
import WebKit
import _Concurrency
@_inheritsConvenienceInitializers @objc public class HPAttributesBuilder : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class HPCommerceAttributesBuilder : ObjectiveC.NSObject {
@objc public var sessionID: Swift.String
@objc public var sourceController: Swift.String
@objc public var category: Swift.String
Expand Down Expand Up @@ -44,7 +44,7 @@ import _Concurrency
@objc public var voiceFirst: Swift.Bool
@objc public var headers: [Swift.String : Swift.String]
@objc public var customQueryData: [Swift.String : Swift.String]?
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPAttributesBuilder) -> Swift.Void) -> Self
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPCommerceAttributesBuilder) -> Swift.Void) -> Self
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -116,7 +116,7 @@ import _Concurrency
@objc deinit
}
extension HaptikCommerce.HaptikCommerceLib {
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPAttributesBuilder)
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPCommerceAttributesBuilder)
@objc dynamic public func unregister()
@objc dynamic public func updateEventData(eventName: Swift.String, eventData: [Swift.String : Any])
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Swift
import UIKit
import WebKit
import _Concurrency
@_inheritsConvenienceInitializers @objc public class HPAttributesBuilder : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class HPCommerceAttributesBuilder : ObjectiveC.NSObject {
@objc public var sessionID: Swift.String
@objc public var sourceController: Swift.String
@objc public var category: Swift.String
Expand Down Expand Up @@ -44,7 +44,7 @@ import _Concurrency
@objc public var voiceFirst: Swift.Bool
@objc public var headers: [Swift.String : Swift.String]
@objc public var customQueryData: [Swift.String : Swift.String]?
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPAttributesBuilder) -> Swift.Void) -> Self
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPCommerceAttributesBuilder) -> Swift.Void) -> Self
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -116,7 +116,7 @@ import _Concurrency
@objc deinit
}
extension HaptikCommerce.HaptikCommerceLib {
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPAttributesBuilder)
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPCommerceAttributesBuilder)
@objc dynamic public func unregister()
@objc dynamic public func updateEventData(eventName: Swift.String, eventData: [Swift.String : Any])
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Swift
import UIKit
import WebKit
import _Concurrency
@_inheritsConvenienceInitializers @objc public class HPAttributesBuilder : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class HPCommerceAttributesBuilder : ObjectiveC.NSObject {
@objc public var sessionID: Swift.String
@objc public var sourceController: Swift.String
@objc public var category: Swift.String
Expand Down Expand Up @@ -44,7 +44,7 @@ import _Concurrency
@objc public var voiceFirst: Swift.Bool
@objc public var headers: [Swift.String : Swift.String]
@objc public var customQueryData: [Swift.String : Swift.String]?
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPAttributesBuilder) -> Swift.Void) -> Self
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPCommerceAttributesBuilder) -> Swift.Void) -> Self
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -116,7 +116,7 @@ import _Concurrency
@objc deinit
}
extension HaptikCommerce.HaptikCommerceLib {
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPAttributesBuilder)
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPCommerceAttributesBuilder)
@objc dynamic public func unregister()
@objc dynamic public func updateEventData(eventName: Swift.String, eventData: [Swift.String : Any])
}
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Swift
import UIKit
import WebKit
import _Concurrency
@_inheritsConvenienceInitializers @objc public class HPAttributesBuilder : ObjectiveC.NSObject {
@_inheritsConvenienceInitializers @objc public class HPCommerceAttributesBuilder : ObjectiveC.NSObject {
@objc public var sessionID: Swift.String
@objc public var sourceController: Swift.String
@objc public var category: Swift.String
Expand Down Expand Up @@ -44,7 +44,7 @@ import _Concurrency
@objc public var voiceFirst: Swift.Bool
@objc public var headers: [Swift.String : Swift.String]
@objc public var customQueryData: [Swift.String : Swift.String]?
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPAttributesBuilder) -> Swift.Void) -> Self
@objc public class func build(data builderData: @escaping (HaptikCommerce.HPCommerceAttributesBuilder) -> Swift.Void) -> Self
@objc override dynamic public init()
@objc deinit
}
Expand Down Expand Up @@ -116,7 +116,7 @@ import _Concurrency
@objc deinit
}
extension HaptikCommerce.HaptikCommerceLib {
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPAttributesBuilder)
@objc dynamic public func loadConversation(launchController: UIKit.UIViewController, attributes: HaptikCommerce.HPCommerceAttributesBuilder)
@objc dynamic public func unregister()
@objc dynamic public func updateEventData(eventName: Swift.String, eventData: [Swift.String : Any])
}
Expand Down
Loading

0 comments on commit e417cbc

Please sign in to comment.