Skip to content

Commit

Permalink
Merge branch 'release/1.3.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
tokku5552 committed Feb 22, 2021
2 parents eb206d5 + 3d0bf56 commit bc5a2f3
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 303 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/flutter_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ name: Flutter_Test

on:
pull_request:
types: [opened, synchronize]
branches:
- main
- develop
push:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ app.*.symbols

# Obfuscation related
app.*.map.json
/coverage/
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@
A sample Todo App with Provider
This project uses Git-Flow

## version
1.3.1

## DEMO
![Screenshot showing TODOAppSample-Flutter for TodoList](docs/images/demo_todo_list.png "Demo Todo List")
![Screenshot showing TODOAppSample-Flutter for TodoDetail](docs/images/demo_todo_detail.png "Demo Todo Detail")

## Diagram
![todoapp_flutter_class_diagram](docs/images/todosample-flutter_class_diagramm.jpg "diagram")

## Testing
To test on MacOS, execute the following command
> flutter test --coverage
> genhtml coverage/lcov.info -o coverage/html
## Libraries
- provider: ^4.3.2+2
- sqflite: ^1.3.2+1
Expand Down
302 changes: 0 additions & 302 deletions coverage/lcov.info

This file was deleted.

1 change: 1 addition & 0 deletions ios/Flutter/Debug.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
1 change: 1 addition & 0 deletions ios/Flutter/Release.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
41 changes: 41 additions & 0 deletions ios/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}

def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end

File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
use_frameworks!
use_modular_headers!

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

post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
end
end

0 comments on commit bc5a2f3

Please sign in to comment.