Skip to content

Commit

Permalink
Bumped up SDK and fixed railway screen fetch bugs (#261)
Browse files Browse the repository at this point in the history
* update gradle and flutter SDK

* fixed showcaseview bug

* bumped kotlin version

* bumped minimum sdk

* sample

* changes in buildgradle app

* changes in podfile and notification fontcolor change

* railway form stream fix

---------

Co-authored-by: Sidm9305 <[email protected]>
  • Loading branch information
CosmicRaptor and Sid9305 authored Nov 27, 2024
1 parent cd49dd0 commit 341730f
Show file tree
Hide file tree
Showing 19 changed files with 1,425 additions and 754 deletions.
22 changes: 20 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,29 @@ android {
main.java.srcDirs += 'src/main/kotlin'
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
coreLibraryDesugaringEnabled true
}

kotlinOptions {
jvmTarget = "21"
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}


defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.madclubtsec.tsec_application"
minSdkVersion flutter.minSdkVersion
minSdkVersion 30
targetSdkVersion 34
namespace "com.madclubtsec.tsec_application.tsec_app"
// versionCode flutterVersionCode.toInteger()
// versionName flutterVersionName
versionCode 21
Expand Down Expand Up @@ -80,5 +98,5 @@ dependencies {
def multidex_version = "2.0.1"
implementation "androidx.multidex:multidex:$multidex_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
}
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'com.android.tools.build:gradle:8.7.2'
// START: FlutterFire Configuration
classpath 'com.google.gms:google-services:4.3.10'
classpath 'com.google.gms:google-services:4.4.2'
// END: FlutterFire Configuration
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Sun Jun 04 23:40:58 IST 2023
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
1 change: 1 addition & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"flutter":{"platforms":{"android":{"default":{"projectId":"tsec-app","appId":"1:1045382333142:android:31666fc5cd441759bebf77","fileOutput":"android/app/google-services.json"}},"ios":{"default":{"projectId":"tsec-app","appId":"1:1045382333142:ios:844cc5d0f4afa247bebf77","uploadDebugSymbols":false,"fileOutput":"ios/Runner/GoogleService-Info.plist"}},"dart":{"lib/firebase_options.dart":{"projectId":"tsec-app","configurations":{"android":"1:1045382333142:android:31666fc5cd441759bebf77","ios":"1:1045382333142:ios:844cc5d0f4afa247bebf77"}}}}}}
7 changes: 6 additions & 1 deletion ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '12.0'
platform :ios, '13.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down Expand Up @@ -31,6 +31,11 @@ target 'Runner' do
use_frameworks!
use_modular_headers!

pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'Firebase/Auth'


flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

Expand Down
Loading

0 comments on commit 341730f

Please sign in to comment.