diff --git a/CHANGELOG.md b/CHANGELOG.md
index 32d8692..7cc01d1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,29 @@
# FinBox Lending iOS SDK
+## 0.3.1
+
+Remove static library linking
+
+## 0.3.0
+
+Bump Version
+
+## 0.2.9
+
+Bump Version
+
+## 0.2.8
+
+Bump Version
+
+## 0.2.7
+
+Expose Version
+
+## 0.2.6
+
+Add ABCL Callback
+
## 0.2.5
Add Source in Sessions API
diff --git a/FinBoxLending.podspec b/FinBoxLending.podspec
index 69e460b..1e27501 100644
--- a/FinBoxLending.podspec
+++ b/FinBoxLending.podspec
@@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
#
spec.name = "FinBoxLending"
- spec.version = "0.2.5"
+ spec.version = "0.3.1"
spec.summary = "FinBoxLending IOS SDK to enable Lending journey for IOS devices"
# This description is used to generate tags and improve search results.
@@ -53,7 +53,10 @@ FinBox Lending allows users to submit their bank account statements, kyc details
# profile URL.
#
- spec.author = { "Srikar Reddy" => "srikar@finbox.in" }
+ spec.author = {
+ "Srikar Reddy" => "srikar@finbox.in",
+ "Ashutosh Jena" => "ashutosh.jena@finbox.in"
+ }
# Or just: spec.author = "Srikar Reddy"
# spec.authors = { "Srikar Reddy" => "gsrikar2010@gmail.com" }
# spec.social_media_url = "https://twitter.com/Srikar Reddy"
diff --git a/FinBoxLending.xcodeproj/project.xcworkspace/xcuserdata/fbin-blr-0063.xcuserdatad/UserInterfaceState.xcuserstate b/FinBoxLending.xcodeproj/project.xcworkspace/xcuserdata/fbin-blr-0063.xcuserdatad/UserInterfaceState.xcuserstate
index 5fa86c0..c4db68c 100644
Binary files a/FinBoxLending.xcodeproj/project.xcworkspace/xcuserdata/fbin-blr-0063.xcuserdatad/UserInterfaceState.xcuserstate and b/FinBoxLending.xcodeproj/project.xcworkspace/xcuserdata/fbin-blr-0063.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/FinBoxLending.xcodeproj/xcuserdata/fbin-blr-0063.xcuserdatad/xcschemes/xcschememanagement.plist b/FinBoxLending.xcodeproj/xcuserdata/fbin-blr-0063.xcuserdatad/xcschemes/xcschememanagement.plist
index 6ecfeb3..eca7baf 100644
--- a/FinBoxLending.xcodeproj/xcuserdata/fbin-blr-0063.xcuserdatad/xcschemes/xcschememanagement.plist
+++ b/FinBoxLending.xcodeproj/xcuserdata/fbin-blr-0063.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -7,12 +7,12 @@
FinBoxLending.xcscheme_^#shared#^_
orderHint
- 0
+ 1
SampleApp.xcscheme_^#shared#^_
orderHint
- 1
+ 0
diff --git a/FinBoxLending/constants/Constants.swift b/FinBoxLending/constants/Constants.swift
index 1d249e7..b83dd86 100644
--- a/FinBoxLending/constants/Constants.swift
+++ b/FinBoxLending/constants/Constants.swift
@@ -29,6 +29,7 @@ let FINBOX_LENDING_UTM_PARTNER_MEDIUM = "finbox_lending_utm_medium"
// FinBox Lending Callback Statuses
let FINBOX_LENDING_PERSONAL_INFO_SUBMITTED = "PERSONAL_INFO_SUBMITTED"
let FINBOX_LENDING_EXIT = "EXIT"
+let FINBOX_ABCL_OFFER_SELECTED = "offer_selected_abcl"
let FINBOX_LENDING_APPLICATION_COMPLETED = "APPLICATION_COMPLETED"
let FINBOX_LENDING_PAYMENT_SUCCESSFULL = "PAYMENT_SUCCESSFULL"
let FINBOX_LENDING_WAIT = "WAIT"
diff --git a/FinBoxLending/network/APIService.swift b/FinBoxLending/network/APIService.swift
index c872da6..06315d1 100644
--- a/FinBoxLending/network/APIService.swift
+++ b/FinBoxLending/network/APIService.swift
@@ -134,12 +134,27 @@ struct APIService {
return nil
}
+ // Determine the version
+// let sdkVersion: String = {
+// let bundle = Bundle(for: FinBoxLending.self)
+// if let version = bundle.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String {
+// return version
+// } else {
+// return "0.3.0"
+// }
+// }()
+
+ let sdkVersion = "0.3.0"
+
+ // 2. Now use it to create your string
+ let sdkType = "hybrid:ios:\(sdkVersion)"
+
// TODO: Read sdk version number from pod file
// Create a session object
return SessionRequest(customerID: customerID, withdrawAmount: userPref.creditLineAmount,
redirectURL: nil, transactionID: userPref.creditLineTransactionID, source: "ios",
hideClose: false, hidefaq: true, hideback: false, hideNav: true,
- hidePoweredBy: userPref.hidePoweredBy, sdkType: "hybrid:ios:0.0.2",
+ hidePoweredBy: userPref.hidePoweredBy, sdkType: sdkType,
location: nil,
campaignParams: CampaignParams(utmTerm: userPref.utmTerm,
utmSource: userPref.utmSource,
diff --git a/FinBoxLending/web/FinBoxWebViewHandler.swift b/FinBoxLending/web/FinBoxWebViewHandler.swift
index 49d4fa6..8678d0a 100644
--- a/FinBoxLending/web/FinBoxWebViewHandler.swift
+++ b/FinBoxLending/web/FinBoxWebViewHandler.swift
@@ -74,6 +74,11 @@ class FinBoxWebViewHandler: NSObject, WKScriptMessageHandler, UIImagePickerContr
debugPrint("User Exit")
finBoxJourneyResult.code = "MW500"
finBoxJourneyResult.message = "User Exit"
+
+ case FINBOX_ABCL_OFFER_SELECTED:
+ debugPrint("ABCL Offer Selected")
+ finBoxJourneyResult.code = "MW600"
+ finBoxJourneyResult.message = "ABCL Offer Selected"
case FINBOX_LENDING_APPLICATION_COMPLETED:
debugPrint("Lending Result Success")