-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from OutSystems/development
RMET-3028 OSBarcodeLib-Android - Prepare release of version 1.0.0
- Loading branch information
Showing
61 changed files
with
2,799 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
The changes documented here do not include those from the original repository. | ||
|
||
## [Unreleased] | ||
|
||
## [1.0.0] | ||
|
||
### 09-01-2024 | ||
Android - Udpate error codes and messages (https://outsystemsrd.atlassian.net/browse/RMET-3037) | ||
|
||
### 19-12-2023 | ||
Android - Run image analysis outside of the main/UI thread (https://outsystemsrd.atlassian.net/browse/RMET-2912) | ||
|
||
### 06-12-2023 | ||
Android - Implement scanning only the frame area (Portrait, Landscape, Adaptive) (https://outsystemsrd.atlassian.net/browse/RMET-2912) | ||
|
||
### 06-12-2023 | ||
Android - Implement Scanner screen for Tablets (Portrait, Landscape, Adaptive) (https://outsystemsrd.atlassian.net/browse/RMET-2912) | ||
|
||
### 30-11-2023 | ||
Android - Implement Scanner screen for Phones (Portrait, Landscape, Adaptive) (https://outsystemsrd.atlassian.net/browse/RMET-2770) | ||
|
||
### 17-11-2023 | ||
Android - Implement Scan Orientation (Portrait, Landscape, Adaptive) (https://outsystemsrd.atlassian.net/browse/RMET-2763) | ||
|
||
### 16-11-2023 | ||
Android - Implement Scan Button (https://outsystemsrd.atlassian.net/browse/RMET-2762) | ||
|
||
### 15-11-2023 | ||
Android - Implement Scan Instructions (https://outsystemsrd.atlassian.net/browse/RMET-2761) | ||
|
||
### 14-11-2023 | ||
Android - Implement Torch Button to settings (https://outsystemsrd.atlassian.net/browse/RMET-2759) | ||
|
||
### 13-11-2023 | ||
Android - Implement AlertDialog to settings (https://outsystemsrd.atlassian.net/browse/RMET-2764) | ||
|
||
### 13-11-2023 | ||
Android - Select Camera (Back or Front) (https://outsystemsrd.atlassian.net/browse/RMET-2764) | ||
|
||
### 10-11-2023 | ||
Android - Use both libraries dynamically (https://outsystemsrd.atlassian.net/browse/RMET-2895) | ||
|
||
### 09-11-2023 | ||
Android - Scan barcode feature using ML Kit (https://outsystemsrd.atlassian.net/browse/RMET-2894) | ||
|
||
### 06-11-2023 | ||
Android - First implementation of the scan barcode feature using zxing (https://outsystemsrd.atlassian.net/browse/RMET-2758) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Android | ||
# Build your Android project with Gradle. | ||
# Add steps that test, sign, and distribute the APK, save build artifacts, and more: | ||
# https://docs.microsoft.com/azure/devops/pipelines/languages/android | ||
|
||
parameters: | ||
- name: publishBuild | ||
displayName: Publish new build? | ||
type: boolean | ||
default: false | ||
|
||
trigger: | ||
- main | ||
|
||
pool: | ||
vmImage: ubuntu-latest | ||
|
||
steps: | ||
- task: SonarCloudPrepare@1 | ||
inputs: | ||
SonarCloud: 'SonarCloud' | ||
organization: 'outsystemsrd' | ||
scannerMode: 'CLI' | ||
configMode: 'file' | ||
- task: Gradle@2 | ||
displayName: Build Project | ||
inputs: | ||
workingDirectory: '' | ||
gradleWrapperFile: 'gradlew' | ||
gradleOptions: '-Xmx4096M' | ||
javaHomeOption: 'JDKVersion' | ||
jdkVersionOption: '1.17' | ||
jdkArchitectureOption: 'x64' | ||
publishJUnitResults: true | ||
testResultsFiles: '**/TEST-*.xml' | ||
tasks: 'clean build' | ||
- task: CmdLine@2 | ||
displayName: Validate pom.xml | ||
inputs: | ||
script: | | ||
/usr/bin/mvn -version | ||
/usr/bin/mvn -f /home/vsts/work/1/s/pom.xml help:effective-pom | ||
- task: MavenAuthenticate@0 | ||
displayName: Authenticate in public repo | ||
condition: or(${{parameters.publishBuild}}, eq(variables['Build.SourceBranch'], 'refs/heads/main')) | ||
inputs: | ||
artifactsFeeds: 'PublicArtifactRepository' | ||
- task: Bash@3 | ||
displayName: Deploy file | ||
condition: or(${{parameters.publishBuild}}, eq(variables['Build.SourceBranch'], 'refs/heads/main')) | ||
inputs: | ||
targetType: 'inline' | ||
script: | | ||
/usr/bin/mvn deploy:deploy-file \ | ||
-DpomFile=/home/vsts/work/1/s/pom.xml \ | ||
-DgeneratePom=true \ | ||
-Dfile=build/outputs/aar/OSBarcodeLib-release.aar \ | ||
-Dpackaging=aar \ | ||
-DrepositoryId=PublicArtifactRepository \ | ||
-Durl=https://pkgs.dev.azure.com/OutSystemsRD/9e79bc5b-69b2-4476-9ca5-d67594972a52/_packaging/PublicArtifactRepository/maven/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one | ||
package_name("organizationidplaceholder.libtemplateplaceholder") # e.g. com.krausefx.app | ||
package_name("com.outsystems.plugins.barcode.osbarcodelib") # e.g. com.krausefx.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Fri Apr 08 08:58:08 WEST 2022 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStorePath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="iso-8859-1"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | ||
http://maven.apache.org/maven-v4_0_0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.github.outsystems</groupId> | ||
<artifactId>osbarcode-android</artifactId> | ||
<version>1.0.0</version> | ||
</project> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
rootProject.name = "LibTemplatePlaceholder" | ||
rootProject.name = "OSBarcodeLib" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
# Organization and project keys are displayed in the right sidebar of the project homepage | ||
sonar.organization=outsystemsrd | ||
sonar.projectKey=OutSystems_LibTemplatePlaceholder-Android | ||
sonar.projectKey=OutSystems_OSBarcodeLib-Android | ||
sonar.host.url=https://sonarcloud.io | ||
|
||
sonar.language=kotlin | ||
|
||
# Defining path to coverage file | ||
sonar.coverage.jacoco.xmlReportPaths=**/jacocoTestReport/jacocoTestReport.xml | ||
sonar.junit.reportPaths=**/test-results/**/*.xml | ||
sonar.junit.reportPaths=**/test-results/**/*.xml | ||
|
||
# Removing tests, mocks and code not testable by unit tests from the coverage estimation | ||
sonar.coverage.exclusions=**/*Tests.kt,**/*Mock.kt,**/model/*.kt,**/view/*.kt,**/*Theme.kt,**/ui.theme/*.kt,**/*Interface.kt,**/helper/*.kt | ||
|
||
# Removing tests from code duplication checks | ||
sonar.cpd.exclusions=**/*Tests.kt |
Oops, something went wrong.