Skip to content

Commit

Permalink
Merge pull request #144 from RADAR-base/polar
Browse files Browse the repository at this point in the history
Add Polar plugins
  • Loading branch information
Bdegraaf1234 authored Jul 23, 2024
2 parents ec634af + 8d16ed7 commit 6289ffb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ repositories {
google()
mavenLocal()
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://repo.thehyve.nl/content/repositories/releases" }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://repo.thehyve.nl/content/repositories/releases' }
maven { url 'https://jitpack.io' }
}

dependencies {
Expand Down Expand Up @@ -100,11 +101,11 @@ dependencies {
implementation "org.radarbase:radar-android-weather:$radar_commons_android_version"
implementation "org.radarbase:radar-android-audio:$radar_commons_android_version"
implementation "org.radarbase:radar-android-faros:$radar_commons_android_version"
implementation "org.radarbase:radar-android-polar:$radar_commons_android_version"
implementation "org.radarbase:radar-android-google-sleep:$radar_commons_android_version"
implementation "org.radarbase:radar-android-google-activity:$radar_commons_android_version"
implementation "org.radarbase:radar-android-google-places:$radar_commons_android_version"


implementation "androidx.lifecycle:lifecycle-process:$lifecycle_process_version"
implementation "androidx.legacy:legacy-support-v4:$legacy_support_version"
implementation "com.google.android.material:material:$material_version"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<string name="deviceTypeLabel2">Angel</string>
<string name="pebble2DisplayName">Pebble</string>
<string name="phoneServiceDisplayName">Phone</string>
<string name="polarDisplayName">Polar</string>
<string name="disabledText">NA</string>

<!--Status texts-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ package org.radarcns.detail
import android.Manifest.permission.RECEIVE_BOOT_COMPLETED
import android.Manifest.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS
import android.Manifest.permission.SYSTEM_ALERT_WINDOW
import android.os.Build
import org.radarbase.android.RadarConfiguration
import org.radarbase.android.RadarConfiguration.Companion.START_AT_BOOT
import org.radarbase.android.RadarService
import org.radarbase.android.config.SingleRadarConfiguration
Expand All @@ -36,6 +34,7 @@ import org.radarbase.passive.phone.PhoneBluetoothProvider
import org.radarbase.passive.phone.PhoneContactListProvider
import org.radarbase.passive.phone.PhoneLocationProvider
import org.radarbase.passive.phone.PhoneSensorProvider
import org.radarbase.passive.polar.PolarProvider
import org.radarbase.passive.phone.usage.PhoneUsageProvider
import org.radarbase.passive.weather.WeatherApiProvider

Expand All @@ -45,6 +44,7 @@ class RadarServiceImpl : RadarService() {
OpenSmileAudioProvider(this),
E4Provider(this),
FarosProvider(this),
PolarProvider(this),
PhoneBluetoothProvider(this),
PhoneContactListProvider(this),
PhoneLocationProvider(this),
Expand Down

0 comments on commit 6289ffb

Please sign in to comment.