Skip to content
Open

Test #545

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
acb85a8
android version issue on apk, working on release-on-tag github action
Panosfunk Oct 13, 2025
7646b5d
Merge branch 'test' into conf-hot-fixes
Panosfunk Oct 17, 2025
a2a4404
fixing missing status top bar in ios, minor visual details
Panosfunk Oct 20, 2025
a068946
fixing persistent messages through different studies
Panosfunk Oct 20, 2025
0b6bc95
fix of ! operator
bardram Oct 24, 2025
c1ea94e
announcements page fix, message details page ui changes, removing unu…
Panosfunk Oct 24, 2025
694a652
Fix of "day in study" in #523
bardram Oct 24, 2025
62c8ee8
Small update to translations
bardram Oct 24, 2025
84efaed
Fix of cached data across studies - #523
bardram Oct 24, 2025
f2f1b76
Update view_model.dart
bardram Oct 24, 2025
be54971
adding new images for health connection page
Panosfunk Oct 26, 2025
979ef99
fixing status bar color appearing darker than page, removing unnecess…
Panosfunk Oct 29, 2025
8dc2dfd
informed consent from backend instead of locally, reverting notificat…
Panosfunk Nov 7, 2025
b45ca92
moving to carp_themes_package instead of research package theme
Panosfunk Nov 11, 2025
3764147
Merge remote-tracking branch 'origin' into carp_themes_package_integr…
Panosfunk Nov 11, 2025
d9d0fd2
fixing changelog
Panosfunk Nov 11, 2025
ced8d79
formatting
Panosfunk Nov 11, 2025
93e0f01
Merge pull request #535 from carp-dk/bardram-#523
Panosfunk Nov 11, 2025
f791654
formating
Panosfunk Nov 11, 2025
e81e05f
Merge branch 'conf-hot-fixes' into carp_themes_package_integration
Panosfunk Nov 12, 2025
0849d3b
Merge pull request #543 from carp-dk/carp_themes_package_integration
Panosfunk Nov 12, 2025
dd1db96
Merge pull request #544 from carp-dk/develop
Panosfunk Nov 13, 2025
8a4da15
removing unused package for android
Panosfunk Nov 13, 2025
17bdf6b
Merge pull request #546 from carp-dk/develop
Panosfunk Nov 13, 2025
4a949e0
partial transition to spm from pods
Panosfunk Nov 14, 2025
0d46f55
bumping version code and changelog
Panosfunk Nov 14, 2025
57e8907
Merge remote-tracking branch 'origin' into test
Panosfunk Nov 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions .github/workflows/create_release_on_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ jobs:
name: Create Release and Upload APK
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master

- name: Set up JDK 1.8
uses: actions/setup-java@v4
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'adopt' # See 'Supported distributions' for available options
java-version: '17'

# - name: Set up JDK 17
# uses: actions/setup-java@v4
# with:
# distribution: 'adopt' # See 'Supported distributions' for available options
# java-version: '17'

- name: Cache Flutter
id: cache-flutter
uses: actions/cache@v3
Expand All @@ -28,6 +31,16 @@ jobs:
~/.pub-cache
key: flutter-${{ hashFiles('**/pubspec.lock') }}

- name: Cache Gradle
id: cache-gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper/
key: gradle-ubuntu-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}


- if: ${{ steps.cache-flutter.outputs.cache-hit != 'true' }}
name: Install Flutter
run: git clone https://github.com/flutter/flutter.git --depth 1 -b stable $FOLDER
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 4.2.0

* moving to carp_themes_package instead of research package themes
* partially transitioning from pods to spm
* health connect flow update
* informed consent accepted is now checked via API instead of local settings
* fixing hasSeenBluetoothInstructions bool logic
* small UI changes

## 4.1.1

- small visual fixes
Expand Down
19 changes: 6 additions & 13 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ plugins {
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
def localPropertiesFile = project.rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}

def keyProperties = new Properties()
def keyPropertiesFile = rootProject.file('key.properties')
def keyPropertiesFile = project.rootProject.file('key.properties')
def signingConfigExists = false

if (keyPropertiesFile.exists()) {
Expand All @@ -23,15 +23,8 @@ if (keyPropertiesFile.exists()) {
}
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode') ?: '1'
def flutterVersionName = localProperties.getProperty('flutter.versionName') ?: '1.0'

android {
namespace "dk.carp.studies_app"
Expand Down Expand Up @@ -88,10 +81,10 @@ android {
debugSymbolLevel 'SYMBOL_TABLE'
}
if (signingConfigExists) {
logger.error('storeFile found, signing with release build.')
logger.info('storeFile found, signing with release build.')
signingConfig signingConfigs.release
} else {
logger.error('No storeFile found or null. Skipping signing of release build.')
logger.info('No storeFile found or null. Skipping signing of release build.')
signingConfig signingConfigs.debug
}
}
Expand Down
23 changes: 0 additions & 23 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,29 +212,6 @@
<service android:name="dk.cachet.activity_recognition_flutter.activity.ActivityRecognizedService"
android:exported="true"/> -->

<!-- Services for background location handling -->
<receiver
android:name="rekab.app.background_locator.LocatorBroadcastReceiver"
android:enabled="true"
android:exported="true" />
<receiver
android:name="rekab.app.background_locator.BootBroadcastReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>

<service
android:name="rekab.app.background_locator.LocatorService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="true" />
<service
android:name="rekab.app.background_locator.IsolateHolderService"
android:permission="android.permission.FOREGROUND_SERVICE"
android:exported="true" />

<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
Expand Down
2 changes: 0 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ allprojects {
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}

Expand Down
Binary file added assets/instructions/apple_health_preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/lang/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@
"pages.profile.device_role": "Engedsrolle",
"pages.profile.contact": "Kontakt forsker",
"pages.profile.privacy": "Fortrolighedspolitik",
"pages.profile.study_website": "Studiw Hjemmeside",
"pages.profile.study_website": "Hjemmeside for studiet",
"pages.profile.leave_study": "Forlad studie",
"pages.profile.log_out": "Log ud",
"pages.profile.log_out": "Forlad studie & Log ud",
"pages.profile.log_out.confirmation": "Du er ved at forlade dette studie og logge af. Operativsystemet vil åbne en browser for at logge dig ud. Er du sikker?",
"pages.profile.leave_study.confirmation": "Du er ved at forlade studiet. Du vil ikke længere deltage i dette studie. Er du sikker?",
"announcements": "Annonceringer",
Expand Down
6 changes: 3 additions & 3 deletions assets/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@
"pages.profile.device_id": "Device ID",
"pages.profile.contact": "Contact researcher",
"pages.profile.privacy": "Privacy policy",
"pages.profile.study_website": "Study Website",
"pages.profile.study_website": "Study website",
"pages.profile.leave_study": "Leave study",
"pages.profile.log_out": "Log out",
"pages.profile.log_out": "Leave study & Log out",
"pages.profile.log_out.confirmation": "You are about to leave this study and log out. The operating system will open a browser to log you out. Are you sure?",
"pages.profile.leave_study.confirmation": "You are about to leave the study. You will no longer participate in this study. Are you sure?",
"announcements": "Announcements",
Expand Down Expand Up @@ -244,4 +244,4 @@
"tasks.participant_data.phone_number.country": "Country code",
"tasks.participant_data.phone_number.phone_number": "Phone No.",
"tasks.participant_data.review.title": "Review"
}
}
5 changes: 3 additions & 2 deletions assets/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@
"pages.profile.account_id": "Id Usuario",
"pages.profile.contact": "Contactar investigador",
"pages.profile.privacy": "Política de privacidad",
"pages.profile.study_website": "Página web del estudio",
"pages.profile.leave_study": "Abandonar el estudio",
"pages.profile.log_out": "Cerrar sesión",
"pages.profile.log_out": "Cerrar estudio & sesión",
"pages.profile.log_out.confirmation": "Estás a punto de cerrar sesión et abandonar el estudio. ¿Estás seguro?",
"pages.profile.leave_study.confirmation": "Estás a punto de abandonar el estudio. Dejarás de participar en el es estudio. ¿Estás seguro?",
"announcement": "Anuncio",
Expand Down Expand Up @@ -121,4 +122,4 @@
"pages.devices.connection.step.confirm.title": "está conectado!",
"pages.devices.connection.step.confirm.1": "El",
"pages.devices.connection.step.confirm.2": " ha sido connectado satisfactoriamente al estudio y está listo para empezar a detectar."
}
}
2 changes: 1 addition & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ target 'Runner' do

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
pod 'Movesense', :git => 'https://bitbucket.org/movesense/movesense-mobile-lib/'
pod 'PhoneNumberKit', '~> 3.7'
# pod 'PhoneNumberKit', '~> 3.7'
end

post_install do |installer|
Expand Down
Loading