Skip to content

Latest commit

 

History

History
85 lines (58 loc) · 1.9 KB

Create.md

File metadata and controls

85 lines (58 loc) · 1.9 KB

Creating Project and Configuring Firebase

flutter create --org run.shark spacemoon
flutterfire configure
firebase experiments:enable webframeworks
firebase init

Add to .gitignore

  • firebase_options.dart
  • google-services.json
  • firebase_app_id_file.json
  • GoogleService-Info.plist
  • serviceAccountKey.json
  • key.properties

Upgrade Project Defaults For IOS

Upgrade Podfile Version : ios/podfile

platform :ios, '15.0'

Replace all : ios/Runner.xcodeproj/project.pbxproj

IPHONEOS_DEPLOYMENT_TARGET = 15.0;
compatibilityVersion = "Xcode 15.0";

Upgrage MinimumOsVerison : ios/Flutter/AppFrameworkInfo.plist

<key>MinimumOSVersion</key>
<string>15.0</string>

Change App Name : ios/Runner/Info.plist

<key>CFBundleDisplayName</key>
<string>Spacemoon</string>

Open Xcode > TARGETS Runner > General : Change Display Name to Spacemoon and add App Category

Upgrade Project Defaults For Android

Change App Name and ask Internet Permisson : android/app/src/main/AndroidManifest.xml

android:label="Spacemoon"

<uses-permission android:name="android.permission.INTERNET" />

Upgrade MinSdkVersion : android/app/build.gradle

minSdkVersion 28

Upgrade Kotlin Version and Gradle Plugin Version : android/build.gradle

ext.kotlin_version = '1.9.10'

classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.google.gms:google-services:4.4.0'

Latest Kotlin Version

Latest Gradle plugin

Upgrade Gradle Distribution Url : android/gradle/wrapper/gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip

Latest Gradle Distribution Url