Compare commits

..

1 Commits

Author SHA1 Message Date
2e867c6b2d cleaner ci
Some checks failed
Build and push docker image / Build (pull_request) Failing after 2m6s
Build and release APK / Build APK (pull_request) Successful in 5m47s
Build web / Build Web (pull_request) Successful in 1m34s
2024-06-07 01:52:49 +02:00
4 changed files with 22 additions and 27 deletions

View File

@ -44,13 +44,7 @@ jobs:
- name: Add required secrets
run: |
echo ${{ secrets.ANDROID_SECRETS_BASE64 }} | base64 -d > ./android/secrets.properties
working-directory: ./frontend
- name: Sanity check
run: |
ls
ls -lah android
echo ${{ secrets.ANDROID_SECRETS_BASE64 }} | base64 -d > android/secrets.properties
working-directory: ./frontend
- run: flutter build apk --release --split-per-abi --build-number=${{ gitea.run_number }}
@ -63,3 +57,5 @@ jobs:
path: frontend/build/app/outputs/flutter-apk/
if-no-files-found: error
retention-days: 15

View File

@ -12,8 +12,6 @@ if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
} else {
throw new GradleException("Secrets file secrets.properties not found")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')

View File

@ -1,7 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Required to fetch data from the internet. -->
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:label="fast_network_navigation"
android:name="${applicationName}"
@ -37,8 +34,9 @@
android:name="com.google.android.geo.API_KEY"
android:value="${MAPS_API_KEY}"
/>
</application>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility?hl=en and
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
@ -50,4 +48,7 @@
<data android:mimeType="text/plain"/>
</intent>
</queries>
<!-- Required to fetch data from the internet. -->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>

View File

@ -21,20 +21,20 @@ class _LandmarkCardState extends State<LandmarkCard> {
),
child: Row(
children: [
Container(
width: 160,
height: 160,
decoration: BoxDecoration(
borderRadius: BorderRadius.only(
topLeft: Radius.circular(15.0),
bottomLeft: Radius.circular(15.0),
),
image: DecorationImage(
image: NetworkImage(widget.landmark.imageURL),
fit: BoxFit.cover,
),
),
),
// Container(
// width: 160,
// height: 160,
// decoration: BoxDecoration(
// borderRadius: BorderRadius.only(
// topLeft: Radius.circular(15.0),
// bottomLeft: Radius.circular(15.0),
// ),
// image: DecorationImage(
// image: NetworkImage(widget.landmark.imageURL),
// fit: BoxFit.cover,
// ),
// ),
// ),
Padding(
padding: EdgeInsets.all(10),