Skip to content

Commit

Permalink
Merge pull request #5 from codenameone/fix-crashes-salient-object
Browse files Browse the repository at this point in the history
Updated version to 2.0.4-SNAPSHOT
  • Loading branch information
shannah authored Jul 20, 2024
2 parents 6914109 + 90fce10 commit b5ab810
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 29 deletions.
27 changes: 17 additions & 10 deletions .idea/workspace.xml

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

4 changes: 2 additions & 2 deletions android/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-android</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>

<name>qrscanner-android</name>
<build>
Expand Down
4 changes: 2 additions & 2 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-common</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
4 changes: 2 additions & 2 deletions ios/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-ios</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>

<name>qrscanner-ios</name>
<build>
Expand Down
3 changes: 3 additions & 0 deletions ios/src/main/objectivec/CN1AVFoundationCodeScanner.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ -(void)cleanupScanning {

- (void)captureOutput:(AVCaptureOutput *)captureOutput didOutputMetadataObjects:(NSArray<__kindof AVMetadataObject *> *)metadataObjects fromConnection:(AVCaptureConnection *)connection {
for (AVMetadataObject *metadataObject in metadataObjects) {
if (![metadataObject isKindOfClass:[AVMetadataMachineReadableCodeObject class]]) {
continue;
}
if (self.metadataObjectTypes == nil || self.metadataObjectTypes.count == 0 || [self.metadataObjectTypes containsObject:metadataObject.type]) {
AVMetadataMachineReadableCodeObject *readableObject = (AVMetadataMachineReadableCodeObject *)metadataObject;
NSString *scannedResult = readableObject.stringValue;
Expand Down
4 changes: 2 additions & 2 deletions javascript/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-javascript</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>

<name>qrscanner-javascript</name>
<build>
Expand Down
4 changes: 2 additions & 2 deletions javase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-javase</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>

<name>qrscanner-javase</name>

Expand Down
4 changes: 2 additions & 2 deletions lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-lib</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
<packaging>pom</packaging>
<name>qrscanner-lib</name>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.codenameone</groupId>
<artifactId>qrscanner</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
<packaging>pom</packaging>

<name>qrscanner</name>
Expand Down
4 changes: 2 additions & 2 deletions tests/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-tests</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-tests-common</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
<packaging>jar</packaging>


Expand Down
4 changes: 2 additions & 2 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
<parent>
<artifactId>qrscanner</artifactId>
<groupId>com.codenameone</groupId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>

<groupId>com.codenameone</groupId>
<artifactId>qrscanner-tests</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
<packaging>pom</packaging>

<name>qrscanner-tests-tests</name>
Expand Down
4 changes: 2 additions & 2 deletions win/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>
</parent>
<groupId>com.codenameone</groupId>
<artifactId>qrscanner-win</artifactId>
<version>2.0.3</version>
<version>2.0.4-SNAPSHOT</version>

<name>qrscanner-win</name>
<build>
Expand Down

0 comments on commit b5ab810

Please sign in to comment.