NTP-9075 | Visit Integration (#13335)
This commit is contained in:
1
android/.gitignore
vendored
1
android/.gitignore
vendored
@@ -16,6 +16,7 @@
|
||||
*.log
|
||||
vcs.xml
|
||||
one-money-sdk/build
|
||||
visit-sdk/build
|
||||
finoramic-android-sdk/build
|
||||
finoramic-androidx-sdk/build/
|
||||
npci-upi-cl/build/
|
||||
|
||||
@@ -122,7 +122,6 @@ truecaller = "3.0.0"
|
||||
turbine = "1.1.0"
|
||||
uiautomator = "2.3.0"
|
||||
uiViewbinding = "1.5.4"
|
||||
visit = "1.24"
|
||||
zetetic-sqlcipherAndroid = "4.5.5"
|
||||
zxing = "3.3.3"
|
||||
|
||||
@@ -394,8 +393,6 @@ truecaller = { module = "com.truecaller.android.sdk:truecaller-sdk", version.ref
|
||||
|
||||
turbine = { module = "app.cash.turbine:turbine", version.ref = "turbine" }
|
||||
|
||||
visit = { module = "com.github.VisitApp:VisitSDK", version.ref = "visit" }
|
||||
|
||||
zetetic-sqlcipher-android = { module = "net.zetetic:sqlcipher-android", version.ref = "zetetic-sqlcipherAndroid" }
|
||||
|
||||
zxing = { module = "com.google.zxing:core", version.ref = "zxing" }
|
||||
|
||||
@@ -70,6 +70,7 @@ static def formatString(String value) {
|
||||
dependencies {
|
||||
api project(":navi-widgets")
|
||||
api project(":one-money-sdk")
|
||||
api project(":visit-sdk")
|
||||
api libs.android.gms.playServicesLocation
|
||||
api libs.androidx.biometric
|
||||
api libs.androidx.camera.camera2
|
||||
@@ -92,7 +93,6 @@ dependencies {
|
||||
api libs.joda.money
|
||||
api libs.kotlinx.coroutines.android
|
||||
api libs.kotlinx.coroutines.core
|
||||
api libs.visit
|
||||
api('co.hyperverge:hypersnapsdk:4.15.0@aar', {
|
||||
transitive = true
|
||||
exclude group: 'com.google.android.gms'
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
@@ -1,6 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@drawable/ic_launcher_background" />
|
||||
<foreground android:drawable="@drawable/ic_launcher_foreground" />
|
||||
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
|
||||
</adaptive-icon>
|
||||
@@ -12,7 +12,7 @@ import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.core.view.isVisible
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import androidx.lifecycle.ViewModelProvider
|
||||
import com.example.video_call.IntiateSdk
|
||||
import com.getvisitapp.google_fit.IntiateSdk
|
||||
import com.navi.common.utils.observeNonNull
|
||||
import com.navi.insurance.R
|
||||
import com.navi.insurance.common.fragment.WebViewFragment
|
||||
@@ -49,7 +49,7 @@ class BenefitWebViewActivity : AppCompatActivity() {
|
||||
binding.progressBar.isVisible = false
|
||||
benefitRedirectDetails.redirectionUrl?.let { url ->
|
||||
if (benefitRedirectDetails.provider == Constants.VISIT) {
|
||||
IntiateSdk.s(this, url, isDebug())
|
||||
IntiateSdk.s(this, isDebug(), url)
|
||||
finish()
|
||||
} else {
|
||||
loadMediBuddy(policyBenefitVM.currentBenefitType.value.orEmpty(), url)
|
||||
|
||||
@@ -30,7 +30,7 @@ import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import androidx.recyclerview.widget.PagerSnapHelper
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import androidx.recyclerview.widget.SnapHelper
|
||||
import com.example.video_call.IntiateSdk
|
||||
import com.getvisitapp.google_fit.IntiateSdk
|
||||
import com.google.firebase.crashlytics.FirebaseCrashlytics
|
||||
import com.navi.analytics.utils.NaviTrackEvent
|
||||
import com.navi.analytics.utils.SCREEN_NAME
|
||||
@@ -292,7 +292,7 @@ class HomeFragment :
|
||||
binding.tvLoadingDescription.visibility = View.VISIBLE
|
||||
benefitRedirectDetails.redirectionUrl?.let { url ->
|
||||
if (benefitRedirectDetails.provider == Constants.VISIT) {
|
||||
IntiateSdk.s(requireActivity(), url, requireContext().isDebug())
|
||||
IntiateSdk.s(requireActivity(), requireContext().isDebug(), url)
|
||||
} else {
|
||||
loadWebFragment(
|
||||
providerType = policyBenefitVM.currentBenefitType.value.orEmpty(),
|
||||
|
||||
@@ -30,6 +30,7 @@ include ':navi-analytics'
|
||||
include ':navi-base'
|
||||
include ':finoramic-androidx-sdk'
|
||||
include ':one-money-sdk'
|
||||
include ':visit-sdk'
|
||||
include ':navi-pay'
|
||||
include ':navi-bbps'
|
||||
include ':npci-upi-cl'
|
||||
|
||||
1
android/visit-sdk/.gitignore
vendored
Normal file
1
android/visit-sdk/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/build
|
||||
2
android/visit-sdk/build.gradle
Normal file
2
android/visit-sdk/build.gradle
Normal file
@@ -0,0 +1,2 @@
|
||||
configurations.maybeCreate("default")
|
||||
artifacts.add("default", file('visit.aar'))
|
||||
BIN
android/visit-sdk/visit.aar
Normal file
BIN
android/visit-sdk/visit.aar
Normal file
Binary file not shown.
Reference in New Issue
Block a user