react-native-okaycam 1.2.13 → 1.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/android/.gradle/6.8/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/build.gradle +16 -13
- package/android/src/main/AndroidManifest.xml +1 -2
- package/android/src/main/java/com/innov8tif/{RNOkayCam → rnokaycam}/RNOkayCamModule.java +13 -13
- package/android/src/main/java/com/innov8tif/{RNOkayCam → rnokaycam}/RNOkayCamPackage.java +2 -3
- package/package.json +5 -5
- package/react-native-okaycam.podspec +1 -1
- package/android/.gradle/6.8/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/6.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.9/gc.properties +0 -0
package/README.md
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Thu Jun
|
|
1
|
+
#Thu Jun 12 12:42:16 BDT 2025
|
|
2
2
|
gradle.version=6.8
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build.gradle
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
buildscript {
|
|
2
|
-
ext.kotlin_version = '1.
|
|
2
|
+
ext.kotlin_version = '1.9.10'
|
|
3
3
|
repositories {
|
|
4
4
|
google()
|
|
5
5
|
jcenter()
|
|
@@ -7,19 +7,22 @@ buildscript {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
dependencies {
|
|
10
|
-
classpath
|
|
10
|
+
classpath("com.android.tools.build:gradle:8.5.0")
|
|
11
|
+
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
apply plugin: 'com.android.library'
|
|
16
|
+
apply plugin: 'com.facebook.react'
|
|
17
|
+
apply plugin: 'org.jetbrains.kotlin.android'
|
|
15
18
|
|
|
16
19
|
android {
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
namespace "com.innov8tif.rnokaycam"
|
|
21
|
+
compileSdkVersion 34
|
|
19
22
|
|
|
20
23
|
defaultConfig {
|
|
21
|
-
minSdkVersion
|
|
22
|
-
targetSdkVersion
|
|
24
|
+
minSdkVersion 21
|
|
25
|
+
targetSdkVersion 34
|
|
23
26
|
versionCode 1
|
|
24
27
|
versionName "1.0"
|
|
25
28
|
}
|
|
@@ -27,8 +30,8 @@ android {
|
|
|
27
30
|
abortOnError false
|
|
28
31
|
}
|
|
29
32
|
compileOptions {
|
|
30
|
-
sourceCompatibility JavaVersion.
|
|
31
|
-
targetCompatibility JavaVersion.
|
|
33
|
+
sourceCompatibility JavaVersion.VERSION_11
|
|
34
|
+
targetCompatibility JavaVersion.VERSION_11
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -39,13 +42,13 @@ repositories {
|
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
dependencies {
|
|
42
|
-
implementation
|
|
43
|
-
implementation('com.innov8tif.okaycam:OkayCam:1.2.
|
|
45
|
+
implementation "com.facebook.react:react-android"
|
|
46
|
+
implementation('com.innov8tif.okaycam:OkayCam:1.2.14@aar') {
|
|
44
47
|
transitive = true
|
|
48
|
+
exclude group: "junit", module: "junit"
|
|
49
|
+
exclude group: "org.hamcrest", module: "hamcrest-core"
|
|
45
50
|
}
|
|
46
51
|
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
|
|
47
|
-
implementation "org.jetbrains.kotlin:kotlin-stdlib
|
|
48
|
-
|
|
52
|
+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
49
53
|
implementation 'com.caverock:androidsvg-aar:1.4'
|
|
50
54
|
}
|
|
51
|
-
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
package com.innov8tif.RNOkayCam;
|
|
1
|
+
package com.innov8tif.rnokaycam;
|
|
3
2
|
|
|
4
3
|
import android.app.AlertDialog;
|
|
5
4
|
import android.content.DialogInterface;
|
|
@@ -125,19 +124,20 @@ public class RNOkayCamModule extends ReactContextBaseJavaModule {
|
|
|
125
124
|
));
|
|
126
125
|
|
|
127
126
|
okayCamConfig.setCaptureConfig(new CaptureConfigPair(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
) :
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
)
|
|
127
|
+
firstPhoto != null ? new OkayCamCaptureConfig(
|
|
128
|
+
firstPhoto.getInt("delay"),
|
|
129
|
+
firstPhoto.getBoolean("onFlash"),
|
|
130
|
+
firstPhoto.getString("outputPath"),
|
|
131
|
+
firstPhoto.hasKey("onImageQuality") ? firstPhoto.getBoolean("onImageQuality") : false
|
|
132
|
+
) : null,
|
|
133
|
+
secondPhoto != null ? new OkayCamCaptureConfig(
|
|
134
|
+
secondPhoto.getInt("delay"),
|
|
135
|
+
secondPhoto.getBoolean("onFlash"),
|
|
136
|
+
secondPhoto.getString("outputPath"),
|
|
137
|
+
secondPhoto.hasKey("onImageQuality") ? secondPhoto.getBoolean("onImageQuality") : false
|
|
138
|
+
) : null
|
|
138
139
|
));
|
|
139
140
|
|
|
140
|
-
|
|
141
141
|
okayCamConfig.setPreview(getPreviewConfig(preview, frameConfig));
|
|
142
142
|
okayCamConfig.setInstruction(getInstructionConfig(instruction, frameConfig));
|
|
143
143
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
package com.innov8tif.RNOkayCam;
|
|
1
|
+
package com.innov8tif.rnokaycam;
|
|
3
2
|
|
|
4
3
|
import java.util.Arrays;
|
|
5
4
|
import java.util.Collections;
|
|
@@ -26,4 +25,4 @@ public class RNOkayCamPackage implements ReactPackage {
|
|
|
26
25
|
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
|
|
27
26
|
return Collections.emptyList();
|
|
28
27
|
}
|
|
29
|
-
}
|
|
28
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-okaycam",
|
|
3
3
|
"title": "React Native OkayCam",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.15",
|
|
5
5
|
"description": "React-Native version of OkayCam",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"files": [
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"licenseFilename": "LICENSE",
|
|
31
31
|
"readmeFilename": "README.md",
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"react": "^
|
|
34
|
-
"react-native": ">=0.
|
|
33
|
+
"react": "^18.0.2",
|
|
34
|
+
"react-native": ">=0.75.2 <1.0.x"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"react": "^
|
|
38
|
-
"react-native": "^0.
|
|
37
|
+
"react": "^18.0.2",
|
|
38
|
+
"react-native": "^0.75.2"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
File without changes
|