Skip to content

Commit

Permalink
Consoles: Added BLE console provider (openremote#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
Miggets7 authored Jul 11, 2023
1 parent 527f852 commit ac31488
Show file tree
Hide file tree
Showing 23 changed files with 3,587 additions and 272 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ task checkFilesGitIgnoredNew(type: Exec) {
commandLine args
}
// openremote .git dir doesn't exist when used as a submodule
checkFilesGitIgnoredNew.enabled = Paths.get(projectDir.path, ".git").toFile().exists()
def gitFile = Paths.get(projectDir.path, ".git").toFile()
checkFilesGitIgnoredNew.enabled = gitFile.exists() && gitFile.isDirectory()

task clean() {
doLast {
Expand Down
8 changes: 5 additions & 3 deletions console/android/ORLib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'org.jetbrains.kotlin.android'
}

android {
namespace 'io.openremote.orlib'
compileSdkVersion 33
buildToolsVersion "32.0.0"
buildToolsVersion "33.0.2"

defaultConfig {
minSdkVersion 25
Expand Down Expand Up @@ -37,9 +39,9 @@ android {

dependencies {

implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.preference:preference-ktx:1.2.0'
implementation "com.google.android.gms:play-services-location:21.0.1"
implementation 'com.google.android.gms:play-services-vision:20.1.3'
Expand Down
1 change: 1 addition & 0 deletions console/android/ORLib/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
package="io.openremote.orlib">

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BROADCAST_CLOSE_SYSTEM_DIALOGS" />
<uses-permission android:name="android.permission.CAMERA" />
</manifest>
Loading

0 comments on commit ac31488

Please sign in to comment.