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
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class RNRegulaDocumentReaderModule(rc: ReactApplicationContext) : ReactContextBa
onActivityResult(requestCode, resultCode, data)
}

override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<out String>?, grantResults: IntArray?) = com.regula.documentreader.onRequestPermissionsResult(requestCode, permissions!!, grantResults!!)
override fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: IntArray) = com.regula.documentreader.onRequestPermissionsResult(requestCode, permissions, grantResults)
}

fun sendEvent(event: String, data: Any? = "") {
Expand Down Expand Up @@ -549,4 +549,4 @@ fun stopBackgroundRFID() {
}

// Weak references
var localizationCallbacks: LocalizationCallbacks? = null
var localizationCallbacks: LocalizationCallbacks? = null
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@regulaforensics/react-native-document-reader-api",
"version": "7.5.782",
"version": "7.5.783",
"description": "React Native module for reading and validation of identification documents (API framework)",
"main": "index.js",
"scripts": {
Expand Down