Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
dependencies {
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+' // From node_modules
implementation 'com.smallcase.gateway:sdk:6.0.2'
implementation "com.smallcase.gateway:sdk-sourav-mfhi-cct-handler-5522466:6.0.2-3182-release"
implementation 'com.smallcase.loans:sdk:5.0.0'
implementation "androidx.core:core-ktx:1.3.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
Expand Down
2 changes: 1 addition & 1 deletion react-native-smallcase-gateway.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ Pod::Spec.new do |s|
s.dependency "ReactCommon/turbomodule/core"
end

s.dependency 'SCGateway-dhruv-whitelist-smallPlug-support-471dd5c', '7.1.0-17-debug'
s.dependency 'SCGateway-dhruv-mfhi-cct-implementation-e908b1e', '7.1.1-20-debug'
s.dependency 'SCLoans', '7.0.0'
end
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import UIKit
import React
import React_RCTAppDelegate
import ReactAppDependencyProvider
import SCGateway

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
Expand Down Expand Up @@ -31,6 +32,17 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

return true
}

func application(_ app: UIApplication,
open url: URL,
options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
if url.scheme == GatewayMFHIFlowConstants.urlScheme {
SCGateway.shared.handleRedirection(with: url)
return true
}

return false
}
}

class ReactNativeDelegate: RCTDefaultReactNativeFactoryDelegate {
Expand All @@ -45,4 +57,4 @@ class ReactNativeDelegate: RCTDefaultReactNativeFactoryDelegate {
Bundle.main.url(forResource: "main", withExtension: "jsbundle")
#endif
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>com.smallcase.smartInvesting.mfhi</string>
<key>CFBundleURLSchemes</key>
<array>
<string>scgatewaymfhi</string>
</array>
</dict>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
Expand Down Expand Up @@ -87,4 +100,4 @@
<key>UIViewControllerBasedStatusBarAppearance</key>
<false />
</dict>
</plist>
</plist>