Compare commits
	
		
			1 Commits
		
	
	
		
			2e867c6b2d
			...
			040e5c9f83
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 040e5c9f83 | 
| @@ -44,7 +44,13 @@ jobs: | ||||
|  | ||||
|     - name: Add required secrets | ||||
|       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 | ||||
|  | ||||
|     - run: flutter build apk --release --split-per-abi --build-number=${{ gitea.run_number }} | ||||
| @@ -57,5 +63,3 @@ jobs: | ||||
|         path: frontend/build/app/outputs/flutter-apk/ | ||||
|         if-no-files-found: error | ||||
|         retention-days: 15 | ||||
|  | ||||
|        | ||||
|   | ||||
| @@ -12,6 +12,8 @@ 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') | ||||
|   | ||||
| @@ -1,4 +1,7 @@ | ||||
| <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}" | ||||
| @@ -34,9 +37,8 @@ | ||||
|             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. | ||||
| @@ -48,7 +50,4 @@ | ||||
|             <data android:mimeType="text/plain"/> | ||||
|         </intent> | ||||
|     </queries> | ||||
|  | ||||
|     <!-- Required to fetch data from the internet. --> | ||||
|     <uses-permission android:name="android.permission.INTERNET"/> | ||||
| </manifest> | ||||
|   | ||||
| @@ -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), | ||||
|              | ||||
|   | ||||
		Reference in New Issue
	
	Block a user