Commit Graph

38 Commits

Author SHA1 Message Date
Roland Geider
0d4fe52d3b Bump ndk version used and manually set the sdk version 2025-08-28 12:30:06 +02:00
Roland Geider
ff1a68ddb8 Bump gradle version and bump max memory 2025-06-17 20:00:15 +02:00
Roland Geider
e4b550ab52 Refactor app version handling and update authentication flow
Previously, this was only triggered when logging in to the application. If a user
just opened the app, it would just stop working. We also now always check this min
version and have removed the option from the android manifest file since disabling
this doesn't make much sense and we have many other platforms as well (iOS, flatpak)
2025-03-28 17:22:36 +01:00
Roland Geider
d071d143df Update flutter to 3.29
The translations are not stored in a synthetic package anymore, but the
files are just copied to a specific folder so it can be more easily imported

Also, flutter_barcode_scanner was replaced by simple_barcode_scanner since
the first hasn't been updated in 3 years and was already causing problems
for some time
2025-03-18 17:28:19 +01:00
Roland Geider
d1c77875cd Add enableOnBackInvokedCallback to Android manifest 2025-03-13 14:10:58 +01:00
Roland Geider
d35ff240a7 Update/fix android configuration
It seems some packages that have not been updated in some years are causing
problems. android_metadata has been removed here, but flutter_barcode_scanner
is still needed
2024-12-12 20:49:24 +01:00
Roland Geider
e330d90521 Add workaround to build the rive plugin for linux 2024-11-21 11:05:50 +01:00
Roland Geider
3978b4bd8b Remove WGER_API_KEY, this registration key is not needed anymore 2024-11-09 13:07:36 +01:00
Roland Geider
1d7028e81d Update gradle plugins
https://docs.flutter.dev/release/breaking-changes/flutter-gradle-plugin-apply
2024-04-12 19:44:07 +02:00
Roland Geider
cf30ad6594 Add tablet screenshots as well
While these don't look as pretty as the phone ones, the application is
still usable
2023-11-19 10:59:06 +01:00
Roland Geider
95f863a0b6 Merge branch 'master' into feature/material-3
# Conflicts:
#	lib/widgets/nutrition/meal.dart
#	lib/widgets/workouts/day.dart
2023-11-10 19:27:27 +01:00
Roland Geider
1b09cfd73a Add prefix to application id during debug
This allows to install the application side by side on a real device where the
production app is installed as well
2023-11-09 19:37:59 +01:00
Miroslav Mazel
734525b2bb Vector Android icon, also as monochrome variant 2023-11-06 01:16:21 +01:00
Roland Geider
0e0ae643cb Update gradle plugin version and other properties
This was basically done by creating a new flutter project and comparing the
different generated files
2023-02-07 21:39:14 +01:00
Roland Geider
5bdb3e9bf4 Bump compile sdk version and set ndk version
The last one required for rive:
https://github.com/rive-app/rive-flutter/blob/master/platform_considerations.md
2023-01-27 19:45:52 +01:00
Roland Geider
4746e320e2 Correctly link the network security config file
See #116
2022-12-07 21:18:48 +01:00
Roland Geider
9db063d65c Allow self signed certificates
Specially useful for self hosted instances that are not reachable over the
internet or similar

Closes #116
2022-12-06 17:56:12 +01:00
Roland Geider
a8e4fdb4e0 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	lib/models/workouts/log.dart
#	test/gallery/gallery_screen_test.mocks.dart
#	test/measurements/measurement_categories_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
#	test/other/base_provider_test.mocks.dart
#	test/workout/workout_form_test.mocks.dart
#	test/workout/workout_set_form_test.mocks.dart
2022-10-10 15:50:50 +02:00
Roland Geider
92cc1b7e58 Show correct path in error message 2022-10-05 16:57:28 +02:00
Roland Geider
084bab1735 Update compile and target SDK version 2022-09-10 22:33:46 +02:00
Tolu ogundoyin
21138b0b8c Splash Screen Error Fixed 2022-07-08 23:46:04 +01:00
Roland Geider
2e9356ecda Bump some versions, build app with flutter 2.10 2022-02-19 21:47:07 +01:00
Roland Geider
b7ad01b97c Move envfiles folder out of the android one
This was causing it to apperar in weblate as a translatable language
2022-01-16 19:33:26 +01:00
Sylvia van Os
a1b4a8df16 Fix launching on Android 12 2022-01-11 23:32:58 +01:00
Roland Geider
d17717cb1a Move fastlane folder to root
This is needed to be able to publish on f-droid #84
2021-12-06 17:23:29 +01:00
Roland Geider
cf882c194f Move flag checking for minimum required version to manifest
This is still not the best solution, ideally we would save this to some kind
of configuration file that we can use for dev/prod etc. Also, this solution
doesn't work with iOS or web
2021-11-08 09:42:32 +01:00
Roland Geider
df8beaa379 Add WAKE_LOCK permission
This might help with a potential crash on (some) Samsung phones

SEe #59
2021-07-17 13:35:45 +02:00
Roland Geider
b9229b0ea3 Add button to take pictures or load images from gallery
At the moment not functional and nothing is done with the data
2021-05-07 13:49:15 +02:00
Roland Geider
292460eb42 Update build.gradle
This is needed to accept the <queries> in AndroidManifest.xml, which is needed
to open links when targeting Android API 30 or later
2021-05-01 15:13:33 +02:00
Roland Geider
9bc7b9856c Start implementing automatic builds 2021-04-20 20:42:07 +02:00
Roland Geider
11c8485d2e Target Android SDK version 30 2021-03-30 12:52:01 +02:00
Roland Geider
d78d061971 Allow non HTTPS traffic during development 2021-03-04 14:49:58 +01:00
Roland Geider
e9c9ae93d6 Allow users to register via the app 2021-02-15 22:27:06 +01:00
Roland Geider
9fb7da9a51 Change settings to allow for building releases 2021-01-29 21:21:49 +01:00
Roland Geider
e8706b719b Rename package to de.wger.flutter 2021-01-28 22:22:42 +01:00
ImgBotApp
7cef351402 [ImgBot] Optimize images
*Total -- 1,264.92kb -> 1,251.03kb (1.1%)

/assets_dev/logo.png -- 2.26kb -> 0.86kb (61.84%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -- 1.47kb -> 0.71kb (51.99%)
/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png -- 4.17kb -> 2.18kb (47.72%)
/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png -- 1.56kb -> 0.84kb (46.19%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -- 1.62kb -> 0.90kb (44.57%)
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -- 1.62kb -> 0.90kb (44.28%)
/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png -- 1.79kb -> 1.00kb (44.12%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -- 1.11kb -> 0.62kb (44.04%)
/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png -- 1.37kb -> 0.77kb (43.58%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -- 1.54kb -> 0.90kb (41.75%)
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -- 1.46kb -> 0.86kb (41.19%)
/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png -- 1.14kb -> 0.70kb (38.23%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -- 1.30kb -> 0.84kb (35.24%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -- 1.30kb -> 0.84kb (35.24%)
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -- 1.21kb -> 0.81kb (32.47%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -- 1.20kb -> 0.82kb (31.66%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -- 1.18kb -> 0.82kb (30.38%)
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -- 1.12kb -> 0.82kb (26.88%)
/assets_dev/logo_adaptive.png -- 1.48kb -> 1.08kb (26.72%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -- 0.95kb -> 0.77kb (18.67%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -- 0.92kb -> 0.76kb (17.04%)
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -- 0.84kb -> 0.74kb (11.5%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -- 0.76kb -> 0.71kb (6.57%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -- 0.76kb -> 0.71kb (6.57%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -- 15.50kb -> 14.76kb (4.77%)
/assets/images/main.jpg -- 1,215.29kb -> 1,215.29kb (0%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-04 17:05:10 +00:00
Roland Geider
786a871380 Add first draft for app icons 2020-11-04 16:45:00 +01:00
Dylan Aird
85c0832398 first push 2020-09-12 20:25:00 +10:00