Skip to content

Commit

Permalink
Upgraded to support Flutter 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Vong3432 committed Aug 17, 2022
1 parent e4fd890 commit 54dc41e
Show file tree
Hide file tree
Showing 43 changed files with 1,906 additions and 246 deletions.
39 changes: 37 additions & 2 deletions .metadata
@@ -1,10 +1,45 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
# This file should be version controlled.

version:
revision: d79295af24c3ed621c33713ecda14ad196fd9c31
revision: f1875d570e39de09040c8f79aa13cc56baab8db1
channel: stable

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
- platform: android
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
- platform: ios
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
- platform: linux
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
- platform: macos
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
- platform: web
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
- platform: windows
create_revision: f1875d570e39de09040c8f79aa13cc56baab8db1
base_revision: f1875d570e39de09040c8f79aa13cc56baab8db1

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -28,3 +28,18 @@

1. Generate JSON serializable files
`flutter pub run build_runner build`

### Environment
Flutter 3

### Getting started
1. Clone the repository
2. Clone the repository from [backend repository](https://github.com/Vong3432/Pengo-backend). Setup the backend repository.
3. Configure environment variables in `.env` file. See `.env.example` for more details.
4. Setup Mapbox SDK ios (This is being done locally since they want to do verification).
5. Put GoogleService-Info.plist in "/ios" folder.
6. Start the backend server.
7. Start the flutter app with "flutter run".

### If previously installed this project with Flutter 2 and updated to version 3
- Check this out: https://stackoverflow.com/a/72462085/10868150
6 changes: 6 additions & 0 deletions android/app/src/main/kotlin/com/example/pengo/MainActivity.kt
@@ -0,0 +1,6 @@
package com.example.pengo

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}
1 change: 1 addition & 0 deletions ios/Podfile
Expand Up @@ -32,6 +32,7 @@ target 'Runner' do
use_modular_headers!

pod 'Firebase/Analytics'
pod 'FirebaseAnalytics/WithoutAdIdSupport'

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

0 comments on commit 54dc41e

Please sign in to comment.