Skip to content

Commit b5ab810

Browse files
authored
Merge pull request #5 from codenameone/fix-crashes-salient-object
Updated version to 2.0.4-SNAPSHOT
2 parents 6914109 + 90fce10 commit b5ab810

File tree

12 files changed

+39
-29
lines changed

12 files changed

+39
-29
lines changed

.idea/workspace.xml

Lines changed: 17 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.codenameone</groupId>
66
<artifactId>qrscanner</artifactId>
7-
<version>2.0.3</version>
7+
<version>2.0.4-SNAPSHOT</version>
88
</parent>
99
<groupId>com.codenameone</groupId>
1010
<artifactId>qrscanner-android</artifactId>
11-
<version>2.0.3</version>
11+
<version>2.0.4-SNAPSHOT</version>
1212

1313
<name>qrscanner-android</name>
1414
<build>

common/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<parent>
55
<groupId>com.codenameone</groupId>
66
<artifactId>qrscanner</artifactId>
7-
<version>2.0.3</version>
7+
<version>2.0.4-SNAPSHOT</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010
<groupId>com.codenameone</groupId>
1111
<artifactId>qrscanner-common</artifactId>
12-
<version>2.0.3</version>
12+
<version>2.0.4-SNAPSHOT</version>
1313
<packaging>jar</packaging>
1414
<properties>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

ios/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.codenameone</groupId>
66
<artifactId>qrscanner</artifactId>
7-
<version>2.0.3</version>
7+
<version>2.0.4-SNAPSHOT</version>
88
</parent>
99
<groupId>com.codenameone</groupId>
1010
<artifactId>qrscanner-ios</artifactId>
11-
<version>2.0.3</version>
11+
<version>2.0.4-SNAPSHOT</version>
1212

1313
<name>qrscanner-ios</name>
1414
<build>

ios/src/main/objectivec/CN1AVFoundationCodeScanner.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ -(void)cleanupScanning {
8383

8484
- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputMetadataObjects:(NSArray<__kindof AVMetadataObject *> *)metadataObjects fromConnection:(AVCaptureConnection *)connection {
8585
for (AVMetadataObject *metadataObject in metadataObjects) {
86+
if (![metadataObject isKindOfClass:[AVMetadataMachineReadableCodeObject class]]) {
87+
continue;
88+
}
8689
if (self.metadataObjectTypes == nil || self.metadataObjectTypes.count == 0 || [self.metadataObjectTypes containsObject:metadataObject.type]) {
8790
AVMetadataMachineReadableCodeObject *readableObject = (AVMetadataMachineReadableCodeObject *)metadataObject;
8891
NSString *scannedResult = readableObject.stringValue;

javascript/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.codenameone</groupId>
66
<artifactId>qrscanner</artifactId>
7-
<version>2.0.3</version>
7+
<version>2.0.4-SNAPSHOT</version>
88
</parent>
99
<groupId>com.codenameone</groupId>
1010
<artifactId>qrscanner-javascript</artifactId>
11-
<version>2.0.3</version>
11+
<version>2.0.4-SNAPSHOT</version>
1212

1313
<name>qrscanner-javascript</name>
1414
<build>

javase/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.codenameone</groupId>
66
<artifactId>qrscanner</artifactId>
7-
<version>2.0.3</version>
7+
<version>2.0.4-SNAPSHOT</version>
88
</parent>
99
<groupId>com.codenameone</groupId>
1010
<artifactId>qrscanner-javase</artifactId>
11-
<version>2.0.3</version>
11+
<version>2.0.4-SNAPSHOT</version>
1212

1313
<name>qrscanner-javase</name>
1414

lib/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.codenameone</groupId>
66
<artifactId>qrscanner</artifactId>
7-
<version>2.0.3</version>
7+
<version>2.0.4-SNAPSHOT</version>
88
</parent>
99
<groupId>com.codenameone</groupId>
1010
<artifactId>qrscanner-lib</artifactId>
11-
<version>2.0.3</version>
11+
<version>2.0.4-SNAPSHOT</version>
1212
<packaging>pom</packaging>
1313
<name>qrscanner-lib</name>
1414

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.codenameone</groupId>
66
<artifactId>qrscanner</artifactId>
7-
<version>2.0.3</version>
7+
<version>2.0.4-SNAPSHOT</version>
88
<packaging>pom</packaging>
99

1010
<name>qrscanner</name>

tests/common/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<parent>
55
<groupId>com.codenameone</groupId>
66
<artifactId>qrscanner-tests</artifactId>
7-
<version>2.0.3</version>
7+
<version>2.0.4-SNAPSHOT</version>
88
</parent>
99
<groupId>com.codenameone</groupId>
1010
<artifactId>qrscanner-tests-common</artifactId>
11-
<version>2.0.3</version>
11+
<version>2.0.4-SNAPSHOT</version>
1212
<packaging>jar</packaging>
1313

1414

0 commit comments

Comments
 (0)