Browse Source

Fixed Android build

tmp v2.1.1
Dan Cojocaru 3 years ago
parent
commit
0da3dfe9aa
Signed by: kbruen
GPG Key ID: 818A889458EDC937
  1. 4
      CHANGELOG.TXT
  2. 2
      android/app/build.gradle
  3. 2
      android/app/src/debug/AndroidManifest.xml
  4. 2
      android/app/src/main/kotlin/xyz/dcdevelop/infotren/MainActivity.kt
  5. 2
      pubspec.yaml

4
CHANGELOG.TXT

@ -1,3 +1,7 @@
v2.1.1
Fixed Android build
Switched versioning format
v2.0.7 v2.0.7
Switched from WebView to API Switched from WebView to API
Updated app to latest Flutter Updated app to latest Flutter

2
android/app/build.gradle

@ -43,7 +43,7 @@ android {
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "xyz.dcdevelop.info_tren" applicationId "xyz.dcdevelop.infotren"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 30 targetSdkVersion 30
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()

2
android/app/src/debug/AndroidManifest.xml

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="xyz.dcdevelop.info_tren"> package="xyz.dcdevelop.infotren">
<!-- Flutter needs it to communicate with the running application <!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc. to allow setting breakpoints, to provide hot reload, etc.
--> -->

2
android/app/src/main/kotlin/xyz/dcdevelop/info_tren/MainActivity.kt → android/app/src/main/kotlin/xyz/dcdevelop/infotren/MainActivity.kt

@ -1,4 +1,4 @@
package xyz.dcdevelop.info_tren package xyz.dcdevelop.infotren
import io.flutter.embedding.android.FlutterActivity import io.flutter.embedding.android.FlutterActivity

2
pubspec.yaml

@ -11,7 +11,7 @@ description: O aplicație de vizualizare a datelor puse la dispoziție de Inform
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.0.7 version: 2.1.1
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"

Loading…
Cancel
Save