├── ios ├── Runner │ ├── Runner-Bridging-Header.h │ ├── Assets.xcassets │ │ ├── LaunchImage.imageset │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ ├── README.md │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ ├── Icon-App-20x20@1x.png │ │ │ ├── Icon-App-20x20@2x.png │ │ │ ├── Icon-App-20x20@3x.png │ │ │ ├── Icon-App-29x29@1x.png │ │ │ ├── Icon-App-29x29@2x.png │ │ │ ├── Icon-App-29x29@3x.png │ │ │ ├── Icon-App-40x40@1x.png │ │ │ ├── Icon-App-40x40@2x.png │ │ │ ├── Icon-App-40x40@3x.png │ │ │ ├── Icon-App-60x60@2x.png │ │ │ ├── Icon-App-60x60@3x.png │ │ │ ├── Icon-App-76x76@1x.png │ │ │ ├── Icon-App-76x76@2x.png │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── Icon-App-83.5x83.5@2x.png │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── Flutter │ ├── Debug.xcconfig │ ├── Release.xcconfig │ ├── flutter_export_environment.sh │ └── AppFrameworkInfo.plist ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcshareddata │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ └── project.pbxproj ├── Runner.xcworkspace │ └── contents.xcworkspacedata └── Podfile ├── android ├── gradle.properties ├── app │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ └── styles.xml │ │ │ └── drawable │ │ │ │ └── launch_background.xml │ │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── suwonsmartapp │ │ │ │ └── instagramclon │ │ │ │ └── MainActivity.kt │ │ │ └── AndroidManifest.xml │ ├── build.gradle │ └── google-services.json ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties ├── settings.gradle └── build.gradle ├── lib ├── loading_page.dart ├── main.dart ├── root_page.dart ├── tab_page.dart ├── login_page.dart ├── detail_post_page.dart ├── search_page.dart ├── create_page.dart ├── account_page.dart └── home_page.dart ├── .metadata ├── README.md ├── test └── widget_test.dart ├── analysis_options.yaml ├── .gitignore ├── pubspec.yaml └── .flutter-plugins-dependencies /ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true -------------------------------------------------------------------------------- /ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/junsuk5/flutter_insta_clon/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /android/app/src/main/kotlin/com/suwonsmartapp/instagramclon/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.suwonsmartapp.instagramclon 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | 6 | class MainActivity: FlutterActivity() { 7 | } 8 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip 7 | -------------------------------------------------------------------------------- /ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /lib/loading_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class LoadingPage extends StatelessWidget { 4 | const LoadingPage({Key? key}) : super(key: key); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return const Center( 9 | child: CircularProgressIndicator(), 10 | ); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /.metadata: -------------------------------------------------------------------------------- 1 | # This file tracks properties of this Flutter project. 2 | # Used by Flutter tool to assess capabilities and perform upgrades etc. 3 | # 4 | # This file should be version controlled and should not be manually edited. 5 | 6 | version: 7 | revision: 5391447fae6209bb21a89e6a5a6583cac1af9b4b 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() 4 | 5 | def plugins = new Properties() 6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') 7 | if (pluginsFile.exists()) { 8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } 9 | } 10 | 11 | plugins.each { name, path -> 12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() 13 | include ":$name" 14 | project(":$name").projectDir = pluginDirectory 15 | } 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # instagram_clon 2 | 3 | 인스타그램 클론 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://flutter.io/docs/cookbook) 13 | 14 | For help getting started with Flutter, view our 15 | [online documentation](https://flutter.io/docs), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /ios/Flutter/flutter_export_environment.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This is a generated file; do not edit or check into version control. 3 | export "FLUTTER_ROOT=/Users/junsuk/dev/flutter" 4 | export "FLUTTER_APPLICATION_PATH=/Users/junsuk/dev/tmp/flutter_insta_clon" 5 | export "COCOAPODS_PARALLEL_CODE_SIGN=true" 6 | export "FLUTTER_TARGET=lib/main.dart" 7 | export "FLUTTER_BUILD_DIR=build" 8 | export "FLUTTER_BUILD_NAME=1.0.0" 9 | export "FLUTTER_BUILD_NUMBER=1" 10 | export "DART_OBFUSCATION=false" 11 | export "TRACK_WIDGET_CREATION=false" 12 | export "TREE_SHAKE_ICONS=false" 13 | export "PACKAGE_CONFIG=.dart_tool/package_config.json" 14 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.10' 3 | repositories { 4 | google() 5 | jcenter() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:4.1.0' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | classpath 'com.google.gms:google-services:4.3.8' 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | google() 18 | jcenter() 19 | } 20 | } 21 | 22 | rootProject.buildDir = '../build' 23 | subprojects { 24 | project.buildDir = "${rootProject.buildDir}/${project.name}" 25 | project.evaluationDependsOn(':app') 26 | } 27 | 28 | task clean(type: Delete) { 29 | delete rootProject.buildDir 30 | } 31 | -------------------------------------------------------------------------------- /lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:firebase_core/firebase_core.dart'; 3 | 4 | import 'root_page.dart'; 5 | 6 | Future main() async { 7 | WidgetsFlutterBinding.ensureInitialized(); 8 | await Firebase.initializeApp(); 9 | runApp(const MyApp()); 10 | } 11 | 12 | class MyApp extends StatelessWidget { 13 | const MyApp({Key? key}) : super(key: key); 14 | 15 | // This widget is the root of your application. 16 | @override 17 | Widget build(BuildContext context) { 18 | print('MyApp created'); 19 | return MaterialApp( 20 | title: 'Flutter Demo', 21 | theme: ThemeData( 22 | primaryColor: Colors.white, 23 | colorScheme: ColorScheme.fromSwatch(primarySwatch: Colors.blue) 24 | .copyWith(secondary: Colors.black), 25 | ), 26 | home: const RootPage(), 27 | ); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /ios/Flutter/AppFrameworkInfo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | App 9 | CFBundleIdentifier 10 | io.flutter.flutter.app 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | App 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | MinimumOSVersion 24 | 8.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /lib/root_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:firebase_auth/firebase_auth.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:instagram_clon/loading_page.dart'; 4 | 5 | import 'login_page.dart'; 6 | import 'tab_page.dart'; 7 | 8 | class RootPage extends StatelessWidget { 9 | const RootPage({Key? key}) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | print('root_page created'); 14 | return _handleCurrentScreen(); 15 | } 16 | 17 | Widget _handleCurrentScreen() { 18 | return StreamBuilder( 19 | stream: FirebaseAuth.instance.authStateChanges(), 20 | builder: (BuildContext context, AsyncSnapshot snapshot) { 21 | if (snapshot.connectionState == ConnectionState.waiting) { 22 | return const LoadingPage(); 23 | } else { 24 | if (snapshot.hasData) { 25 | return TabPage(snapshot.data!); 26 | } 27 | return const LoginPage(); 28 | } 29 | }, 30 | ); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility that Flutter provides. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:instagram_clon/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(const MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # This file configures the analyzer, which statically analyzes Dart code to 2 | # check for errors, warnings, and lints. 3 | # 4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled 5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be 6 | # invoked from the command line by running `flutter analyze`. 7 | 8 | # The following line activates a set of recommended lints for Flutter apps, 9 | # packages, and plugins designed to encourage good coding practices. 10 | include: package:flutter_lints/flutter.yaml 11 | 12 | linter: 13 | # The lint rules applied to this project can be customized in the 14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml` 15 | # included above or to enable additional rules. A list of all available lints 16 | # and their documentation is published at 17 | # https://dart-lang.github.io/linter/lints/index.html. 18 | # 19 | # Instead of disabling a lint rule for the entire project in the 20 | # section below, it can also be suppressed for a single line of code 21 | # or a specific dart file by using the `// ignore: name_of_lint` and 22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file 23 | # producing the lint. 24 | rules: 25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule 26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule 27 | 28 | # Additional information about this file can be found at 29 | # https://dart.dev/guides/language/analysis-options 30 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.lock 4 | *.log 5 | *.pyc 6 | *.swp 7 | .DS_Store 8 | .atom/ 9 | .buildlog/ 10 | .history 11 | .svn/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # Visual Studio Code related 20 | .vscode/ 21 | 22 | # Flutter/Dart/Pub related 23 | **/doc/api/ 24 | .dart_tool/ 25 | .flutter-plugins 26 | .packages 27 | .pub-cache/ 28 | .pub/ 29 | build/ 30 | 31 | # Android related 32 | **/android/**/gradle-wrapper.jar 33 | **/android/.gradle 34 | **/android/captures/ 35 | **/android/gradlew 36 | **/android/gradlew.bat 37 | **/android/local.properties 38 | **/android/**/GeneratedPluginRegistrant.java 39 | 40 | # iOS/XCode related 41 | **/ios/**/*.mode1v3 42 | **/ios/**/*.mode2v3 43 | **/ios/**/*.moved-aside 44 | **/ios/**/*.pbxuser 45 | **/ios/**/*.perspectivev3 46 | **/ios/**/*sync/ 47 | **/ios/**/.sconsign.dblite 48 | **/ios/**/.tags* 49 | **/ios/**/.vagrant/ 50 | **/ios/**/DerivedData/ 51 | **/ios/**/Icon? 52 | **/ios/**/Pods/ 53 | **/ios/**/.symlinks/ 54 | **/ios/**/profile 55 | **/ios/**/xcuserdata 56 | **/ios/.generated/ 57 | **/ios/Flutter/App.framework 58 | **/ios/Flutter/Flutter.framework 59 | **/ios/Flutter/Generated.xcconfig 60 | **/ios/Flutter/app.flx 61 | **/ios/Flutter/app.zip 62 | **/ios/Flutter/flutter_assets/ 63 | **/ios/ServiceDefinitions.json 64 | **/ios/Runner/GeneratedPluginRegistrant.* 65 | 66 | # Exceptions to above rules. 67 | !**/ios/**/default.mode1v3 68 | !**/ios/**/default.mode2v3 69 | !**/ios/**/default.pbxuser 70 | !**/ios/**/default.perspectivev3 71 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages 72 | 73 | GoogleService-Info.plist -------------------------------------------------------------------------------- /lib/tab_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:firebase_auth/firebase_auth.dart'; 2 | import 'package:flutter/material.dart'; 3 | import 'package:instagram_clon/account_page.dart'; 4 | import 'package:instagram_clon/home_page.dart'; 5 | import 'package:instagram_clon/search_page.dart'; 6 | 7 | class TabPage extends StatefulWidget { 8 | final User user; 9 | 10 | const TabPage(this.user, {Key? key}) : super(key: key); 11 | 12 | @override 13 | _TabPageState createState() => _TabPageState(); 14 | } 15 | 16 | class _TabPageState extends State { 17 | int _selectedIndex = 0; 18 | 19 | late List _pages; 20 | 21 | @override 22 | void initState() { 23 | super.initState(); 24 | _pages = [ 25 | HomePage(widget.user), 26 | SearchPage(widget.user), 27 | AccountPage(user: widget.user), 28 | ]; 29 | } 30 | 31 | @override 32 | Widget build(BuildContext context) { 33 | print('tab_page created'); 34 | return Scaffold( 35 | body: _pages[_selectedIndex], 36 | bottomNavigationBar: BottomNavigationBar( 37 | fixedColor: Colors.black, 38 | items: const [ 39 | BottomNavigationBarItem(icon: Icon(Icons.home), label: 'Home'), 40 | BottomNavigationBarItem( 41 | icon: Icon(Icons.search), label: 'Search'), 42 | BottomNavigationBarItem( 43 | icon: Icon(Icons.account_circle), label: 'account'), 44 | ], 45 | currentIndex: _selectedIndex, 46 | onTap: _onItemTapped, 47 | ), 48 | ); 49 | } 50 | 51 | void _onItemTapped(int index) { 52 | setState(() { 53 | _selectedIndex = index; 54 | }); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /lib/login_page.dart: -------------------------------------------------------------------------------- 1 | import 'dart:async'; 2 | 3 | import 'package:firebase_auth/firebase_auth.dart'; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_signin_button/flutter_signin_button.dart'; 6 | import 'package:google_sign_in/google_sign_in.dart'; 7 | 8 | // 폰트: https://lingojam.com/FontsForInstagram 9 | class LoginPage extends StatelessWidget { 10 | const LoginPage({Key? key}) : super(key: key); 11 | 12 | @override 13 | Widget build(BuildContext context) { 14 | return Scaffold( 15 | body: Center( 16 | child: Column( 17 | mainAxisAlignment: MainAxisAlignment.center, 18 | children: [ 19 | const Text( 20 | 'Instagram Clone', 21 | style: TextStyle(fontSize: 40.0, fontWeight: FontWeight.bold), 22 | ), 23 | Container( 24 | margin: const EdgeInsets.all(50.0), 25 | ), 26 | SignInButton( 27 | Buttons.Google, 28 | onPressed: () { 29 | signInWithGoogle(); 30 | }, 31 | ), 32 | ], 33 | ), 34 | ), 35 | ); 36 | } 37 | 38 | Future signInWithGoogle() async { 39 | // Trigger the authentication flow 40 | final GoogleSignInAccount? googleUser = await GoogleSignIn().signIn(); 41 | 42 | // Obtain the auth details from the request 43 | final GoogleSignInAuthentication googleAuth = (await googleUser?.authentication)!; 44 | 45 | // Create a new credential 46 | final credential = GoogleAuthProvider.credential( 47 | accessToken: googleAuth.accessToken, 48 | idToken: googleAuth.idToken, 49 | ); 50 | 51 | // Once signed in, return the UserCredential 52 | return await FirebaseAuth.instance.signInWithCredential(credential); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /lib/detail_post_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class DetailPostPage extends StatefulWidget { 4 | final dynamic document; 5 | 6 | const DetailPostPage({Key? key, this.document}) : super(key: key); 7 | 8 | @override 9 | _DetailPostPageState createState() => _DetailPostPageState(); 10 | } 11 | 12 | class _DetailPostPageState extends State { 13 | @override 14 | Widget build(BuildContext context) { 15 | return Scaffold( 16 | appBar: AppBar( 17 | title: const Text('둘러보기'), 18 | ), 19 | body: _buildBody(), 20 | ); 21 | } 22 | 23 | Widget _buildBody() { 24 | return SingleChildScrollView( 25 | child: Column( 26 | crossAxisAlignment: CrossAxisAlignment.start, 27 | children: [ 28 | Padding( 29 | padding: const EdgeInsets.all(8.0), 30 | child: Row( 31 | children: [ 32 | CircleAvatar( 33 | backgroundImage: NetworkImage( 34 | widget.document['userPhotoUrl']), 35 | ), 36 | Padding( 37 | padding: const EdgeInsets.only(left: 8.0), 38 | child: Column( 39 | crossAxisAlignment: CrossAxisAlignment.start, 40 | children: [ 41 | Text( 42 | widget.document['email'], 43 | style: const TextStyle(fontWeight: FontWeight.bold), 44 | ), 45 | Text(widget.document['displayName']), 46 | ], 47 | ), 48 | ) 49 | ], 50 | ), 51 | ), 52 | Hero( 53 | tag: widget.document['photoUrl'], 54 | child: Image.network(widget.document['photoUrl']), 55 | ), 56 | Padding( 57 | padding: const EdgeInsets.all(8.0), 58 | child: Text(widget.document['contents']), 59 | ), 60 | ], 61 | ), 62 | ); 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 8 | 9 | 10 | 11 | 16 | 20 | 27 | 31 | 32 | 33 | 34 | 35 | 36 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSPhotoLibraryUsageDescription 6 | 포토 라이브러리 접근 권한이 필요합니다 7 | NSCameraUsageDescription 8 | 카메라 접근 권한이 필요합니다 9 | CFBundleDevelopmentRegion 10 | en 11 | CFBundleExecutable 12 | $(EXECUTABLE_NAME) 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | instagram_clon 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | $(FLUTTER_BUILD_NAME) 23 | CFBundleSignature 24 | ???? 25 | CFBundleURLTypes 26 | 27 | 28 | CFBundleTypeRole 29 | Editor 30 | CFBundleURLSchemes 31 | 32 | com.googleusercontent.apps.332098036926-gcgunpue1h9tlgidfi70e4i8327nap7d 33 | 34 | 35 | 36 | CFBundleVersion 37 | $(FLUTTER_BUILD_NUMBER) 38 | LSRequiresIPhoneOS 39 | 40 | UILaunchStoryboardName 41 | LaunchScreen 42 | UIMainStoryboardFile 43 | Main 44 | UISupportedInterfaceOrientations 45 | 46 | UIInterfaceOrientationPortrait 47 | UIInterfaceOrientationLandscapeLeft 48 | UIInterfaceOrientationLandscapeRight 49 | 50 | UISupportedInterfaceOrientations~ipad 51 | 52 | UIInterfaceOrientationPortrait 53 | UIInterfaceOrientationPortraitUpsideDown 54 | UIInterfaceOrientationLandscapeLeft 55 | UIInterfaceOrientationLandscapeRight 56 | 57 | UIViewControllerBasedStatusBarAppearance 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | def localProperties = new Properties() 2 | def localPropertiesFile = rootProject.file('local.properties') 3 | if (localPropertiesFile.exists()) { 4 | localPropertiesFile.withReader('UTF-8') { reader -> 5 | localProperties.load(reader) 6 | } 7 | } 8 | 9 | def flutterRoot = localProperties.getProperty('flutter.sdk') 10 | if (flutterRoot == null) { 11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 12 | } 13 | 14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode') 15 | if (flutterVersionCode == null) { 16 | flutterVersionCode = '1' 17 | } 18 | 19 | def flutterVersionName = localProperties.getProperty('flutter.versionName') 20 | if (flutterVersionName == null) { 21 | flutterVersionName = '1.0' 22 | } 23 | 24 | apply plugin: 'com.android.application' 25 | apply plugin: 'kotlin-android' 26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" 27 | apply plugin: 'com.google.gms.google-services' 28 | 29 | android { 30 | compileSdkVersion 31 31 | 32 | sourceSets { 33 | main.java.srcDirs += 'src/main/kotlin' 34 | } 35 | 36 | lintOptions { 37 | disable 'InvalidPackage' 38 | } 39 | 40 | defaultConfig { 41 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 42 | applicationId "com.suwonsmartapp.instagramclon" 43 | minSdkVersion 21 44 | targetSdkVersion 30 45 | multiDexEnabled true 46 | versionCode flutterVersionCode.toInteger() 47 | versionName flutterVersionName 48 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 49 | } 50 | 51 | buildTypes { 52 | release { 53 | // TODO: Add your own signing config for the release build. 54 | // Signing with the debug keys for now, so `flutter run --release` works. 55 | signingConfig signingConfigs.debug 56 | } 57 | } 58 | } 59 | 60 | flutter { 61 | source '../..' 62 | } 63 | 64 | dependencies { 65 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 66 | testImplementation 'junit:junit:4.12' 67 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 68 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 69 | } 70 | 71 | apply plugin: 'com.google.gms.google-services' -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.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 parse_KV_file(file, separator='=') 14 | file_abs_path = File.expand_path(file) 15 | if !File.exists? file_abs_path 16 | return []; 17 | end 18 | pods_ary = [] 19 | skip_line_start_symbols = ["#", "/"] 20 | File.foreach(file_abs_path) { |line| 21 | next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ } 22 | plugin = line.split(pattern=separator) 23 | if plugin.length == 2 24 | podname = plugin[0].strip() 25 | path = plugin[1].strip() 26 | podpath = File.expand_path("#{path}", file_abs_path) 27 | pods_ary.push({:name => podname, :path => podpath}); 28 | else 29 | puts "Invalid plugin specification: #{line}" 30 | end 31 | } 32 | return pods_ary 33 | end 34 | 35 | target 'Runner' do 36 | use_frameworks! 37 | 38 | # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock 39 | # referring to absolute paths on developers' machines. 40 | system('rm -rf .symlinks') 41 | system('mkdir -p .symlinks/plugins') 42 | 43 | # Flutter Pods 44 | generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig') 45 | if generated_xcode_build_settings.empty? 46 | puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first." 47 | end 48 | generated_xcode_build_settings.map { |p| 49 | if p[:name] == 'FLUTTER_FRAMEWORK_DIR' 50 | symlink = File.join('.symlinks', 'flutter') 51 | File.symlink(File.dirname(p[:path]), symlink) 52 | pod 'Flutter', :path => File.join(symlink, File.basename(p[:path])) 53 | end 54 | } 55 | 56 | # Plugin Pods 57 | plugin_pods = parse_KV_file('../.flutter-plugins') 58 | plugin_pods.map { |p| 59 | symlink = File.join('.symlinks', 'plugins', p[:name]) 60 | File.symlink(p[:path], symlink) 61 | pod p[:name], :path => File.join(symlink, 'ios') 62 | } 63 | end 64 | 65 | post_install do |installer| 66 | installer.pods_project.targets.each do |target| 67 | target.build_configurations.each do |config| 68 | config.build_settings['ENABLE_BITCODE'] = 'NO' 69 | end 70 | end 71 | end 72 | -------------------------------------------------------------------------------- /ios/Runner/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: instagram_clon 2 | description: 인스타그램 클론 3 | 4 | # The following defines the version and build number for your application. 5 | # A version number is three numbers separated by dots, like 1.2.43 6 | # followed by an optional build number separated by a +. 7 | # Both the version and the builder number may be overridden in flutter 8 | # build by specifying --build-name and --build-number, respectively. 9 | # Read more about versioning at semver.org. 10 | version: 1.0.0+1 11 | 12 | environment: 13 | sdk: '>=2.12.0 <3.0.0' 14 | 15 | dependencies: 16 | flutter: 17 | sdk: flutter 18 | 19 | # The following adds the Cupertino Icons font to your application. 20 | # Use with the CupertinoIcons class for iOS style icons. 21 | cupertino_icons: ^1.0.4 22 | image_picker: ^0.8.4+4 23 | firebase_auth: ^3.2.0 24 | google_sign_in: ^5.2.1 25 | flutter_signin_button: ^2.0.0 26 | cloud_firestore: ^3.1.0 27 | firebase_storage: ^10.1.0 28 | 29 | dev_dependencies: 30 | flutter_test: 31 | sdk: flutter 32 | flutter_lints: ^1.0.4 33 | 34 | 35 | # For information on the generic Dart part of this file, see the 36 | # following page: https://www.dartlang.org/tools/pub/pubspec 37 | 38 | # The following section is specific to Flutter. 39 | flutter: 40 | 41 | # The following line ensures that the Material Icons font is 42 | # included with your application, so that you can use the icons in 43 | # the material Icons class. 44 | uses-material-design: true 45 | 46 | # To add assets to your application, add an assets section, like this: 47 | # assets: 48 | # - images/a_dot_burr.jpeg 49 | # - images/a_dot_ham.jpeg 50 | 51 | # An image asset can refer to one or more resolution-specific "variants", see 52 | # https://flutter.io/assets-and-images/#resolution-aware. 53 | 54 | # For details regarding adding assets from package dependencies, see 55 | # https://flutter.io/assets-and-images/#from-packages 56 | 57 | # To add custom fonts to your application, add a fonts section here, 58 | # in this "flutter" section. Each entry in this list should have a 59 | # "family" key with the font family name, and a "fonts" key with a 60 | # list giving the asset and other descriptors for the font. For 61 | # example: 62 | # fonts: 63 | # - family: Schyler 64 | # fonts: 65 | # - asset: fonts/Schyler-Regular.ttf 66 | # - asset: fonts/Schyler-Italic.ttf 67 | # style: italic 68 | # - family: Trajan Pro 69 | # fonts: 70 | # - asset: fonts/TrajanPro.ttf 71 | # - asset: fonts/TrajanPro_Bold.ttf 72 | # weight: 700 73 | # 74 | # For details regarding fonts from package dependencies, 75 | # see https://flutter.io/custom-fonts/#from-packages 76 | -------------------------------------------------------------------------------- /lib/search_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:cloud_firestore/cloud_firestore.dart'; 2 | import 'package:firebase_auth/firebase_auth.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:instagram_clon/create_page.dart'; 5 | import 'package:instagram_clon/detail_post_page.dart'; 6 | 7 | class SearchPage extends StatefulWidget { 8 | final User user; 9 | 10 | const SearchPage(this.user, {Key? key}) : super(key: key); 11 | 12 | @override 13 | _SearchPageState createState() => _SearchPageState(); 14 | } 15 | 16 | class _SearchPageState extends State { 17 | @override 18 | Widget build(BuildContext context) { 19 | return Scaffold( 20 | appBar: _buildAppBar() as PreferredSizeWidget?, body: _buildBody()); 21 | } 22 | 23 | Widget _buildAppBar() { 24 | return AppBar( 25 | title: const Text( 26 | '𝔦𝔫𝔰𝔱𝔞𝔤𝔯𝔞𝔪 𝔠𝔩𝔬𝔫', 27 | style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold), 28 | ), 29 | ); 30 | } 31 | 32 | Widget _buildBody() { 33 | print('search_page created'); 34 | return Scaffold( 35 | body: StreamBuilder( 36 | stream: FirebaseFirestore.instance.collection('post').snapshots(), 37 | builder: (_, snapshot) { 38 | if (!snapshot.hasData) { 39 | return const Center(child: CircularProgressIndicator()); 40 | } 41 | 42 | var items = snapshot.data?.docs ?? []; 43 | 44 | return GridView.builder( 45 | gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( 46 | crossAxisCount: 3, 47 | childAspectRatio: 1.0, 48 | mainAxisSpacing: 1.0, 49 | crossAxisSpacing: 1.0), 50 | itemCount: items.length, 51 | itemBuilder: (BuildContext context, int index) { 52 | return _buildListItem(context, items[index]); 53 | }); 54 | }), 55 | floatingActionButton: FloatingActionButton( 56 | backgroundColor: Colors.blueAccent, 57 | child: const Icon(Icons.create), 58 | onPressed: () { 59 | print('눌림'); 60 | Navigator.of(context).push(MaterialPageRoute( 61 | builder: (BuildContext context) => CreatePage(widget.user))); 62 | }), 63 | ); 64 | } 65 | 66 | Widget _buildListItem(context, document) { 67 | return Hero( 68 | tag: document['photoUrl'], 69 | child: Material( 70 | color: Colors.transparent, 71 | child: InkWell( 72 | onTap: () { 73 | Navigator.push(context, 74 | MaterialPageRoute(builder: (BuildContext context) { 75 | return DetailPostPage(document: document); 76 | })); 77 | }, 78 | child: Image.network( 79 | document['photoUrl'], 80 | fit: BoxFit.cover, 81 | ), 82 | ), 83 | ), 84 | ); 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "Icon-App-20x20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "Icon-App-20x20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "Icon-App-29x29@1x.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "Icon-App-29x29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "Icon-App-29x29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "Icon-App-40x40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "Icon-App-40x40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "Icon-App-60x60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "Icon-App-60x60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "Icon-App-20x20@1x.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "Icon-App-20x20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "Icon-App-29x29@1x.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "Icon-App-29x29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "Icon-App-40x40@1x.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "Icon-App-40x40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "Icon-App-76x76@1x.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "Icon-App-76x76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "Icon-App-83.5x83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "Icon-App-1024x1024@1x.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /lib/create_page.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | 3 | import 'package:cloud_firestore/cloud_firestore.dart'; 4 | import 'package:firebase_auth/firebase_auth.dart'; 5 | import 'package:firebase_storage/firebase_storage.dart'; 6 | import 'package:flutter/material.dart'; 7 | import 'package:image_picker/image_picker.dart'; 8 | 9 | class CreatePage extends StatefulWidget { 10 | final User user; 11 | 12 | const CreatePage(this.user, {Key? key}) : super(key: key); 13 | 14 | @override 15 | _CreatePageState createState() => _CreatePageState(); 16 | } 17 | 18 | class _CreatePageState extends State { 19 | final textEditingController = TextEditingController(); 20 | final ImagePicker _picker = ImagePicker(); 21 | 22 | @override 23 | void dispose() { 24 | textEditingController.dispose(); 25 | super.dispose(); 26 | } 27 | 28 | File? _image; 29 | 30 | Future _getImage() async { 31 | print('클릭 되나'); 32 | XFile? image = await _picker.pickImage(source: ImageSource.gallery); 33 | 34 | if (image != null) { 35 | setState(() { 36 | _image = File(image.path); 37 | }); 38 | } else { 39 | // 사진 미 선택 처리 40 | } 41 | } 42 | 43 | @override 44 | Widget build(BuildContext context) { 45 | return Scaffold( 46 | appBar: AppBar( 47 | title: const Text('새 게시물'), 48 | actions: [ 49 | IconButton( 50 | icon: const Icon(Icons.send), 51 | tooltip: '다음', 52 | onPressed: () async { 53 | print('클릭'); 54 | 55 | final firebaseStorageRef = FirebaseStorage.instance 56 | .ref() 57 | .child('post') 58 | .child('${DateTime.now().millisecondsSinceEpoch}.png'); 59 | 60 | final UploadTask task = firebaseStorageRef.putFile( 61 | _image!, SettableMetadata(contentType: 'image/png')); 62 | 63 | task.then((value) { 64 | var downloadUrl = value.ref.getDownloadURL(); 65 | 66 | downloadUrl.then((uri) { 67 | var doc = FirebaseFirestore.instance.collection('post').doc(); 68 | doc.set({ 69 | 'id': doc.id, 70 | 'photoUrl': uri.toString(), 71 | 'contents': textEditingController.text, 72 | 'email': widget.user.email, 73 | 'displayName': widget.user.displayName, 74 | 'userPhotoUrl': widget.user.photoURL, 75 | }).then((onValue) { 76 | // 완료 후 앞 화면으로 이동 77 | Navigator.pop(context); 78 | }); 79 | }); 80 | }); 81 | }, 82 | ) 83 | ], 84 | ), 85 | body: SingleChildScrollView( 86 | child: Column( 87 | children: [ 88 | _buildBody(), 89 | TextField( 90 | decoration: const InputDecoration(hintText: '내용을 입력하세요'), 91 | controller: textEditingController, 92 | ) 93 | ], 94 | ), 95 | ), 96 | floatingActionButton: FloatingActionButton( 97 | onPressed: _getImage, 98 | child: const Icon(Icons.add_a_photo), 99 | ), 100 | ); 101 | } 102 | 103 | Widget _buildBody() { 104 | return _image == null ? const Text('No Image') : Image.file(_image!); 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 31 | 32 | 33 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 56 | 58 | 64 | 65 | 66 | 67 | 68 | 69 | 75 | 77 | 83 | 84 | 85 | 86 | 88 | 89 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /.flutter-plugins-dependencies: -------------------------------------------------------------------------------- 1 | {"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"cloud_firestore","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.3.0/","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.4.2/","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.19.2/","native_build":true,"dependencies":[]},{"name":"firebase_storage","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.3.2/","native_build":true,"dependencies":["firebase_core"]},{"name":"google_sign_in_ios","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/google_sign_in_ios-5.4.0/","native_build":true,"dependencies":[]},{"name":"image_picker_ios","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.5+6/","native_build":true,"dependencies":[]}],"android":[{"name":"cloud_firestore","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.3.0/","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.4.2/","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.19.2/","native_build":true,"dependencies":[]},{"name":"firebase_storage","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.3.2/","native_build":true,"dependencies":["firebase_core"]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.7/","native_build":true,"dependencies":[]},{"name":"google_sign_in_android","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/google_sign_in_android-6.0.1/","native_build":true,"dependencies":[]},{"name":"image_picker_android","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.5+1/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]}],"macos":[{"name":"cloud_firestore","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.3.0/","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_auth","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.4.2/","native_build":true,"dependencies":["firebase_core"]},{"name":"firebase_core","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.19.2/","native_build":true,"dependencies":[]},{"name":"firebase_storage","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.3.2/","native_build":true,"dependencies":["firebase_core"]}],"linux":[],"windows":[],"web":[{"name":"cloud_firestore_web","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.7.0/","dependencies":["firebase_core_web"]},{"name":"firebase_auth_web","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-4.0.0/","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.7.0/","dependencies":[]},{"name":"firebase_storage_web","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/firebase_storage_web-3.3.0/","dependencies":["firebase_core_web"]},{"name":"google_sign_in_web","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.10.2/","dependencies":[]},{"name":"image_picker_for_web","path":"/Users/junsuk/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.8/","dependencies":[]}]},"dependencyGraph":[{"name":"cloud_firestore","dependencies":["cloud_firestore_web","firebase_core"]},{"name":"cloud_firestore_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_auth","dependencies":["firebase_auth_web","firebase_core"]},{"name":"firebase_auth_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"firebase_core","dependencies":["firebase_core_web"]},{"name":"firebase_core_web","dependencies":[]},{"name":"firebase_storage","dependencies":["firebase_core","firebase_storage_web"]},{"name":"firebase_storage_web","dependencies":["firebase_core","firebase_core_web"]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"google_sign_in","dependencies":["google_sign_in_android","google_sign_in_ios","google_sign_in_web"]},{"name":"google_sign_in_android","dependencies":[]},{"name":"google_sign_in_ios","dependencies":[]},{"name":"google_sign_in_web","dependencies":[]},{"name":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]}],"date_created":"2022-07-15 10:26:05.622640","version":"3.0.4"} -------------------------------------------------------------------------------- /lib/account_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:cloud_firestore/cloud_firestore.dart'; 2 | import 'package:firebase_auth/firebase_auth.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:google_sign_in/google_sign_in.dart'; 5 | 6 | class AccountPage extends StatefulWidget { 7 | final User user; 8 | 9 | const AccountPage({Key? key, required this.user}) : super(key: key); 10 | 11 | @override 12 | _AccountPageState createState() => _AccountPageState(); 13 | } 14 | 15 | class _AccountPageState extends State { 16 | final GoogleSignIn _googleSignIn = GoogleSignIn(); 17 | 18 | int post = 0; 19 | 20 | @override 21 | void initState() { 22 | super.initState(); 23 | FirebaseFirestore.instance 24 | .collection('post') 25 | .where('email', isEqualTo: widget.user.email) 26 | .get() 27 | .then((querySnapshot) { 28 | setState(() { 29 | post = querySnapshot.docs.length; 30 | }); 31 | }); 32 | } 33 | 34 | @override 35 | Widget build(BuildContext context) { 36 | return Scaffold( 37 | appBar: _buildAppBar(), 38 | body: _buildBody(), 39 | ); 40 | } 41 | 42 | Widget _buildBody() { 43 | return Container( 44 | padding: const EdgeInsets.all(16.0), 45 | child: Column( 46 | children: [ 47 | Row( 48 | crossAxisAlignment: CrossAxisAlignment.start, 49 | mainAxisAlignment: MainAxisAlignment.spaceBetween, 50 | mainAxisSize: MainAxisSize.max, 51 | children: [ 52 | Column( 53 | children: [ 54 | Stack( 55 | children: [ 56 | SizedBox( 57 | width: 80.0, 58 | height: 80.0, 59 | child: GestureDetector( 60 | onTap: () => print('이미지 클릭'), 61 | child: CircleAvatar( 62 | backgroundImage: 63 | NetworkImage(widget.user.photoURL!), 64 | ), 65 | ), 66 | ), 67 | Container( 68 | width: 80.0, 69 | height: 80.0, 70 | alignment: Alignment.bottomRight, 71 | child: Stack( 72 | alignment: Alignment.center, 73 | children: const [ 74 | SizedBox( 75 | width: 28.0, 76 | height: 28.0, 77 | child: FloatingActionButton( 78 | onPressed: null, 79 | backgroundColor: Colors.white, 80 | ), 81 | ), 82 | SizedBox( 83 | width: 25.0, 84 | height: 25.0, 85 | child: FloatingActionButton( 86 | backgroundColor: Colors.blue, 87 | onPressed: null, 88 | child: Icon(Icons.add), 89 | ), 90 | ), 91 | ], 92 | ), 93 | ), 94 | ], 95 | ), 96 | const Padding( 97 | padding: EdgeInsets.all(8.0), 98 | ), 99 | Text( 100 | widget.user.displayName!, 101 | textAlign: TextAlign.center, 102 | style: 103 | const TextStyle(fontSize: 18.0, fontWeight: FontWeight.bold), 104 | ) 105 | ], 106 | ), 107 | Padding( 108 | padding: const EdgeInsets.only(top: 8.0), 109 | child: Text('$post\n게시물', 110 | textAlign: TextAlign.center, 111 | style: const TextStyle(fontSize: 18.0)), 112 | ), 113 | const Padding( 114 | padding: EdgeInsets.only(top: 8.0), 115 | child: Text('0\n팔로워', 116 | textAlign: TextAlign.center, 117 | style: TextStyle(fontSize: 18.0)), 118 | ), 119 | const Padding( 120 | padding: EdgeInsets.only(top: 8.0), 121 | child: Text('0\n팔로잉', 122 | textAlign: TextAlign.center, 123 | style: TextStyle(fontSize: 18.0)), 124 | ), 125 | ], 126 | ), 127 | ], 128 | ), 129 | ); 130 | } 131 | 132 | PreferredSizeWidget _buildAppBar() { 133 | return AppBar( 134 | actions: [ 135 | IconButton( 136 | icon: const Icon(Icons.exit_to_app), 137 | color: Colors.black, 138 | onPressed: () { 139 | FirebaseAuth.instance.signOut(); 140 | _googleSignIn.signOut(); 141 | }, 142 | ) 143 | ], 144 | backgroundColor: Colors.white, 145 | title: const Text( 146 | '𝔦𝔫𝔰𝔱𝔞𝔤𝔯𝔞𝔪 𝔠𝔩𝔬𝔫', 147 | style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold), 148 | ), 149 | ); 150 | } 151 | } 152 | -------------------------------------------------------------------------------- /lib/home_page.dart: -------------------------------------------------------------------------------- 1 | import 'package:firebase_auth/firebase_auth.dart'; 2 | import 'package:flutter/material.dart'; 3 | 4 | class HomePage extends StatefulWidget { 5 | final User user; 6 | 7 | const HomePage(this.user, {Key? key}) : super(key: key); 8 | 9 | @override 10 | _HomePageState createState() => _HomePageState(); 11 | } 12 | 13 | class _HomePageState extends State { 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: AppBar( 18 | backgroundColor: Colors.white, 19 | title: const Text( 20 | 'Instagram Clone', 21 | style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold), 22 | ), 23 | ), 24 | body: _buildBody()); 25 | } 26 | 27 | Widget _buildBody() { 28 | return Padding( 29 | padding: const EdgeInsets.all(8.0), 30 | child: SafeArea( 31 | child: SingleChildScrollView( 32 | child: Center( 33 | child: Column( 34 | mainAxisAlignment: MainAxisAlignment.center, 35 | children: [ 36 | const Text( 37 | 'Instagram에 오신 것을 환영합니다', 38 | style: TextStyle(fontSize: 24.0), 39 | ), 40 | const Padding(padding: EdgeInsets.all(8.0)), 41 | const Text('사진과 동영상을 보려면 팔로우하세요.'), 42 | const Padding(padding: EdgeInsets.all(16.0)), 43 | SizedBox( 44 | width: 260.0, 45 | child: Card( 46 | elevation: 4.0, 47 | child: Padding( 48 | padding: const EdgeInsets.all(8.0), 49 | child: Column( 50 | mainAxisSize: MainAxisSize.min, 51 | children: [ 52 | SizedBox( 53 | width: 80.0, 54 | height: 80.0, 55 | child: CircleAvatar( 56 | backgroundImage: 57 | NetworkImage(widget.user.photoURL!), 58 | ), 59 | ), 60 | const Padding(padding: EdgeInsets.all(8.0)), 61 | Text( 62 | widget.user.email!, 63 | style: const TextStyle(fontWeight: FontWeight.bold), 64 | ), 65 | Text(widget.user.displayName!), 66 | const Padding(padding: EdgeInsets.all(8.0)), 67 | Row( 68 | mainAxisAlignment: MainAxisAlignment.center, 69 | children: [ 70 | SizedBox( 71 | width: 70.0, 72 | height: 70.0, 73 | child: Image.network( 74 | 'https://cdn.pixabay.com/photo/2017/09/21/19/12/france-2773030_1280.jpg', 75 | fit: BoxFit.cover), 76 | ), 77 | const Padding( 78 | padding: EdgeInsets.all(1.0), 79 | ), 80 | SizedBox( 81 | width: 70.0, 82 | height: 70.0, 83 | child: Image.network( 84 | 'https://cdn.pixabay.com/photo/2017/06/21/05/42/fog-2426131_1280.jpg', 85 | fit: BoxFit.cover), 86 | ), 87 | const Padding( 88 | padding: EdgeInsets.all(1.0), 89 | ), 90 | SizedBox( 91 | width: 70.0, 92 | height: 70.0, 93 | child: Image.network( 94 | 'https://cdn.pixabay.com/photo/2019/02/04/20/07/flowers-3975556_1280.jpg', 95 | fit: BoxFit.cover), 96 | ), 97 | ], 98 | ), 99 | const Padding(padding: EdgeInsets.all(4.0)), 100 | const Text('Facebook 친구'), 101 | const Padding(padding: EdgeInsets.all(4.0)), 102 | ElevatedButton( 103 | style: ElevatedButton.styleFrom( 104 | primary: Colors.blueAccent, 105 | padding: const EdgeInsets.symmetric( 106 | horizontal: 50, vertical: 20), 107 | textStyle: const TextStyle(color: Colors.white), 108 | ), 109 | child: const Text('팔로우'), 110 | onPressed: () => print('팔로우 클릭')), 111 | const Padding(padding: EdgeInsets.all(4.0)) 112 | ], 113 | ), 114 | ), 115 | ), 116 | ) 117 | ], 118 | ), 119 | ), 120 | ), 121 | ), 122 | ); 123 | } 124 | } 125 | -------------------------------------------------------------------------------- /android/app/google-services.json: -------------------------------------------------------------------------------- 1 | { 2 | "project_info": { 3 | "project_number": "332098036926", 4 | "firebase_url": "https://insta-clon-ff220.firebaseio.com", 5 | "project_id": "insta-clon-ff220", 6 | "storage_bucket": "insta-clon-ff220.appspot.com" 7 | }, 8 | "client": [ 9 | { 10 | "client_info": { 11 | "mobilesdk_app_id": "1:332098036926:android:de3b091f21431f13726aef", 12 | "android_client_info": { 13 | "package_name": "com.example.flutter_guide" 14 | } 15 | }, 16 | "oauth_client": [ 17 | { 18 | "client_id": "332098036926-m7jdei3nmllt53tr6r192p0hckjlct9k.apps.googleusercontent.com", 19 | "client_type": 3 20 | } 21 | ], 22 | "api_key": [ 23 | { 24 | "current_key": "AIzaSyCuHjdsrgvsfbk5v5NPRFbw1pu9L1SU4pc" 25 | } 26 | ], 27 | "services": { 28 | "appinvite_service": { 29 | "other_platform_oauth_client": [ 30 | { 31 | "client_id": "332098036926-jife5tbp7br2s0kthop8vmpojqgjqsn3.apps.googleusercontent.com", 32 | "client_type": 3 33 | }, 34 | { 35 | "client_id": "332098036926-gcgunpue1h9tlgidfi70e4i8327nap7d.apps.googleusercontent.com", 36 | "client_type": 2, 37 | "ios_info": { 38 | "bundle_id": "com.suwonsmartapp.instagramClon" 39 | } 40 | } 41 | ] 42 | } 43 | } 44 | }, 45 | { 46 | "client_info": { 47 | "mobilesdk_app_id": "1:332098036926:android:5d11b79e03a0808c", 48 | "android_client_info": { 49 | "package_name": "com.suwonsmartapp.instagramclon" 50 | } 51 | }, 52 | "oauth_client": [ 53 | { 54 | "client_id": "332098036926-2r7lg4kkr8dij69m7c02rvojk1m5kjqg.apps.googleusercontent.com", 55 | "client_type": 1, 56 | "android_info": { 57 | "package_name": "com.suwonsmartapp.instagramclon", 58 | "certificate_hash": "4d0d5475a14b011f5e4017ba147d11f65bac4bcc" 59 | } 60 | }, 61 | { 62 | "client_id": "332098036926-e6g1v5pos8v0hjnn650e98nolqkdo4j7.apps.googleusercontent.com", 63 | "client_type": 1, 64 | "android_info": { 65 | "package_name": "com.suwonsmartapp.instagramclon", 66 | "certificate_hash": "ddc4246fb2bbdb56f487d1b5f781b2c3c6b5d74d" 67 | } 68 | }, 69 | { 70 | "client_id": "332098036926-p07558355lrr4nu69p6cn5c8ukir5ncf.apps.googleusercontent.com", 71 | "client_type": 1, 72 | "android_info": { 73 | "package_name": "com.suwonsmartapp.instagramclon", 74 | "certificate_hash": "4fd07193e7b3e7ba88a297c06b72462daccfecfd" 75 | } 76 | }, 77 | { 78 | "client_id": "332098036926-vuj99p5497rh5pritqaralobsdu5sd1n.apps.googleusercontent.com", 79 | "client_type": 1, 80 | "android_info": { 81 | "package_name": "com.suwonsmartapp.instagramclon", 82 | "certificate_hash": "d6806c4cd7a36d55b4734e6eb45658ae015cde69" 83 | } 84 | }, 85 | { 86 | "client_id": "332098036926-m7jdei3nmllt53tr6r192p0hckjlct9k.apps.googleusercontent.com", 87 | "client_type": 3 88 | } 89 | ], 90 | "api_key": [ 91 | { 92 | "current_key": "AIzaSyCuHjdsrgvsfbk5v5NPRFbw1pu9L1SU4pc" 93 | } 94 | ], 95 | "services": { 96 | "appinvite_service": { 97 | "other_platform_oauth_client": [ 98 | { 99 | "client_id": "332098036926-jife5tbp7br2s0kthop8vmpojqgjqsn3.apps.googleusercontent.com", 100 | "client_type": 3 101 | }, 102 | { 103 | "client_id": "332098036926-gcgunpue1h9tlgidfi70e4i8327nap7d.apps.googleusercontent.com", 104 | "client_type": 2, 105 | "ios_info": { 106 | "bundle_id": "com.suwonsmartapp.instagramClon" 107 | } 108 | } 109 | ] 110 | } 111 | } 112 | }, 113 | { 114 | "client_info": { 115 | "mobilesdk_app_id": "1:332098036926:android:2a441c5c3b9f1eec", 116 | "android_client_info": { 117 | "package_name": "dev.jsoh.instaclon" 118 | } 119 | }, 120 | "oauth_client": [ 121 | { 122 | "client_id": "332098036926-gk7kaoloajof09i44pd6g3roqqpu2a47.apps.googleusercontent.com", 123 | "client_type": 1, 124 | "android_info": { 125 | "package_name": "dev.jsoh.instaclon", 126 | "certificate_hash": "d6806c4cd7a36d55b4734e6eb45658ae015cde69" 127 | } 128 | }, 129 | { 130 | "client_id": "332098036926-m7jdei3nmllt53tr6r192p0hckjlct9k.apps.googleusercontent.com", 131 | "client_type": 3 132 | } 133 | ], 134 | "api_key": [ 135 | { 136 | "current_key": "AIzaSyCuHjdsrgvsfbk5v5NPRFbw1pu9L1SU4pc" 137 | } 138 | ], 139 | "services": { 140 | "appinvite_service": { 141 | "other_platform_oauth_client": [ 142 | { 143 | "client_id": "332098036926-jife5tbp7br2s0kthop8vmpojqgjqsn3.apps.googleusercontent.com", 144 | "client_type": 3 145 | }, 146 | { 147 | "client_id": "332098036926-gcgunpue1h9tlgidfi70e4i8327nap7d.apps.googleusercontent.com", 148 | "client_type": 2, 149 | "ios_info": { 150 | "bundle_id": "com.suwonsmartapp.instagramClon" 151 | } 152 | } 153 | ] 154 | } 155 | } 156 | } 157 | ], 158 | "configuration_version": "1" 159 | } -------------------------------------------------------------------------------- /ios/Runner.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 12 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 13 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 14 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 15 | 855E9228ABBC04D3820BB498 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B9D36AE9902440D755D1C39C /* Pods_Runner.framework */; }; 16 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 17 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 18 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 19 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 20 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 21 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; 22 | E3340A29220D31400077A8A3 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = E3340A28220D31400077A8A3 /* GoogleService-Info.plist */; }; 23 | /* End PBXBuildFile section */ 24 | 25 | /* Begin PBXCopyFilesBuildPhase section */ 26 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = { 27 | isa = PBXCopyFilesBuildPhase; 28 | buildActionMask = 2147483647; 29 | dstPath = ""; 30 | dstSubfolderSpec = 10; 31 | files = ( 32 | 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */, 33 | 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */, 34 | ); 35 | name = "Embed Frameworks"; 36 | runOnlyForDeploymentPostprocessing = 0; 37 | }; 38 | /* End PBXCopyFilesBuildPhase section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 42 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 43 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 44 | 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; 45 | 3F72DE8FEE5A8BD42EDCF577 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; 46 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 47 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 48 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 49 | 85EBD4C26FBD570C334967FB /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 50 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 51 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 52 | 9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = ""; }; 53 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 55 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 56 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 57 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 58 | B9D36AE9902440D755D1C39C /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 59 | CE67196D3536BBB90B413F1E /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 60 | E3340A28220D31400077A8A3 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 61 | /* End PBXFileReference section */ 62 | 63 | /* Begin PBXFrameworksBuildPhase section */ 64 | 97C146EB1CF9000F007C117D /* Frameworks */ = { 65 | isa = PBXFrameworksBuildPhase; 66 | buildActionMask = 2147483647; 67 | files = ( 68 | 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 69 | 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, 70 | 855E9228ABBC04D3820BB498 /* Pods_Runner.framework in Frameworks */, 71 | ); 72 | runOnlyForDeploymentPostprocessing = 0; 73 | }; 74 | /* End PBXFrameworksBuildPhase section */ 75 | 76 | /* Begin PBXGroup section */ 77 | 4210D5227C847224A98C597A /* Frameworks */ = { 78 | isa = PBXGroup; 79 | children = ( 80 | B9D36AE9902440D755D1C39C /* Pods_Runner.framework */, 81 | ); 82 | name = Frameworks; 83 | sourceTree = ""; 84 | }; 85 | 58C16D9D112D998A32FF48F0 /* Pods */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | CE67196D3536BBB90B413F1E /* Pods-Runner.debug.xcconfig */, 89 | 85EBD4C26FBD570C334967FB /* Pods-Runner.release.xcconfig */, 90 | 3F72DE8FEE5A8BD42EDCF577 /* Pods-Runner.profile.xcconfig */, 91 | ); 92 | name = Pods; 93 | sourceTree = ""; 94 | }; 95 | 9740EEB11CF90186004384FC /* Flutter */ = { 96 | isa = PBXGroup; 97 | children = ( 98 | 3B80C3931E831B6300D905FE /* App.framework */, 99 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 100 | 9740EEBA1CF902C7004384FC /* Flutter.framework */, 101 | 9740EEB21CF90195004384FC /* Debug.xcconfig */, 102 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 103 | 9740EEB31CF90195004384FC /* Generated.xcconfig */, 104 | ); 105 | name = Flutter; 106 | sourceTree = ""; 107 | }; 108 | 97C146E51CF9000F007C117D = { 109 | isa = PBXGroup; 110 | children = ( 111 | 9740EEB11CF90186004384FC /* Flutter */, 112 | 97C146F01CF9000F007C117D /* Runner */, 113 | 97C146EF1CF9000F007C117D /* Products */, 114 | 58C16D9D112D998A32FF48F0 /* Pods */, 115 | 4210D5227C847224A98C597A /* Frameworks */, 116 | ); 117 | sourceTree = ""; 118 | }; 119 | 97C146EF1CF9000F007C117D /* Products */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 97C146EE1CF9000F007C117D /* Runner.app */, 123 | ); 124 | name = Products; 125 | sourceTree = ""; 126 | }; 127 | 97C146F01CF9000F007C117D /* Runner */ = { 128 | isa = PBXGroup; 129 | children = ( 130 | E3340A28220D31400077A8A3 /* GoogleService-Info.plist */, 131 | 97C146FA1CF9000F007C117D /* Main.storyboard */, 132 | 97C146FD1CF9000F007C117D /* Assets.xcassets */, 133 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, 134 | 97C147021CF9000F007C117D /* Info.plist */, 135 | 97C146F11CF9000F007C117D /* Supporting Files */, 136 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, 137 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, 138 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, 139 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, 140 | ); 141 | path = Runner; 142 | sourceTree = ""; 143 | }; 144 | 97C146F11CF9000F007C117D /* Supporting Files */ = { 145 | isa = PBXGroup; 146 | children = ( 147 | ); 148 | name = "Supporting Files"; 149 | sourceTree = ""; 150 | }; 151 | /* End PBXGroup section */ 152 | 153 | /* Begin PBXNativeTarget section */ 154 | 97C146ED1CF9000F007C117D /* Runner */ = { 155 | isa = PBXNativeTarget; 156 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; 157 | buildPhases = ( 158 | 63F502CBEC451BA54D91D44F /* [CP] Check Pods Manifest.lock */, 159 | 9740EEB61CF901F6004384FC /* Run Script */, 160 | 97C146EA1CF9000F007C117D /* Sources */, 161 | 97C146EB1CF9000F007C117D /* Frameworks */, 162 | 97C146EC1CF9000F007C117D /* Resources */, 163 | 9705A1C41CF9048500538489 /* Embed Frameworks */, 164 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, 165 | 95139CF1BD2B739957F721DA /* [CP] Embed Pods Frameworks */, 166 | D92820ADE7AE44BFAFDD2B3A /* [CP] Copy Pods Resources */, 167 | ); 168 | buildRules = ( 169 | ); 170 | dependencies = ( 171 | ); 172 | name = Runner; 173 | productName = Runner; 174 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */; 175 | productType = "com.apple.product-type.application"; 176 | }; 177 | /* End PBXNativeTarget section */ 178 | 179 | /* Begin PBXProject section */ 180 | 97C146E61CF9000F007C117D /* Project object */ = { 181 | isa = PBXProject; 182 | attributes = { 183 | LastUpgradeCheck = 0910; 184 | ORGANIZATIONNAME = "The Chromium Authors"; 185 | TargetAttributes = { 186 | 97C146ED1CF9000F007C117D = { 187 | CreatedOnToolsVersion = 7.3.1; 188 | DevelopmentTeam = A52BBFU2AZ; 189 | LastSwiftMigration = 0910; 190 | }; 191 | }; 192 | }; 193 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; 194 | compatibilityVersion = "Xcode 3.2"; 195 | developmentRegion = English; 196 | hasScannedForEncodings = 0; 197 | knownRegions = ( 198 | en, 199 | Base, 200 | ); 201 | mainGroup = 97C146E51CF9000F007C117D; 202 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */; 203 | projectDirPath = ""; 204 | projectRoot = ""; 205 | targets = ( 206 | 97C146ED1CF9000F007C117D /* Runner */, 207 | ); 208 | }; 209 | /* End PBXProject section */ 210 | 211 | /* Begin PBXResourcesBuildPhase section */ 212 | 97C146EC1CF9000F007C117D /* Resources */ = { 213 | isa = PBXResourcesBuildPhase; 214 | buildActionMask = 2147483647; 215 | files = ( 216 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 217 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 218 | 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 219 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 220 | E3340A29220D31400077A8A3 /* GoogleService-Info.plist in Resources */, 221 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, 222 | ); 223 | runOnlyForDeploymentPostprocessing = 0; 224 | }; 225 | /* End PBXResourcesBuildPhase section */ 226 | 227 | /* Begin PBXShellScriptBuildPhase section */ 228 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { 229 | isa = PBXShellScriptBuildPhase; 230 | buildActionMask = 2147483647; 231 | files = ( 232 | ); 233 | inputPaths = ( 234 | ); 235 | name = "Thin Binary"; 236 | outputPaths = ( 237 | ); 238 | runOnlyForDeploymentPostprocessing = 0; 239 | shellPath = /bin/sh; 240 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" thin"; 241 | }; 242 | 63F502CBEC451BA54D91D44F /* [CP] Check Pods Manifest.lock */ = { 243 | isa = PBXShellScriptBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | ); 247 | inputFileListPaths = ( 248 | ); 249 | inputPaths = ( 250 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 251 | "${PODS_ROOT}/Manifest.lock", 252 | ); 253 | name = "[CP] Check Pods Manifest.lock"; 254 | outputFileListPaths = ( 255 | ); 256 | outputPaths = ( 257 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", 258 | ); 259 | runOnlyForDeploymentPostprocessing = 0; 260 | shellPath = /bin/sh; 261 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 262 | showEnvVarsInLog = 0; 263 | }; 264 | 95139CF1BD2B739957F721DA /* [CP] Embed Pods Frameworks */ = { 265 | isa = PBXShellScriptBuildPhase; 266 | buildActionMask = 2147483647; 267 | files = ( 268 | ); 269 | inputFileListPaths = ( 270 | ); 271 | inputPaths = ( 272 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", 273 | "${BUILT_PRODUCTS_DIR}/BoringSSL/openssl.framework", 274 | "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework", 275 | "${BUILT_PRODUCTS_DIR}/GTMOAuth2/GTMOAuth2.framework", 276 | "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", 277 | "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", 278 | "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", 279 | "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", 280 | "${BUILT_PRODUCTS_DIR}/gRPC/GRPCClient.framework", 281 | "${BUILT_PRODUCTS_DIR}/gRPC-C++/grpcpp.framework", 282 | "${BUILT_PRODUCTS_DIR}/gRPC-Core/grpc.framework", 283 | "${BUILT_PRODUCTS_DIR}/gRPC-ProtoRPC/ProtoRPC.framework", 284 | "${BUILT_PRODUCTS_DIR}/gRPC-RxLibrary/RxLibrary.framework", 285 | "${BUILT_PRODUCTS_DIR}/image_picker/image_picker.framework", 286 | "${BUILT_PRODUCTS_DIR}/leveldb-library/leveldb.framework", 287 | "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", 288 | ); 289 | name = "[CP] Embed Pods Frameworks"; 290 | outputFileListPaths = ( 291 | ); 292 | outputPaths = ( 293 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/openssl.framework", 294 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework", 295 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMOAuth2.framework", 296 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", 297 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", 298 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", 299 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", 300 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GRPCClient.framework", 301 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpcpp.framework", 302 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpc.framework", 303 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ProtoRPC.framework", 304 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxLibrary.framework", 305 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/image_picker.framework", 306 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/leveldb.framework", 307 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", 308 | ); 309 | runOnlyForDeploymentPostprocessing = 0; 310 | shellPath = /bin/sh; 311 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 312 | showEnvVarsInLog = 0; 313 | }; 314 | 9740EEB61CF901F6004384FC /* Run Script */ = { 315 | isa = PBXShellScriptBuildPhase; 316 | buildActionMask = 2147483647; 317 | files = ( 318 | ); 319 | inputPaths = ( 320 | ); 321 | name = "Run Script"; 322 | outputPaths = ( 323 | ); 324 | runOnlyForDeploymentPostprocessing = 0; 325 | shellPath = /bin/sh; 326 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; 327 | }; 328 | D92820ADE7AE44BFAFDD2B3A /* [CP] Copy Pods Resources */ = { 329 | isa = PBXShellScriptBuildPhase; 330 | buildActionMask = 2147483647; 331 | files = ( 332 | ); 333 | inputFileListPaths = ( 334 | ); 335 | inputPaths = ( 336 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh", 337 | "${PODS_ROOT}/GoogleSignIn/Resources/GoogleSignIn.bundle", 338 | ); 339 | name = "[CP] Copy Pods Resources"; 340 | outputFileListPaths = ( 341 | ); 342 | outputPaths = ( 343 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/GoogleSignIn.bundle", 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | shellPath = /bin/sh; 347 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; 348 | showEnvVarsInLog = 0; 349 | }; 350 | /* End PBXShellScriptBuildPhase section */ 351 | 352 | /* Begin PBXSourcesBuildPhase section */ 353 | 97C146EA1CF9000F007C117D /* Sources */ = { 354 | isa = PBXSourcesBuildPhase; 355 | buildActionMask = 2147483647; 356 | files = ( 357 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, 358 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, 359 | ); 360 | runOnlyForDeploymentPostprocessing = 0; 361 | }; 362 | /* End PBXSourcesBuildPhase section */ 363 | 364 | /* Begin PBXVariantGroup section */ 365 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = { 366 | isa = PBXVariantGroup; 367 | children = ( 368 | 97C146FB1CF9000F007C117D /* Base */, 369 | ); 370 | name = Main.storyboard; 371 | sourceTree = ""; 372 | }; 373 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { 374 | isa = PBXVariantGroup; 375 | children = ( 376 | 97C147001CF9000F007C117D /* Base */, 377 | ); 378 | name = LaunchScreen.storyboard; 379 | sourceTree = ""; 380 | }; 381 | /* End PBXVariantGroup section */ 382 | 383 | /* Begin XCBuildConfiguration section */ 384 | 249021D3217E4FDB00AE95B9 /* Profile */ = { 385 | isa = XCBuildConfiguration; 386 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 387 | buildSettings = { 388 | ALWAYS_SEARCH_USER_PATHS = NO; 389 | CLANG_ANALYZER_NONNULL = YES; 390 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 391 | CLANG_CXX_LIBRARY = "libc++"; 392 | CLANG_ENABLE_MODULES = YES; 393 | CLANG_ENABLE_OBJC_ARC = YES; 394 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 395 | CLANG_WARN_BOOL_CONVERSION = YES; 396 | CLANG_WARN_COMMA = YES; 397 | CLANG_WARN_CONSTANT_CONVERSION = YES; 398 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 399 | CLANG_WARN_EMPTY_BODY = YES; 400 | CLANG_WARN_ENUM_CONVERSION = YES; 401 | CLANG_WARN_INFINITE_RECURSION = YES; 402 | CLANG_WARN_INT_CONVERSION = YES; 403 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 404 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 405 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 406 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 407 | CLANG_WARN_STRICT_PROTOTYPES = YES; 408 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 409 | CLANG_WARN_UNREACHABLE_CODE = YES; 410 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 411 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 412 | COPY_PHASE_STRIP = NO; 413 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 414 | ENABLE_NS_ASSERTIONS = NO; 415 | ENABLE_STRICT_OBJC_MSGSEND = YES; 416 | GCC_C_LANGUAGE_STANDARD = gnu99; 417 | GCC_NO_COMMON_BLOCKS = YES; 418 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 419 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 420 | GCC_WARN_UNDECLARED_SELECTOR = YES; 421 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 422 | GCC_WARN_UNUSED_FUNCTION = YES; 423 | GCC_WARN_UNUSED_VARIABLE = YES; 424 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 425 | MTL_ENABLE_DEBUG_INFO = NO; 426 | SDKROOT = iphoneos; 427 | TARGETED_DEVICE_FAMILY = "1,2"; 428 | VALIDATE_PRODUCT = YES; 429 | }; 430 | name = Profile; 431 | }; 432 | 249021D4217E4FDB00AE95B9 /* Profile */ = { 433 | isa = XCBuildConfiguration; 434 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 435 | buildSettings = { 436 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 437 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 438 | DEVELOPMENT_TEAM = A52BBFU2AZ; 439 | ENABLE_BITCODE = NO; 440 | FRAMEWORK_SEARCH_PATHS = ( 441 | "$(inherited)", 442 | "$(PROJECT_DIR)/Flutter", 443 | ); 444 | INFOPLIST_FILE = Runner/Info.plist; 445 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 446 | LIBRARY_SEARCH_PATHS = ( 447 | "$(inherited)", 448 | "$(PROJECT_DIR)/Flutter", 449 | ); 450 | PRODUCT_BUNDLE_IDENTIFIER = com.suwonsmartapp.instagramClon; 451 | PRODUCT_NAME = "$(TARGET_NAME)"; 452 | SWIFT_VERSION = 4.0; 453 | VERSIONING_SYSTEM = "apple-generic"; 454 | }; 455 | name = Profile; 456 | }; 457 | 97C147031CF9000F007C117D /* Debug */ = { 458 | isa = XCBuildConfiguration; 459 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 460 | buildSettings = { 461 | ALWAYS_SEARCH_USER_PATHS = NO; 462 | CLANG_ANALYZER_NONNULL = YES; 463 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 464 | CLANG_CXX_LIBRARY = "libc++"; 465 | CLANG_ENABLE_MODULES = YES; 466 | CLANG_ENABLE_OBJC_ARC = YES; 467 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 468 | CLANG_WARN_BOOL_CONVERSION = YES; 469 | CLANG_WARN_COMMA = YES; 470 | CLANG_WARN_CONSTANT_CONVERSION = YES; 471 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 472 | CLANG_WARN_EMPTY_BODY = YES; 473 | CLANG_WARN_ENUM_CONVERSION = YES; 474 | CLANG_WARN_INFINITE_RECURSION = YES; 475 | CLANG_WARN_INT_CONVERSION = YES; 476 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 477 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 478 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 479 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 480 | CLANG_WARN_STRICT_PROTOTYPES = YES; 481 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 482 | CLANG_WARN_UNREACHABLE_CODE = YES; 483 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 484 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 485 | COPY_PHASE_STRIP = NO; 486 | DEBUG_INFORMATION_FORMAT = dwarf; 487 | ENABLE_STRICT_OBJC_MSGSEND = YES; 488 | ENABLE_TESTABILITY = YES; 489 | GCC_C_LANGUAGE_STANDARD = gnu99; 490 | GCC_DYNAMIC_NO_PIC = NO; 491 | GCC_NO_COMMON_BLOCKS = YES; 492 | GCC_OPTIMIZATION_LEVEL = 0; 493 | GCC_PREPROCESSOR_DEFINITIONS = ( 494 | "DEBUG=1", 495 | "$(inherited)", 496 | ); 497 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 498 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 499 | GCC_WARN_UNDECLARED_SELECTOR = YES; 500 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 501 | GCC_WARN_UNUSED_FUNCTION = YES; 502 | GCC_WARN_UNUSED_VARIABLE = YES; 503 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 504 | MTL_ENABLE_DEBUG_INFO = YES; 505 | ONLY_ACTIVE_ARCH = YES; 506 | SDKROOT = iphoneos; 507 | TARGETED_DEVICE_FAMILY = "1,2"; 508 | }; 509 | name = Debug; 510 | }; 511 | 97C147041CF9000F007C117D /* Release */ = { 512 | isa = XCBuildConfiguration; 513 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 514 | buildSettings = { 515 | ALWAYS_SEARCH_USER_PATHS = NO; 516 | CLANG_ANALYZER_NONNULL = YES; 517 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 518 | CLANG_CXX_LIBRARY = "libc++"; 519 | CLANG_ENABLE_MODULES = YES; 520 | CLANG_ENABLE_OBJC_ARC = YES; 521 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 522 | CLANG_WARN_BOOL_CONVERSION = YES; 523 | CLANG_WARN_COMMA = YES; 524 | CLANG_WARN_CONSTANT_CONVERSION = YES; 525 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 526 | CLANG_WARN_EMPTY_BODY = YES; 527 | CLANG_WARN_ENUM_CONVERSION = YES; 528 | CLANG_WARN_INFINITE_RECURSION = YES; 529 | CLANG_WARN_INT_CONVERSION = YES; 530 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 531 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 532 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 533 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 534 | CLANG_WARN_STRICT_PROTOTYPES = YES; 535 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 536 | CLANG_WARN_UNREACHABLE_CODE = YES; 537 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 538 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 539 | COPY_PHASE_STRIP = NO; 540 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 541 | ENABLE_NS_ASSERTIONS = NO; 542 | ENABLE_STRICT_OBJC_MSGSEND = YES; 543 | GCC_C_LANGUAGE_STANDARD = gnu99; 544 | GCC_NO_COMMON_BLOCKS = YES; 545 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 546 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 547 | GCC_WARN_UNDECLARED_SELECTOR = YES; 548 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 549 | GCC_WARN_UNUSED_FUNCTION = YES; 550 | GCC_WARN_UNUSED_VARIABLE = YES; 551 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 552 | MTL_ENABLE_DEBUG_INFO = NO; 553 | SDKROOT = iphoneos; 554 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 555 | TARGETED_DEVICE_FAMILY = "1,2"; 556 | VALIDATE_PRODUCT = YES; 557 | }; 558 | name = Release; 559 | }; 560 | 97C147061CF9000F007C117D /* Debug */ = { 561 | isa = XCBuildConfiguration; 562 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; 563 | buildSettings = { 564 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 565 | CLANG_ENABLE_MODULES = YES; 566 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 567 | DEVELOPMENT_TEAM = A52BBFU2AZ; 568 | ENABLE_BITCODE = NO; 569 | FRAMEWORK_SEARCH_PATHS = ( 570 | "$(inherited)", 571 | "$(PROJECT_DIR)/Flutter", 572 | ); 573 | INFOPLIST_FILE = Runner/Info.plist; 574 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 575 | LIBRARY_SEARCH_PATHS = ( 576 | "$(inherited)", 577 | "$(PROJECT_DIR)/Flutter", 578 | ); 579 | PRODUCT_BUNDLE_IDENTIFIER = com.suwonsmartapp.instagramClon; 580 | PRODUCT_NAME = "$(TARGET_NAME)"; 581 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 582 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 583 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 584 | SWIFT_VERSION = 4.0; 585 | VERSIONING_SYSTEM = "apple-generic"; 586 | }; 587 | name = Debug; 588 | }; 589 | 97C147071CF9000F007C117D /* Release */ = { 590 | isa = XCBuildConfiguration; 591 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; 592 | buildSettings = { 593 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 594 | CLANG_ENABLE_MODULES = YES; 595 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; 596 | DEVELOPMENT_TEAM = A52BBFU2AZ; 597 | ENABLE_BITCODE = NO; 598 | FRAMEWORK_SEARCH_PATHS = ( 599 | "$(inherited)", 600 | "$(PROJECT_DIR)/Flutter", 601 | ); 602 | INFOPLIST_FILE = Runner/Info.plist; 603 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 604 | LIBRARY_SEARCH_PATHS = ( 605 | "$(inherited)", 606 | "$(PROJECT_DIR)/Flutter", 607 | ); 608 | PRODUCT_BUNDLE_IDENTIFIER = com.suwonsmartapp.instagramClon; 609 | PRODUCT_NAME = "$(TARGET_NAME)"; 610 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; 611 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 612 | SWIFT_VERSION = 4.0; 613 | VERSIONING_SYSTEM = "apple-generic"; 614 | }; 615 | name = Release; 616 | }; 617 | /* End XCBuildConfiguration section */ 618 | 619 | /* Begin XCConfigurationList section */ 620 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { 621 | isa = XCConfigurationList; 622 | buildConfigurations = ( 623 | 97C147031CF9000F007C117D /* Debug */, 624 | 97C147041CF9000F007C117D /* Release */, 625 | 249021D3217E4FDB00AE95B9 /* Profile */, 626 | ); 627 | defaultConfigurationIsVisible = 0; 628 | defaultConfigurationName = Release; 629 | }; 630 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { 631 | isa = XCConfigurationList; 632 | buildConfigurations = ( 633 | 97C147061CF9000F007C117D /* Debug */, 634 | 97C147071CF9000F007C117D /* Release */, 635 | 249021D4217E4FDB00AE95B9 /* Profile */, 636 | ); 637 | defaultConfigurationIsVisible = 0; 638 | defaultConfigurationName = Release; 639 | }; 640 | /* End XCConfigurationList section */ 641 | }; 642 | rootObject = 97C146E61CF9000F007C117D /* Project object */; 643 | } 644 | --------------------------------------------------------------------------------