Skip to content

Commit 4e65110

Browse files
authored
Merge pull request #1 from akaanuzman/dev
The todo app was complated.
2 parents d5bc2c0 + 8562dc4 commit 4e65110

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+5131
-174
lines changed

android/app/build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ if (flutterVersionName == null) {
2222
}
2323

2424
apply plugin: 'com.android.application'
25+
// START: FlutterFire Configuration
26+
apply plugin: 'com.google.gms.google-services'
27+
// END: FlutterFire Configuration
2528
apply plugin: 'kotlin-android'
2629
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2730

android/app/google-services.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"project_info": {
3+
"project_number": "427215462588",
4+
"project_id": "my-new-todo-app",
5+
"storage_bucket": "my-new-todo-app.appspot.com"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:427215462588:android:fa66bdc5d39b299cc0f0b9",
11+
"android_client_info": {
12+
"package_name": "com.example.todo_app"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "427215462588-i18n21ljvu9qmpuv8jbhk82i8vp30890.apps.googleusercontent.com",
18+
"client_type": 3
19+
}
20+
],
21+
"api_key": [
22+
{
23+
"current_key": "AIzaSyC2vredo1kChTsLdsNelfC-tMjxLysIeyQ"
24+
}
25+
],
26+
"services": {
27+
"appinvite_service": {
28+
"other_platform_oauth_client": [
29+
{
30+
"client_id": "427215462588-i18n21ljvu9qmpuv8jbhk82i8vp30890.apps.googleusercontent.com",
31+
"client_type": 3
32+
}
33+
]
34+
}
35+
}
36+
}
37+
],
38+
"configuration_version": "1"
39+
}

android/build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ buildscript {
77

88
dependencies {
99
classpath 'com.android.tools.build:gradle:7.1.2'
10+
// START: FlutterFire Configuration
11+
classpath 'com.google.gms:google-services:4.3.10'
12+
// END: FlutterFire Configuration
1013
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1114
}
1215
}

assets/langs/app_en.arb

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"loginTitle": "HELLO AGAIN!",
3+
"loginSubtitle": "Welcome back, you've been missed!",
4+
"emailLabel": "Email",
5+
"emailHint": "Please enter your email.",
6+
"passwordLabel": "Password",
7+
"passwordHint": "Please enter your password.",
8+
"passwordHint2": "Please enter your password again.",
9+
"loginButton": "Sign In",
10+
"registerText": "Not a member?",
11+
"registerButton": "Register now!",
12+
"registerAppBar": "Register",
13+
"signUpButton": "Sign Up",
14+
"registerTitle": "CREATE ACCOUNT",
15+
"registerSubtitle": "Create your account and join with us!",
16+
"registerSuccessful": "Register Successful",
17+
"registerFailed": "Register Failed",
18+
"registerSuccessfulContent": "You registered in successful!",
19+
"todosAppBar": "My Todos",
20+
"searchTodo": "Search todo",
21+
"addTodo": "Add Todo",
22+
"doneTodosAppBar": "Done Todos",
23+
"myProfile": "My Profile",
24+
"myDetails": "My Details",
25+
"logoutButton": "Logout",
26+
"seeAllButton": "See All",
27+
"areYouSure": "Are you sure?",
28+
"logoutAlertContent": "You will be logged out of your session.\nAre u sure?",
29+
"yesButton": "YES",
30+
"noButton": "NO",
31+
"addTodoTitle": "Tell us what do you do?",
32+
"addTodoSubtitle": "This could be doing a homework or washing the dishes etc.",
33+
"todoTitleLabel": "Todo Title",
34+
"todoSubtitleLabel": "Todo Subtitle",
35+
"addNewTodoButton": "Add new todo",
36+
"registeredSuccess": "Register Successful!",
37+
"registeredSuccessContent": "You registered in successful.\nYou are redirected to the login page.",
38+
"okButton": "OK",
39+
"loginFailed": "Login Failed!",
40+
"loginSuccess": "Login Successful!",
41+
"loginSuccessContent": "You logged in successful.",
42+
"addTodoSuccess": "Todo successfully added in your list.",
43+
"editTodoTitle": "Easily update your task!",
44+
"editTodoSubtitle": "You can easily make the changes you want to make in your task below.",
45+
"editTodoAppBar": "Edit Todo",
46+
"editTodoButton": "Save the changes",
47+
"updateTodoSuccess": "Your todo has been successfully updated!",
48+
"deleteTodoContent": "Your todo will be completely deleted.\nAre you sure you want to continue?",
49+
"deleteTodoSuccess": "Your todo has been successfully deleted.",
50+
"haveNotTodo": "You don't have a todo yet, add a new todo right below!",
51+
"doneTodoContent": "Your todo will be marked as finished and\n it will be transferred to the list of done todos.\n Are you sure you want to continue?",
52+
"haveNotDoneTodo": "You don't have a done todo yet, add a done todo in todos page!"
53+
}

ios/Flutter/Debug.xcconfig

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
12
#include "Generated.xcconfig"

ios/Flutter/Release.xcconfig

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
12
#include "Generated.xcconfig"

ios/Podfile

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Uncomment this line to define a global platform for your project
2+
platform :ios, '11.0'
3+
4+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6+
7+
project 'Runner', {
8+
'Debug' => :debug,
9+
'Profile' => :release,
10+
'Release' => :release,
11+
}
12+
13+
def flutter_root
14+
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15+
unless File.exist?(generated_xcode_build_settings_path)
16+
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17+
end
18+
19+
File.foreach(generated_xcode_build_settings_path) do |line|
20+
matches = line.match(/FLUTTER_ROOT\=(.*)/)
21+
return matches[1].strip if matches
22+
end
23+
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24+
end
25+
26+
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27+
28+
flutter_ios_podfile_setup
29+
30+
target 'Runner' do
31+
use_frameworks!
32+
use_modular_headers!
33+
34+
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35+
end
36+
37+
post_install do |installer|
38+
installer.pods_project.targets.each do |target|
39+
flutter_additional_ios_build_settings(target)
40+
end
41+
end

0 commit comments

Comments
 (0)