Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c8f420d
change gradle
Joseph-RM Oct 14, 2021
3a177fd
implement compiled libraries
Joseph-RM Oct 21, 2021
6b1f8d3
update gradle, add kotlin support, update compile projects .aar
Joseph-RM Oct 25, 2021
b0f4e4e
adding facialcapture resources on android
Joseph-RM Oct 26, 2021
2737ad3
add implementation libraries to build .aar
Joseph-RM Oct 26, 2021
a719b0d
remove deprecated imports
Joseph-RM Oct 26, 2021
e488239
Add external implementations
Joseph-RM Oct 26, 2021
31081f4
exclude firebase-common
Joseph-RM Oct 27, 2021
0e5804b
get image from new workflow
Joseph-RM Oct 27, 2021
b22550a
remove import of PICTURE
Joseph-RM Oct 27, 2021
5973bdb
Add activity in getResultFacilCapture
Joseph-RM Oct 27, 2021
9655f82
Get extras of current intent
Joseph-RM Oct 28, 2021
9a6b10d
remove mlkit face-detection from misnap package, android v3.1.1
Joseph-RM Oct 28, 2021
ab136ad
Add xcframework, add MiSnapFacilCaptureUX, create bridge file
Joseph-RM Oct 29, 2021
ec97d95
Adding support at swift files compile
Joseph-RM Nov 1, 2021
a88aefc
Add facil capture inside frameworks
Joseph-RM Nov 1, 2021
27d6521
Adding swift file
Joseph-RM Nov 1, 2021
432e54f
Change version of RNPOD
Joseph-RM Nov 1, 2021
69c6943
upgrade version
Joseph-RM Nov 1, 2021
c31063f
vendored frameworks change path
Joseph-RM Nov 1, 2021
6069e9d
update bridge
Joseph-RM Nov 1, 2021
652d386
update podspec
Joseph-RM Nov 1, 2021
d6b9c88
update podspec
Joseph-RM Nov 1, 2021
0164adf
Adding references
Joseph-RM Nov 1, 2021
383fbac
Update podspec
Joseph-RM Nov 1, 2021
4ac1cb4
Update podspec
Joseph-RM Nov 1, 2021
e3aa82a
Remove unnecesary action on main controller
Joseph-RM Nov 1, 2021
aa53dce
Add swift header
Joseph-RM Nov 2, 2021
e6c8030
Add bridge header
Joseph-RM Nov 2, 2021
8ebdd5c
remove main view controller from libRNMisnap
Joseph-RM Nov 2, 2021
7eb0b03
Add SWIFT_OBJC_INTERFACE_HEADER_NAME
Joseph-RM Nov 2, 2021
52c8f15
Change xcode version compatibilityVersion to 11.0
Joseph-RM Nov 3, 2021
0f37252
remove MainViewController from target
Joseph-RM Nov 3, 2021
07fce11
Add static library
Joseph-RM Nov 3, 2021
3bd8766
clean main controller
Joseph-RM Nov 3, 2021
51e9462
Add facial resources to RN Bridge
Joseph-RM Nov 10, 2021
b532d05
Update vendored frameworks
Joseph-RM Nov 10, 2021
28c7bf9
Add result controller ios
Joseph-RM Nov 10, 2021
5ad55c8
remove all references about facial sdk
Joseph-RM Nov 11, 2021
3847106
xcodeprojec
Joseph-RM Nov 11, 2021
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Due the issue with pod & asset catalogs https://github.com/CocoaPods/CocoaPods/i
#### Android

1. Open up `android/app/src/main/java/[...]/MainActivity.java`
- Add `import com.omni.misnap.RNMisnapPackage;` to the imports at the top of the file
- Add `import com.wink.misnap.RNMisnapPackage;` to the imports at the top of the file
- Add `new RNMisnapPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
```
Expand Down
20 changes: 9 additions & 11 deletions RNMisnap.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Pod::Spec.new do |s|
s.name = "RNMisnap"
s.version = "1.0.1"
s.version = "1.2.8"
s.summary = "RNMisnap"
s.description = <<-DESC
RNMisnap, https://www.miteksystems.com/mobile-capture react-native wrapper aroud native framework.
Expand All @@ -16,26 +16,24 @@ Pod::Spec.new do |s|
s.source = { :git => "https://github.com/author/RNMisnap.git", :tag => "master" }

s.ios.deployment_target = '9.0'
s.source_files = 'ios/*.{h,m}','ios/MiSnapSDK/classes/*.{h,m}'
s.source_files = 'ios/*.{h,m}',
'ios/MiSnapSDK/classes/*.{h,m}'

s.public_header_files = 'ios/*.{h}','ios/MiSnapSDK/classes/*.{h}'
s.frameworks = 'UIKit', 'AudioToolbox', 'AVFoundation', 'CoreGraphics', 'CoreMedia', 'CoreVideo', 'MobileCoreServices', 'OpenGLES', 'QuartzCore', 'Security', 'ImageIO'

# s.resources = ['ios/MiSnapSDK/resources/*']
s.vendored_frameworks = 'ios/MiSnapSDK/MiSnapSDK.framework',
s.vendored_frameworks =
'ios/MiSnapSDK/MiSnapBarcodeScanner.framework',
'ios/MiSnapSDK/MiSnapLiveness.framework',
'ios/MiSnapSDK/MiSnapSDK.framework',
'ios/MiSnapSDK/MiSnapSDKCamera.framework',
'ios/MiSnapSDK/MiSnapSDKMibiData.framework',
'ios/MiSnapSDK/MiSnapSDKScience.framework',
'ios/MiSnapSDK/MobileFlow.framework',
'ios/MiSnapSDK/MiSnapBarcodeScanner.framework',
'ios/MiSnapSDK/MiSnapLiveness.framework',
'ios/MiSnapSDK/DaonFaceLiveness.framework',
'ios/MiSnapSDK/DaonFaceLivenessBlink.framework',
'ios/MiSnapSDK/DaonFaceQuality.framework',
'ios/MiSnapSDK/DaonFaceSDK.framework'
'ios/MiSnapSDK/MobileFlow.framework'

s.requires_arc = true
s.dependency "React"
#s.dependency "others"

end

75 changes: 62 additions & 13 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@

buildscript {
repositories {
jcenter()
google()
flatDir {
dirs 'libs'
}
mavenLocal()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.3'
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21'
}
}

apply plugin: 'com.android.library'
apply plugin: 'maven'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-parcelize'

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
compileSdkVersion 30
buildToolsVersion = "29.0.3"

defaultConfig {
minSdkVersion 16
targetSdkVersion 26
minSdkVersion 19
targetSdkVersion 30
versionCode 1
versionName "1.0.1"
versionName "3.0"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
Expand All @@ -36,7 +44,7 @@ android {
}

repositories {
mavenCentral()
mavenLocal()
google()
flatDir {
dirs 'libs'
Expand All @@ -45,15 +53,56 @@ repositories {

dependencies {
implementation 'com.facebook.react:react-native:+'
implementation fileTree(include: ['*.aar'], dir: 'libs')
// implementation fileTree(include: ['*.aar'], dir: 'libs')

implementation (name: 'api-release', ext: 'aar')
implementation (name: 'barcode-release', ext: 'aar')
implementation (name: 'barcodecontroller-release', ext: 'aar')

implementation (name: 'cardio-release', ext: 'aar')
implementation (name: 'creditcardcontroller-release', ext: 'aar')

implementation (name: 'facialcapturecontroller-release', ext: 'aar')
implementation (name: 'facialcapturescience-release', ext: 'aar')
implementation (name: 'facialcapturesciencecrypto-release', ext: 'aar')
implementation (name: 'facialcapturescienceface-release', ext: 'aar')
implementation (name: 'facialcapturescienceliveness-release', ext: 'aar')
implementation (name: 'facialcapturesciencequality-release', ext: 'aar')
implementation (name: 'facialcaptureworkflow-release', ext: 'aar')

implementation (name: 'imageutils-release', ext: 'aar')
implementation (name: 'mibidata-release', ext: 'aar')
implementation (name: 'misnapcamera-release', ext: 'aar')

implementation (name: 'misnapcontroller-release', ext: 'aar')
implementation (name: 'misnaphybridcontroller-release', ext: 'aar')
implementation (name: 'misnapscience-release', ext: 'aar')

implementation (name: 'misnapworkflow_UX2-release', ext: 'aar')
implementation (name: 'misnapworkflow-release', ext: 'aar')
implementation (name: 'sanselan-release', ext: 'aar')

implementation "com.android.support:appcompat-v7:28.0.0"
implementation "androidx.constraintlayout:constraintlayout:2.0.0-beta4"
implementation 'org.greenrobot:eventbus:3.1.1'
implementation 'com.android.support:appcompat-v7:23.2.1'
implementation 'de.greenrobot:eventbus:2.4.0'
implementation 'com.android.support:percent:23.3.0'
implementation 'commons-io:commons-io:2.5'
implementation 'org.slf4j:slf4j-android:1.7.12'
implementation "org.apache.commons:commons-imaging:1.0-alpha2"
}

implementation "org.apache.commons:commons-imaging:1.0-alpha2"

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.4.21"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0"

implementation "androidx.fragment:fragment:1.2.5"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.2.0"
implementation "androidx.lifecycle:lifecycle-common-java8:2.2.0"
implementation "androidx.localbroadcastmanager:localbroadcastmanager:1.0.0"
implementation "androidx.databinding:viewbinding:4.1.3"

implementation "com.google.android.material:material:1.3.0"

implementation 'com.microsoft.appcenter:appcenter-crashes:3.2.2'
implementation "androidx.multidex:multidex:2.0.1"
}
Binary file added android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
185 changes: 185 additions & 0 deletions android/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading