Compare commits
1 Commits
040e5c9f83
...
2e867c6b2d
Author | SHA1 | Date | |
---|---|---|---|
2e867c6b2d |
@ -44,13 +44,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Add required secrets
|
- name: Add required secrets
|
||||||
run: |
|
run: |
|
||||||
echo ${{ secrets.ANDROID_SECRETS_BASE64 }} | base64 -d > ./android/secrets.properties
|
echo ${{ secrets.ANDROID_SECRETS_BASE64 }} | base64 -d > android/secrets.properties
|
||||||
working-directory: ./frontend
|
|
||||||
|
|
||||||
- name: Sanity check
|
|
||||||
run: |
|
|
||||||
ls
|
|
||||||
ls -lah android
|
|
||||||
working-directory: ./frontend
|
working-directory: ./frontend
|
||||||
|
|
||||||
- run: flutter build apk --release --split-per-abi --build-number=${{ gitea.run_number }}
|
- 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/
|
path: frontend/build/app/outputs/flutter-apk/
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 15
|
retention-days: 15
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,8 +12,6 @@ if (localPropertiesFile.exists()) {
|
|||||||
localPropertiesFile.withReader('UTF-8') { reader ->
|
localPropertiesFile.withReader('UTF-8') { reader ->
|
||||||
localProperties.load(reader)
|
localProperties.load(reader)
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
throw new GradleException("Secrets file secrets.properties not found")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
|
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<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
|
<application
|
||||||
android:label="fast_network_navigation"
|
android:label="fast_network_navigation"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
@ -37,8 +34,9 @@
|
|||||||
android:name="com.google.android.geo.API_KEY"
|
android:name="com.google.android.geo.API_KEY"
|
||||||
android:value="${MAPS_API_KEY}"
|
android:value="${MAPS_API_KEY}"
|
||||||
/>
|
/>
|
||||||
</application>
|
|
||||||
|
|
||||||
|
|
||||||
|
</application>
|
||||||
<!-- Required to query activities that can process text, see:
|
<!-- Required to query activities that can process text, see:
|
||||||
https://developer.android.com/training/package-visibility?hl=en and
|
https://developer.android.com/training/package-visibility?hl=en and
|
||||||
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
|
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
|
||||||
@ -50,4 +48,7 @@
|
|||||||
<data android:mimeType="text/plain"/>
|
<data android:mimeType="text/plain"/>
|
||||||
</intent>
|
</intent>
|
||||||
</queries>
|
</queries>
|
||||||
|
|
||||||
|
<!-- Required to fetch data from the internet. -->
|
||||||
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@ -21,20 +21,20 @@ class _LandmarkCardState extends State<LandmarkCard> {
|
|||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
// Container(
|
||||||
width: 160,
|
// width: 160,
|
||||||
height: 160,
|
// height: 160,
|
||||||
decoration: BoxDecoration(
|
// decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.only(
|
// borderRadius: BorderRadius.only(
|
||||||
topLeft: Radius.circular(15.0),
|
// topLeft: Radius.circular(15.0),
|
||||||
bottomLeft: Radius.circular(15.0),
|
// bottomLeft: Radius.circular(15.0),
|
||||||
),
|
// ),
|
||||||
image: DecorationImage(
|
// image: DecorationImage(
|
||||||
image: NetworkImage(widget.landmark.imageURL),
|
// image: NetworkImage(widget.landmark.imageURL),
|
||||||
fit: BoxFit.cover,
|
// fit: BoxFit.cover,
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.all(10),
|
padding: EdgeInsets.all(10),
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user