mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
[INJIMOB-1303] integrate vci client for android (#1453)
* [INJIMOB-1303] add native modules for vci-client Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1303] integrate inji-vci-client for vc download android Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1303] change log levels for error log Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1303] modify debug log Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> * [INJIMOB-1303] rename vci client package Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com> --------- Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f01c62355f
commit
de7ef99e9c
@@ -6,6 +6,10 @@ apply plugin: "com.android.application"
|
||||
apply plugin: "com.facebook.react"
|
||||
apply plugin: "org.sonarqube"
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy.force 'androidx.activity:activity-ktx:1.7.1','androidx.activity:activity:1.7.0', 'com.fasterxml.jackson.core:jackson-core:2.14.0'
|
||||
}
|
||||
|
||||
react {
|
||||
/* Folders */
|
||||
// The root of your project, i.e. where "package.json" lives. Default is '..'
|
||||
@@ -96,7 +100,7 @@ android {
|
||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
|
||||
ext {
|
||||
APP_NAME= "@string/app_name"
|
||||
APP_NAME = "@string/app_name"
|
||||
}
|
||||
|
||||
namespace 'io.mosip.residentapp'
|
||||
@@ -109,8 +113,8 @@ android {
|
||||
versionCode 1
|
||||
|
||||
manifestPlaceholders = [
|
||||
APP_NAME: APP_NAME,
|
||||
appAuthRedirectScheme: 'io.mosip.residentapp.inji'
|
||||
APP_NAME : APP_NAME,
|
||||
appAuthRedirectScheme: 'io.mosip.residentapp.inji'
|
||||
]
|
||||
}
|
||||
|
||||
@@ -129,7 +133,7 @@ android {
|
||||
def hasSonarqube = System.properties.containsKey("sonarqube")
|
||||
def keystore = file('release.keystore').exists() ? file('release.keystore') : file('dummyrelease.keystore')
|
||||
storeFile file("$keystore")
|
||||
if (hasSonarqube && !keystore.exists() ) {
|
||||
if (hasSonarqube && !keystore.exists()) {
|
||||
exec {
|
||||
commandLine 'keytool',
|
||||
'-genkey',
|
||||
@@ -147,8 +151,7 @@ android {
|
||||
storePassword "password"
|
||||
keyAlias "androidreleasekey"
|
||||
keyPassword "password"
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
def keystoreAlias = System.getenv("RELEASE_KEYSTORE_ALIAS")
|
||||
def keystorePass = System.getenv("RELEASE_KEYSTORE_PASSWORD")
|
||||
storePassword "$keystorePass"
|
||||
@@ -169,7 +172,7 @@ android {
|
||||
keyPassword "$keystorePass"
|
||||
v2SigningEnabled true
|
||||
v1SigningEnabled false
|
||||
}else {
|
||||
} else {
|
||||
android.buildTypes.debug.signingConfig = null
|
||||
}
|
||||
}
|
||||
@@ -278,13 +281,14 @@ dependencies {
|
||||
}
|
||||
compileOnly project(':react-native-android-location-services-dialog-box')
|
||||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
|
||||
implementation "io.mosip:inji-vci-client:1.2-SNAPSHOT"
|
||||
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
|
||||
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
|
||||
exclude group:'com.facebook.flipper'
|
||||
exclude group:'com.squareup.okhttp3', module:'okhttp'
|
||||
exclude group: 'com.facebook.flipper'
|
||||
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
|
||||
}
|
||||
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
|
||||
exclude group:'com.facebook.flipper'
|
||||
exclude group: 'com.facebook.flipper'
|
||||
}
|
||||
|
||||
if (hermesEnabled.toBoolean()) {
|
||||
|
||||
Reference in New Issue
Block a user