Skip to content

Commit

Permalink
Feature ::: Android ::: Edge-to-Edge in all Android versions (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
OS-pedrogustavobilro authored Nov 27, 2024
1 parent c6d63a3 commit c9a7eb4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

The changes documented here do not include those from the original repository.

## Unreleased

### 13-11-2024
- Feature: Support Edge-to-Edge on all Android versions.

## [1.1.5]

### 08-11-2024
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ dependencies {
implementation "androidx.compose.material:material:1.0.5"
implementation "androidx.compose.ui:ui-tooling-preview:1.0.5"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.0'
implementation "androidx.activity:activity-compose:1.4.0"
implementation "androidx.activity:activity-compose:1.9.3"
implementation 'androidx.compose.material3:material3:1.0.0'
implementation 'androidx.compose.material3:material3-window-size-class:1.0.0'
implementation 'androidx.window:window:1.3.0'
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.outsystems</groupId>
<artifactId>osbarcode-android</artifactId>
<version>1.1.5</version>
<version>1.2.0-dev1</version>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import android.view.WindowManager
import androidx.activity.ComponentActivity
import androidx.activity.compose.rememberLauncherForActivityResult
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.activity.result.contract.ActivityResultContracts
import androidx.camera.core.Camera
import androidx.camera.core.CameraSelector
Expand Down Expand Up @@ -950,6 +951,7 @@ class OSBARCScannerActivity : ComponentActivity() {
systemBarsBehavior = WindowInsetsController.BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE
}
}
enableEdgeToEdge()
}

}

0 comments on commit c9a7eb4

Please sign in to comment.