Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native Products Integration #2

Merged
merged 30 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
24571b9
feat: compose view skeleton
JNdhlovu Sep 4, 2023
5938d21
feat: props to native android for product,user id, job type, job id t…
JNdhlovu Sep 6, 2023
4c36c14
feat: props to native android for product,user id, job type, job id t…
JNdhlovu Sep 6, 2023
4ae08ab
feat: stack navigation in progress for the sample app
JNdhlovu Sep 25, 2023
eceee59
feat: wip stack nav
JNdhlovu Sep 25, 2023
53e5288
Update android/gradle.properties
JNdhlovu Sep 25, 2023
adef4be
feat: feedback
JNdhlovu Sep 25, 2023
8d8c461
feat: react native docv,smarselfie enroll, smartselfie auth
JNdhlovu Sep 29, 2023
b97851c
feat: stable rn prep for show and tell
JNdhlovu Oct 2, 2023
6931709
feat: product and biometric
JNdhlovu Oct 3, 2023
a544903
feat: bvn consent
JNdhlovu Oct 3, 2023
cc98e1e
feat: yarn lint fixes
JNdhlovu Oct 3, 2023
cc15a70
feat: lint fixes
JNdhlovu Oct 3, 2023
18d29dc
feat: patch react native screens issue
JNdhlovu Oct 6, 2023
4a3a2b8
feat: patch react native screens issue
JNdhlovu Oct 6, 2023
0ef405a
Update android/src/main/java/com/smileidentity/react/ReactUtils.kt
JNdhlovu Oct 10, 2023
0817e2a
feat: typings
JNdhlovu Oct 10, 2023
30b9178
feat: cleanup
JNdhlovu Oct 10, 2023
653db4f
feat: android nitts
JNdhlovu Oct 10, 2023
4ea249c
feat: refactor on maps from products
JNdhlovu Oct 10, 2023
525aa08
feat: refactor on maps from products
JNdhlovu Oct 10, 2023
91f4001
Update android/src/main/java/com/smileidentity/react/ReactUtils.kt
JNdhlovu Oct 11, 2023
eea2f99
Update src/index.tsx
JNdhlovu Oct 11, 2023
cb08a10
feat: wip renaming the packege
JNdhlovu Oct 13, 2023
c5d280d
fix: lint
JNdhlovu Oct 13, 2023
b7f1a58
feat: seperate view js
JNdhlovu Oct 13, 2023
80c1f01
feat: refactor to match react native
JNdhlovu Oct 16, 2023
744a1fd
feat: capture product
JNdhlovu Oct 16, 2023
bb9429d
feat: refactr complete
JNdhlovu Oct 17, 2023
9cd9f2b
feat: correct gradle repo and bvn also update to beta9
JNdhlovu Oct 23, 2023
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
19 changes: 12 additions & 7 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.android.Version

buildscript {
// Buildscript is evaluated before everything else so we can't use getExtOrDefault
def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : project.properties["SmileId_kotlinVersion"]
Expand All @@ -6,13 +8,16 @@ buildscript {
repositories {
google()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven {
url "https://plugins.gradle.org/m2/"
}
JNdhlovu marked this conversation as resolved.
Show resolved Hide resolved
}

dependencies {
classpath "com.android.tools.build:gradle:8.1.1"
classpath "com.android.tools.build:gradle:8.1.2"
// noinspection DifferentKotlinGradleVersion
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jlleitschuh.gradle:ktlint-gradle:11.6.0"
JNdhlovu marked this conversation as resolved.
Show resolved Hide resolved
}
}

Expand All @@ -23,9 +28,7 @@ def isNewArchitectureEnabled() {
apply plugin: "com.android.library"
apply plugin: "kotlin-android"
apply plugin: 'kotlin-kapt'


def appProject = rootProject.allprojects.find { it.plugins.hasPlugin('com.android.application') }
apply plugin: "org.jlleitschuh.gradle.ktlint"

if (isNewArchitectureEnabled()) {
apply plugin: "com.facebook.react"
Expand All @@ -40,7 +43,7 @@ def getExtOrIntegerDefault(name) {
}

def supportsNamespace() {
def parsed = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
def parsed = Version.ANDROID_GRADLE_PLUGIN_VERSION.tokenize('.')
def major = parsed[0].toInteger()
def minor = parsed[1].toInteger()

Expand Down Expand Up @@ -116,7 +119,9 @@ android {
repositories {
mavenCentral()
google()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven {
url "https://plugins.gradle.org/m2/"
}
}

def kotlin_version = getExtOrDefault("kotlinVersion")
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ SmileId_minSdkVersion=21
SmileId_targetSdkVersion=34
SmileId_compileSdkVersion=34
SmileId_ndkversion=21.4.7075529
SmileId_androidVersion=10.0.0-beta09-SNAPSHOT
SmileId_androidVersion=10.0.0-beta08
Loading