├── .gitignore
├── .metadata
├── README.md
├── analysis_options.yaml
├── android
├── .gitignore
├── app
│ ├── build.gradle
│ ├── google-services.json
│ └── src
│ │ ├── debug
│ │ └── AndroidManifest.xml
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── kotlin
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── blocauth
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ └── launch_background.xml
│ │ │ ├── drawable
│ │ │ └── launch_background.xml
│ │ │ ├── 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-night
│ │ │ └── styles.xml
│ │ │ └── values
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── profile
│ │ └── AndroidManifest.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
└── settings.gradle
├── assets
└── logo.png
├── ios
├── .gitignore
├── Flutter
│ ├── AppFrameworkInfo.plist
│ ├── Debug.xcconfig
│ └── Release.xcconfig
├── Podfile
├── Podfile.lock
├── Runner.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── IDEWorkspaceChecks.plist
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Runner.xcscheme
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── IDEWorkspaceChecks.plist
│ │ └── WorkspaceSettings.xcsettings
└── Runner
│ ├── AppDelegate.swift
│ ├── Assets.xcassets
│ ├── AppIcon.appiconset
│ │ ├── Contents.json
│ │ ├── Icon-App-1024x1024@1x.png
│ │ ├── 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-83.5x83.5@2x.png
│ └── LaunchImage.imageset
│ │ ├── Contents.json
│ │ ├── LaunchImage.png
│ │ ├── LaunchImage@2x.png
│ │ ├── LaunchImage@3x.png
│ │ └── README.md
│ ├── Base.lproj
│ ├── LaunchScreen.storyboard
│ └── Main.storyboard
│ ├── GoogleService-Info.plist
│ ├── Info.plist
│ └── Runner-Bridging-Header.h
├── lib
├── main.dart
├── provider
│ ├── internet_provider.dart
│ └── sign_in_provider.dart
├── screens
│ ├── home_screen.dart
│ ├── login_screen.dart
│ ├── phoneauth_screen.dart
│ └── splash_screen.dart
└── utils
│ ├── config.dart
│ ├── next_screen.dart
│ └── snack_bar.dart
├── pubspec.lock
├── pubspec.yaml
├── screenshots
├── facebook.png
├── google.png
├── phone.png
├── social_auth_firebase.png
└── twitter.png
├── test
└── widget_test.dart
├── todo.text
└── web
├── favicon.png
├── icons
├── Icon-192.png
├── Icon-512.png
├── Icon-maskable-192.png
└── Icon-maskable-512.png
├── index.html
└── manifest.json
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 | migrate_working_dir/
12 |
13 | # IntelliJ related
14 | *.iml
15 | *.ipr
16 | *.iws
17 | .idea/
18 |
19 | # The .vscode folder contains launch configuration and tasks you configure in
20 | # VS Code which you may wish to be included in version control, so this line
21 | # is commented out by default.
22 | #.vscode/
23 |
24 | # Flutter/Dart/Pub related
25 | **/doc/api/
26 | **/ios/Flutter/.last_build_id
27 | .dart_tool/
28 | .flutter-plugins
29 | .flutter-plugins-dependencies
30 | .packages
31 | .pub-cache/
32 | .pub/
33 | /build/
34 |
35 | # Web related
36 | lib/generated_plugin_registrant.dart
37 |
38 | # Symbolication related
39 | app.*.symbols
40 |
41 | # Obfuscation related
42 | app.*.map.json
43 |
44 | # Android Studio will place build artifacts here
45 | /android/app/debug
46 | /android/app/profile
47 | /android/app/release
48 |
--------------------------------------------------------------------------------
/.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.
5 |
6 | version:
7 | revision: 85684f9300908116a78138ea4c6036c35c9a1236
8 | channel: stable
9 |
10 | project_type: app
11 |
12 | # Tracks metadata for the flutter migrate command
13 | migration:
14 | platforms:
15 | - platform: root
16 | create_revision: 85684f9300908116a78138ea4c6036c35c9a1236
17 | base_revision: 85684f9300908116a78138ea4c6036c35c9a1236
18 | - platform: android
19 | create_revision: 85684f9300908116a78138ea4c6036c35c9a1236
20 | base_revision: 85684f9300908116a78138ea4c6036c35c9a1236
21 | - platform: ios
22 | create_revision: 85684f9300908116a78138ea4c6036c35c9a1236
23 | base_revision: 85684f9300908116a78138ea4c6036c35c9a1236
24 | - platform: linux
25 | create_revision: 85684f9300908116a78138ea4c6036c35c9a1236
26 | base_revision: 85684f9300908116a78138ea4c6036c35c9a1236
27 | - platform: macos
28 | create_revision: 85684f9300908116a78138ea4c6036c35c9a1236
29 | base_revision: 85684f9300908116a78138ea4c6036c35c9a1236
30 | - platform: web
31 | create_revision: 85684f9300908116a78138ea4c6036c35c9a1236
32 | base_revision: 85684f9300908116a78138ea4c6036c35c9a1236
33 | - platform: windows
34 | create_revision: 85684f9300908116a78138ea4c6036c35c9a1236
35 | base_revision: 85684f9300908116a78138ea4c6036c35c9a1236
36 |
37 | # User provided section
38 |
39 | # List of Local paths (relative to this file) that should be
40 | # ignored by the migrate tool.
41 | #
42 | # Files that are not part of the templates will be ignored by default.
43 | unmanaged_files:
44 | - 'lib/main.dart'
45 | - 'ios/Runner.xcodeproj/project.pbxproj'
46 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # socialauth_flutter_firebase
2 | Social Auth In Flutter and Firebase (Google, Facebook, Twitter and Phone Auth)
3 |
4 | # Overview
5 | This social auth tutorial in flutter and firebase is the ultimate guide for you to integrate authentication with social providers like Google, Facebook, Twitter and Phone Auth
6 |
7 | ## [Watch it on YouTube](https://youtu.be/VgMzp3-SzuY)
8 |
9 |
10 | 
11 |
12 |
13 |
14 | Happy Learning 👍
15 |
16 |
17 |
18 | Subscribe Now! BackSlash Flutter YouTube Channel
19 | Show some :heart: and star the repo to support the project
20 |
21 | [](https://github.com/backslashflutter/userlocation-flutter) [](https://github.com/backslashflutter/userlocation-flutter/fork) [](https://github.com/backslashflutter/userlocation-flutter) [](https://github.com/backslashflutter/userlocation-flutter)
22 | [](https://www.reddit.com/user/backslashflutter)
23 |
24 |
25 |
Stay Healthy!✨Stay Safe!🖖
26 |
27 |
28 | ## Note
29 | I do not own any of the images used in this project.
30 |
31 | For help getting started with Flutter, view our
32 | [online documentation](https://flutter.dev/docs), which offers tutorials,
33 | samples, guidance on mobile development, and a full API reference.
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 | **/*.keystore
13 | **/*.jks
14 |
--------------------------------------------------------------------------------
/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: 'com.google.gms.google-services'
26 | apply plugin: 'kotlin-android'
27 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
28 |
29 | android {
30 | compileSdkVersion flutter.compileSdkVersion
31 | ndkVersion flutter.ndkVersion
32 |
33 | compileOptions {
34 | sourceCompatibility JavaVersion.VERSION_1_8
35 | targetCompatibility JavaVersion.VERSION_1_8
36 | }
37 |
38 | kotlinOptions {
39 | jvmTarget = '1.8'
40 | }
41 |
42 | sourceSets {
43 | main.java.srcDirs += 'src/main/kotlin'
44 | }
45 |
46 | defaultConfig {
47 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
48 | applicationId "com.example.blocauth"
49 | // You can update the following values to match your application needs.
50 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
51 | minSdkVersion 21
52 | targetSdkVersion flutter.targetSdkVersion
53 | versionCode flutterVersionCode.toInteger()
54 | versionName flutterVersionName
55 | multiDexEnabled true
56 | }
57 |
58 | buildTypes {
59 | release {
60 | // TODO: Add your own signing config for the release build.
61 | // Signing with the debug keys for now, so `flutter run --release` works.
62 | signingConfig signingConfigs.debug
63 | }
64 | }
65 | }
66 |
67 | flutter {
68 | source '../..'
69 | }
70 |
71 | dependencies {
72 | implementation 'com.facebook.android:facebook-android-sdk:latest.release'
73 | implementation platform('com.google.firebase:firebase-bom:30.2.0')
74 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
75 | }
76 |
--------------------------------------------------------------------------------
/android/app/google-services.json:
--------------------------------------------------------------------------------
1 | {
2 | "project_info": {
3 | "project_number": "55074450439",
4 | "project_id": "blocauth-ac521",
5 | "storage_bucket": "blocauth-ac521.appspot.com"
6 | },
7 | "client": [
8 | {
9 | "client_info": {
10 | "mobilesdk_app_id": "1:55074450439:android:c90c920242b11d97d64ea2",
11 | "android_client_info": {
12 | "package_name": "com.example.blocauth"
13 | }
14 | },
15 | "oauth_client": [
16 | {
17 | "client_id": "55074450439-jh6skqfu68ud220sfhuuunt4hoc5jgp7.apps.googleusercontent.com",
18 | "client_type": 1,
19 | "android_info": {
20 | "package_name": "com.example.blocauth",
21 | "certificate_hash": "94c7af7e69a3acd5a93ed605b76262c7ccc1b865"
22 | }
23 | },
24 | {
25 | "client_id": "55074450439-hedt4h8omri2tjbvup0sdr83t0p9c91f.apps.googleusercontent.com",
26 | "client_type": 3
27 | }
28 | ],
29 | "api_key": [
30 | {
31 | "current_key": "AIzaSyDawDA81Bzlj0lrvUdeOwDvhzbIYQ-CPC8"
32 | }
33 | ],
34 | "services": {
35 | "appinvite_service": {
36 | "other_platform_oauth_client": [
37 | {
38 | "client_id": "55074450439-hedt4h8omri2tjbvup0sdr83t0p9c91f.apps.googleusercontent.com",
39 | "client_type": 3
40 | },
41 | {
42 | "client_id": "55074450439-kmbe6ehvo9kh9lsbge6fsdsu6dv2tsjl.apps.googleusercontent.com",
43 | "client_type": 2,
44 | "ios_info": {
45 | "bundle_id": "com.example.blocauth"
46 | }
47 | }
48 | ]
49 | }
50 | }
51 | }
52 | ],
53 | "configuration_version": "1"
54 | }
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
6 |
7 |
11 |
19 |
23 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
45 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
60 |
61 |
62 |
63 |
64 |
65 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/example/blocauth/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.blocauth
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | FlutterAuth
4 | 628934748241011
5 | fb1234
6 | e5cdd171c963cb8d185c41e46d8778e6
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.6.10'
3 | repositories {
4 | google()
5 | mavenCentral()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.google.gms:google-services:4.3.13'
10 | classpath 'com.android.tools.build:gradle:7.1.2'
11 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | google()
18 | mavenCentral()
19 | }
20 | }
21 |
22 | rootProject.buildDir = '../build'
23 | subprojects {
24 | project.buildDir = "${rootProject.buildDir}/${project.name}"
25 | }
26 | subprojects {
27 | project.evaluationDependsOn(':app')
28 | }
29 |
30 | task clean(type: Delete) {
31 | delete rootProject.buildDir
32 | }
33 |
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/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-7.4-all.zip
7 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/assets/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/assets/logo.png
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | **/dgph
2 | *.mode1v3
3 | *.mode2v3
4 | *.moved-aside
5 | *.pbxuser
6 | *.perspectivev3
7 | **/*sync/
8 | .sconsign.dblite
9 | .tags*
10 | **/.vagrant/
11 | **/DerivedData/
12 | Icon?
13 | **/Pods/
14 | **/.symlinks/
15 | profile
16 | xcuserdata
17 | **/.generated/
18 | Flutter/App.framework
19 | Flutter/Flutter.framework
20 | Flutter/Flutter.podspec
21 | Flutter/Generated.xcconfig
22 | Flutter/ephemeral/
23 | Flutter/app.flx
24 | Flutter/app.zip
25 | Flutter/flutter_assets/
26 | Flutter/flutter_export_environment.sh
27 | ServiceDefinitions.json
28 | Runner/GeneratedPluginRegistrant.*
29 |
30 | # Exceptions to above rules.
31 | !default.mode1v3
32 | !default.mode2v3
33 | !default.pbxuser
34 | !default.perspectivev3
35 |
--------------------------------------------------------------------------------
/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 | 9.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | platform :ios, '12.0'
3 |
4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6 |
7 | project 'Runner', {
8 | 'Debug' => :debug,
9 | 'Profile' => :release,
10 | 'Release' => :release,
11 | }
12 |
13 | def flutter_root
14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15 | unless File.exist?(generated_xcode_build_settings_path)
16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17 | end
18 |
19 | File.foreach(generated_xcode_build_settings_path) do |line|
20 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
21 | return matches[1].strip if matches
22 | end
23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24 | end
25 |
26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27 |
28 | flutter_ios_podfile_setup
29 |
30 | target 'Runner' do
31 | use_frameworks!
32 | use_modular_headers!
33 |
34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35 | end
36 |
37 | post_install do |installer|
38 | installer.pods_project.targets.each do |target|
39 | flutter_additional_ios_build_settings(target)
40 | end
41 | end
42 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - abseil/algorithm (1.20211102.0):
3 | - abseil/algorithm/algorithm (= 1.20211102.0)
4 | - abseil/algorithm/container (= 1.20211102.0)
5 | - abseil/algorithm/algorithm (1.20211102.0):
6 | - abseil/base/config
7 | - abseil/algorithm/container (1.20211102.0):
8 | - abseil/algorithm/algorithm
9 | - abseil/base/core_headers
10 | - abseil/meta/type_traits
11 | - abseil/base (1.20211102.0):
12 | - abseil/base/atomic_hook (= 1.20211102.0)
13 | - abseil/base/base (= 1.20211102.0)
14 | - abseil/base/base_internal (= 1.20211102.0)
15 | - abseil/base/config (= 1.20211102.0)
16 | - abseil/base/core_headers (= 1.20211102.0)
17 | - abseil/base/dynamic_annotations (= 1.20211102.0)
18 | - abseil/base/endian (= 1.20211102.0)
19 | - abseil/base/errno_saver (= 1.20211102.0)
20 | - abseil/base/fast_type_id (= 1.20211102.0)
21 | - abseil/base/log_severity (= 1.20211102.0)
22 | - abseil/base/malloc_internal (= 1.20211102.0)
23 | - abseil/base/pretty_function (= 1.20211102.0)
24 | - abseil/base/raw_logging_internal (= 1.20211102.0)
25 | - abseil/base/spinlock_wait (= 1.20211102.0)
26 | - abseil/base/strerror (= 1.20211102.0)
27 | - abseil/base/throw_delegate (= 1.20211102.0)
28 | - abseil/base/atomic_hook (1.20211102.0):
29 | - abseil/base/config
30 | - abseil/base/core_headers
31 | - abseil/base/base (1.20211102.0):
32 | - abseil/base/atomic_hook
33 | - abseil/base/base_internal
34 | - abseil/base/config
35 | - abseil/base/core_headers
36 | - abseil/base/dynamic_annotations
37 | - abseil/base/log_severity
38 | - abseil/base/raw_logging_internal
39 | - abseil/base/spinlock_wait
40 | - abseil/meta/type_traits
41 | - abseil/base/base_internal (1.20211102.0):
42 | - abseil/base/config
43 | - abseil/meta/type_traits
44 | - abseil/base/config (1.20211102.0)
45 | - abseil/base/core_headers (1.20211102.0):
46 | - abseil/base/config
47 | - abseil/base/dynamic_annotations (1.20211102.0):
48 | - abseil/base/config
49 | - abseil/base/core_headers
50 | - abseil/base/endian (1.20211102.0):
51 | - abseil/base/base
52 | - abseil/base/config
53 | - abseil/base/core_headers
54 | - abseil/base/errno_saver (1.20211102.0):
55 | - abseil/base/config
56 | - abseil/base/fast_type_id (1.20211102.0):
57 | - abseil/base/config
58 | - abseil/base/log_severity (1.20211102.0):
59 | - abseil/base/config
60 | - abseil/base/core_headers
61 | - abseil/base/malloc_internal (1.20211102.0):
62 | - abseil/base/base
63 | - abseil/base/base_internal
64 | - abseil/base/config
65 | - abseil/base/core_headers
66 | - abseil/base/dynamic_annotations
67 | - abseil/base/raw_logging_internal
68 | - abseil/base/pretty_function (1.20211102.0)
69 | - abseil/base/raw_logging_internal (1.20211102.0):
70 | - abseil/base/atomic_hook
71 | - abseil/base/config
72 | - abseil/base/core_headers
73 | - abseil/base/log_severity
74 | - abseil/base/spinlock_wait (1.20211102.0):
75 | - abseil/base/base_internal
76 | - abseil/base/core_headers
77 | - abseil/base/errno_saver
78 | - abseil/base/strerror (1.20211102.0):
79 | - abseil/base/config
80 | - abseil/base/core_headers
81 | - abseil/base/errno_saver
82 | - abseil/base/throw_delegate (1.20211102.0):
83 | - abseil/base/config
84 | - abseil/base/raw_logging_internal
85 | - abseil/container/common (1.20211102.0):
86 | - abseil/meta/type_traits
87 | - abseil/types/optional
88 | - abseil/container/compressed_tuple (1.20211102.0):
89 | - abseil/utility/utility
90 | - abseil/container/container_memory (1.20211102.0):
91 | - abseil/base/config
92 | - abseil/memory/memory
93 | - abseil/meta/type_traits
94 | - abseil/utility/utility
95 | - abseil/container/fixed_array (1.20211102.0):
96 | - abseil/algorithm/algorithm
97 | - abseil/base/config
98 | - abseil/base/core_headers
99 | - abseil/base/dynamic_annotations
100 | - abseil/base/throw_delegate
101 | - abseil/container/compressed_tuple
102 | - abseil/memory/memory
103 | - abseil/container/flat_hash_map (1.20211102.0):
104 | - abseil/algorithm/container
105 | - abseil/container/container_memory
106 | - abseil/container/hash_function_defaults
107 | - abseil/container/raw_hash_map
108 | - abseil/memory/memory
109 | - abseil/container/hash_function_defaults (1.20211102.0):
110 | - abseil/base/config
111 | - abseil/hash/hash
112 | - abseil/strings/cord
113 | - abseil/strings/strings
114 | - abseil/container/hash_policy_traits (1.20211102.0):
115 | - abseil/meta/type_traits
116 | - abseil/container/hashtable_debug_hooks (1.20211102.0):
117 | - abseil/base/config
118 | - abseil/container/hashtablez_sampler (1.20211102.0):
119 | - abseil/base/base
120 | - abseil/base/core_headers
121 | - abseil/container/have_sse
122 | - abseil/debugging/stacktrace
123 | - abseil/memory/memory
124 | - abseil/profiling/exponential_biased
125 | - abseil/profiling/sample_recorder
126 | - abseil/synchronization/synchronization
127 | - abseil/utility/utility
128 | - abseil/container/have_sse (1.20211102.0)
129 | - abseil/container/inlined_vector (1.20211102.0):
130 | - abseil/algorithm/algorithm
131 | - abseil/base/core_headers
132 | - abseil/base/throw_delegate
133 | - abseil/container/inlined_vector_internal
134 | - abseil/memory/memory
135 | - abseil/container/inlined_vector_internal (1.20211102.0):
136 | - abseil/base/core_headers
137 | - abseil/container/compressed_tuple
138 | - abseil/memory/memory
139 | - abseil/meta/type_traits
140 | - abseil/types/span
141 | - abseil/container/layout (1.20211102.0):
142 | - abseil/base/config
143 | - abseil/base/core_headers
144 | - abseil/meta/type_traits
145 | - abseil/strings/strings
146 | - abseil/types/span
147 | - abseil/utility/utility
148 | - abseil/container/raw_hash_map (1.20211102.0):
149 | - abseil/base/throw_delegate
150 | - abseil/container/container_memory
151 | - abseil/container/raw_hash_set
152 | - abseil/container/raw_hash_set (1.20211102.0):
153 | - abseil/base/config
154 | - abseil/base/core_headers
155 | - abseil/base/endian
156 | - abseil/container/common
157 | - abseil/container/compressed_tuple
158 | - abseil/container/container_memory
159 | - abseil/container/hash_policy_traits
160 | - abseil/container/hashtable_debug_hooks
161 | - abseil/container/hashtablez_sampler
162 | - abseil/container/have_sse
163 | - abseil/memory/memory
164 | - abseil/meta/type_traits
165 | - abseil/numeric/bits
166 | - abseil/utility/utility
167 | - abseil/debugging/debugging_internal (1.20211102.0):
168 | - abseil/base/config
169 | - abseil/base/core_headers
170 | - abseil/base/dynamic_annotations
171 | - abseil/base/errno_saver
172 | - abseil/base/raw_logging_internal
173 | - abseil/debugging/demangle_internal (1.20211102.0):
174 | - abseil/base/base
175 | - abseil/base/config
176 | - abseil/base/core_headers
177 | - abseil/debugging/stacktrace (1.20211102.0):
178 | - abseil/base/config
179 | - abseil/base/core_headers
180 | - abseil/debugging/debugging_internal
181 | - abseil/debugging/symbolize (1.20211102.0):
182 | - abseil/base/base
183 | - abseil/base/config
184 | - abseil/base/core_headers
185 | - abseil/base/dynamic_annotations
186 | - abseil/base/malloc_internal
187 | - abseil/base/raw_logging_internal
188 | - abseil/debugging/debugging_internal
189 | - abseil/debugging/demangle_internal
190 | - abseil/strings/strings
191 | - abseil/functional/bind_front (1.20211102.0):
192 | - abseil/base/base_internal
193 | - abseil/container/compressed_tuple
194 | - abseil/meta/type_traits
195 | - abseil/utility/utility
196 | - abseil/functional/function_ref (1.20211102.0):
197 | - abseil/base/base_internal
198 | - abseil/base/core_headers
199 | - abseil/meta/type_traits
200 | - abseil/hash/city (1.20211102.0):
201 | - abseil/base/config
202 | - abseil/base/core_headers
203 | - abseil/base/endian
204 | - abseil/hash/hash (1.20211102.0):
205 | - abseil/base/config
206 | - abseil/base/core_headers
207 | - abseil/base/endian
208 | - abseil/container/fixed_array
209 | - abseil/hash/city
210 | - abseil/hash/low_level_hash
211 | - abseil/meta/type_traits
212 | - abseil/numeric/int128
213 | - abseil/strings/strings
214 | - abseil/types/optional
215 | - abseil/types/variant
216 | - abseil/utility/utility
217 | - abseil/hash/low_level_hash (1.20211102.0):
218 | - abseil/base/config
219 | - abseil/base/endian
220 | - abseil/numeric/bits
221 | - abseil/numeric/int128
222 | - abseil/memory (1.20211102.0):
223 | - abseil/memory/memory (= 1.20211102.0)
224 | - abseil/memory/memory (1.20211102.0):
225 | - abseil/base/core_headers
226 | - abseil/meta/type_traits
227 | - abseil/meta (1.20211102.0):
228 | - abseil/meta/type_traits (= 1.20211102.0)
229 | - abseil/meta/type_traits (1.20211102.0):
230 | - abseil/base/config
231 | - abseil/numeric/bits (1.20211102.0):
232 | - abseil/base/config
233 | - abseil/base/core_headers
234 | - abseil/numeric/int128 (1.20211102.0):
235 | - abseil/base/config
236 | - abseil/base/core_headers
237 | - abseil/numeric/bits
238 | - abseil/numeric/representation (1.20211102.0):
239 | - abseil/base/config
240 | - abseil/profiling/exponential_biased (1.20211102.0):
241 | - abseil/base/config
242 | - abseil/base/core_headers
243 | - abseil/profiling/sample_recorder (1.20211102.0):
244 | - abseil/base/config
245 | - abseil/base/core_headers
246 | - abseil/synchronization/synchronization
247 | - abseil/time/time
248 | - abseil/random/distributions (1.20211102.0):
249 | - abseil/base/base_internal
250 | - abseil/base/config
251 | - abseil/base/core_headers
252 | - abseil/meta/type_traits
253 | - abseil/numeric/bits
254 | - abseil/random/internal/distribution_caller
255 | - abseil/random/internal/fast_uniform_bits
256 | - abseil/random/internal/fastmath
257 | - abseil/random/internal/generate_real
258 | - abseil/random/internal/iostream_state_saver
259 | - abseil/random/internal/traits
260 | - abseil/random/internal/uniform_helper
261 | - abseil/random/internal/wide_multiply
262 | - abseil/strings/strings
263 | - abseil/random/internal/distribution_caller (1.20211102.0):
264 | - abseil/base/config
265 | - abseil/base/fast_type_id
266 | - abseil/utility/utility
267 | - abseil/random/internal/fast_uniform_bits (1.20211102.0):
268 | - abseil/base/config
269 | - abseil/meta/type_traits
270 | - abseil/random/internal/fastmath (1.20211102.0):
271 | - abseil/numeric/bits
272 | - abseil/random/internal/generate_real (1.20211102.0):
273 | - abseil/meta/type_traits
274 | - abseil/numeric/bits
275 | - abseil/random/internal/fastmath
276 | - abseil/random/internal/traits
277 | - abseil/random/internal/iostream_state_saver (1.20211102.0):
278 | - abseil/meta/type_traits
279 | - abseil/numeric/int128
280 | - abseil/random/internal/nonsecure_base (1.20211102.0):
281 | - abseil/base/core_headers
282 | - abseil/meta/type_traits
283 | - abseil/random/internal/pool_urbg
284 | - abseil/random/internal/salted_seed_seq
285 | - abseil/random/internal/seed_material
286 | - abseil/types/optional
287 | - abseil/types/span
288 | - abseil/random/internal/pcg_engine (1.20211102.0):
289 | - abseil/base/config
290 | - abseil/meta/type_traits
291 | - abseil/numeric/bits
292 | - abseil/numeric/int128
293 | - abseil/random/internal/fastmath
294 | - abseil/random/internal/iostream_state_saver
295 | - abseil/random/internal/platform (1.20211102.0):
296 | - abseil/base/config
297 | - abseil/random/internal/pool_urbg (1.20211102.0):
298 | - abseil/base/base
299 | - abseil/base/config
300 | - abseil/base/core_headers
301 | - abseil/base/endian
302 | - abseil/base/raw_logging_internal
303 | - abseil/random/internal/randen
304 | - abseil/random/internal/seed_material
305 | - abseil/random/internal/traits
306 | - abseil/random/seed_gen_exception
307 | - abseil/types/span
308 | - abseil/random/internal/randen (1.20211102.0):
309 | - abseil/base/raw_logging_internal
310 | - abseil/random/internal/platform
311 | - abseil/random/internal/randen_hwaes
312 | - abseil/random/internal/randen_slow
313 | - abseil/random/internal/randen_engine (1.20211102.0):
314 | - abseil/base/endian
315 | - abseil/meta/type_traits
316 | - abseil/random/internal/iostream_state_saver
317 | - abseil/random/internal/randen
318 | - abseil/random/internal/randen_hwaes (1.20211102.0):
319 | - abseil/base/config
320 | - abseil/random/internal/platform
321 | - abseil/random/internal/randen_hwaes_impl
322 | - abseil/random/internal/randen_hwaes_impl (1.20211102.0):
323 | - abseil/base/config
324 | - abseil/base/core_headers
325 | - abseil/numeric/int128
326 | - abseil/random/internal/platform
327 | - abseil/random/internal/randen_slow (1.20211102.0):
328 | - abseil/base/config
329 | - abseil/base/core_headers
330 | - abseil/base/endian
331 | - abseil/numeric/int128
332 | - abseil/random/internal/platform
333 | - abseil/random/internal/salted_seed_seq (1.20211102.0):
334 | - abseil/container/inlined_vector
335 | - abseil/meta/type_traits
336 | - abseil/random/internal/seed_material
337 | - abseil/types/optional
338 | - abseil/types/span
339 | - abseil/random/internal/seed_material (1.20211102.0):
340 | - abseil/base/core_headers
341 | - abseil/base/dynamic_annotations
342 | - abseil/base/raw_logging_internal
343 | - abseil/random/internal/fast_uniform_bits
344 | - abseil/strings/strings
345 | - abseil/types/optional
346 | - abseil/types/span
347 | - abseil/random/internal/traits (1.20211102.0):
348 | - abseil/base/config
349 | - abseil/random/internal/uniform_helper (1.20211102.0):
350 | - abseil/base/config
351 | - abseil/meta/type_traits
352 | - abseil/random/internal/traits
353 | - abseil/random/internal/wide_multiply (1.20211102.0):
354 | - abseil/base/config
355 | - abseil/numeric/bits
356 | - abseil/numeric/int128
357 | - abseil/random/internal/traits
358 | - abseil/random/random (1.20211102.0):
359 | - abseil/random/distributions
360 | - abseil/random/internal/nonsecure_base
361 | - abseil/random/internal/pcg_engine
362 | - abseil/random/internal/pool_urbg
363 | - abseil/random/internal/randen_engine
364 | - abseil/random/seed_sequences
365 | - abseil/random/seed_gen_exception (1.20211102.0):
366 | - abseil/base/config
367 | - abseil/random/seed_sequences (1.20211102.0):
368 | - abseil/container/inlined_vector
369 | - abseil/random/internal/nonsecure_base
370 | - abseil/random/internal/pool_urbg
371 | - abseil/random/internal/salted_seed_seq
372 | - abseil/random/internal/seed_material
373 | - abseil/random/seed_gen_exception
374 | - abseil/types/span
375 | - abseil/status/status (1.20211102.0):
376 | - abseil/base/atomic_hook
377 | - abseil/base/config
378 | - abseil/base/core_headers
379 | - abseil/base/raw_logging_internal
380 | - abseil/container/inlined_vector
381 | - abseil/debugging/stacktrace
382 | - abseil/debugging/symbolize
383 | - abseil/functional/function_ref
384 | - abseil/strings/cord
385 | - abseil/strings/str_format
386 | - abseil/strings/strings
387 | - abseil/types/optional
388 | - abseil/status/statusor (1.20211102.0):
389 | - abseil/base/base
390 | - abseil/base/core_headers
391 | - abseil/base/raw_logging_internal
392 | - abseil/meta/type_traits
393 | - abseil/status/status
394 | - abseil/strings/strings
395 | - abseil/types/variant
396 | - abseil/utility/utility
397 | - abseil/strings/cord (1.20211102.0):
398 | - abseil/base/base
399 | - abseil/base/config
400 | - abseil/base/core_headers
401 | - abseil/base/endian
402 | - abseil/base/raw_logging_internal
403 | - abseil/container/fixed_array
404 | - abseil/container/inlined_vector
405 | - abseil/functional/function_ref
406 | - abseil/meta/type_traits
407 | - abseil/strings/cord_internal
408 | - abseil/strings/cordz_functions
409 | - abseil/strings/cordz_info
410 | - abseil/strings/cordz_statistics
411 | - abseil/strings/cordz_update_scope
412 | - abseil/strings/cordz_update_tracker
413 | - abseil/strings/internal
414 | - abseil/strings/str_format
415 | - abseil/strings/strings
416 | - abseil/types/optional
417 | - abseil/strings/cord_internal (1.20211102.0):
418 | - abseil/base/base_internal
419 | - abseil/base/config
420 | - abseil/base/core_headers
421 | - abseil/base/endian
422 | - abseil/base/raw_logging_internal
423 | - abseil/base/throw_delegate
424 | - abseil/container/compressed_tuple
425 | - abseil/container/inlined_vector
426 | - abseil/container/layout
427 | - abseil/functional/function_ref
428 | - abseil/meta/type_traits
429 | - abseil/strings/strings
430 | - abseil/types/span
431 | - abseil/strings/cordz_functions (1.20211102.0):
432 | - abseil/base/config
433 | - abseil/base/core_headers
434 | - abseil/base/raw_logging_internal
435 | - abseil/profiling/exponential_biased
436 | - abseil/strings/cordz_handle (1.20211102.0):
437 | - abseil/base/base
438 | - abseil/base/config
439 | - abseil/base/raw_logging_internal
440 | - abseil/synchronization/synchronization
441 | - abseil/strings/cordz_info (1.20211102.0):
442 | - abseil/base/base
443 | - abseil/base/config
444 | - abseil/base/core_headers
445 | - abseil/base/raw_logging_internal
446 | - abseil/container/inlined_vector
447 | - abseil/debugging/stacktrace
448 | - abseil/strings/cord_internal
449 | - abseil/strings/cordz_functions
450 | - abseil/strings/cordz_handle
451 | - abseil/strings/cordz_statistics
452 | - abseil/strings/cordz_update_tracker
453 | - abseil/synchronization/synchronization
454 | - abseil/types/span
455 | - abseil/strings/cordz_statistics (1.20211102.0):
456 | - abseil/base/config
457 | - abseil/strings/cordz_update_tracker
458 | - abseil/strings/cordz_update_scope (1.20211102.0):
459 | - abseil/base/config
460 | - abseil/base/core_headers
461 | - abseil/strings/cord_internal
462 | - abseil/strings/cordz_info
463 | - abseil/strings/cordz_update_tracker
464 | - abseil/strings/cordz_update_tracker (1.20211102.0):
465 | - abseil/base/config
466 | - abseil/strings/internal (1.20211102.0):
467 | - abseil/base/config
468 | - abseil/base/core_headers
469 | - abseil/base/endian
470 | - abseil/base/raw_logging_internal
471 | - abseil/meta/type_traits
472 | - abseil/strings/str_format (1.20211102.0):
473 | - abseil/strings/str_format_internal
474 | - abseil/strings/str_format_internal (1.20211102.0):
475 | - abseil/base/config
476 | - abseil/base/core_headers
477 | - abseil/functional/function_ref
478 | - abseil/meta/type_traits
479 | - abseil/numeric/bits
480 | - abseil/numeric/int128
481 | - abseil/numeric/representation
482 | - abseil/strings/strings
483 | - abseil/types/optional
484 | - abseil/types/span
485 | - abseil/strings/strings (1.20211102.0):
486 | - abseil/base/base
487 | - abseil/base/config
488 | - abseil/base/core_headers
489 | - abseil/base/endian
490 | - abseil/base/raw_logging_internal
491 | - abseil/base/throw_delegate
492 | - abseil/memory/memory
493 | - abseil/meta/type_traits
494 | - abseil/numeric/bits
495 | - abseil/numeric/int128
496 | - abseil/strings/internal
497 | - abseil/synchronization/graphcycles_internal (1.20211102.0):
498 | - abseil/base/base
499 | - abseil/base/base_internal
500 | - abseil/base/config
501 | - abseil/base/core_headers
502 | - abseil/base/malloc_internal
503 | - abseil/base/raw_logging_internal
504 | - abseil/synchronization/kernel_timeout_internal (1.20211102.0):
505 | - abseil/base/core_headers
506 | - abseil/base/raw_logging_internal
507 | - abseil/time/time
508 | - abseil/synchronization/synchronization (1.20211102.0):
509 | - abseil/base/atomic_hook
510 | - abseil/base/base
511 | - abseil/base/base_internal
512 | - abseil/base/config
513 | - abseil/base/core_headers
514 | - abseil/base/dynamic_annotations
515 | - abseil/base/malloc_internal
516 | - abseil/base/raw_logging_internal
517 | - abseil/debugging/stacktrace
518 | - abseil/debugging/symbolize
519 | - abseil/synchronization/graphcycles_internal
520 | - abseil/synchronization/kernel_timeout_internal
521 | - abseil/time/time
522 | - abseil/time (1.20211102.0):
523 | - abseil/time/internal (= 1.20211102.0)
524 | - abseil/time/time (= 1.20211102.0)
525 | - abseil/time/internal (1.20211102.0):
526 | - abseil/time/internal/cctz (= 1.20211102.0)
527 | - abseil/time/internal/cctz (1.20211102.0):
528 | - abseil/time/internal/cctz/civil_time (= 1.20211102.0)
529 | - abseil/time/internal/cctz/time_zone (= 1.20211102.0)
530 | - abseil/time/internal/cctz/civil_time (1.20211102.0):
531 | - abseil/base/config
532 | - abseil/time/internal/cctz/time_zone (1.20211102.0):
533 | - abseil/base/config
534 | - abseil/time/internal/cctz/civil_time
535 | - abseil/time/time (1.20211102.0):
536 | - abseil/base/base
537 | - abseil/base/core_headers
538 | - abseil/base/raw_logging_internal
539 | - abseil/numeric/int128
540 | - abseil/strings/strings
541 | - abseil/time/internal/cctz/civil_time
542 | - abseil/time/internal/cctz/time_zone
543 | - abseil/types (1.20211102.0):
544 | - abseil/types/any (= 1.20211102.0)
545 | - abseil/types/bad_any_cast (= 1.20211102.0)
546 | - abseil/types/bad_any_cast_impl (= 1.20211102.0)
547 | - abseil/types/bad_optional_access (= 1.20211102.0)
548 | - abseil/types/bad_variant_access (= 1.20211102.0)
549 | - abseil/types/compare (= 1.20211102.0)
550 | - abseil/types/optional (= 1.20211102.0)
551 | - abseil/types/span (= 1.20211102.0)
552 | - abseil/types/variant (= 1.20211102.0)
553 | - abseil/types/any (1.20211102.0):
554 | - abseil/base/config
555 | - abseil/base/core_headers
556 | - abseil/base/fast_type_id
557 | - abseil/meta/type_traits
558 | - abseil/types/bad_any_cast
559 | - abseil/utility/utility
560 | - abseil/types/bad_any_cast (1.20211102.0):
561 | - abseil/base/config
562 | - abseil/types/bad_any_cast_impl
563 | - abseil/types/bad_any_cast_impl (1.20211102.0):
564 | - abseil/base/config
565 | - abseil/base/raw_logging_internal
566 | - abseil/types/bad_optional_access (1.20211102.0):
567 | - abseil/base/config
568 | - abseil/base/raw_logging_internal
569 | - abseil/types/bad_variant_access (1.20211102.0):
570 | - abseil/base/config
571 | - abseil/base/raw_logging_internal
572 | - abseil/types/compare (1.20211102.0):
573 | - abseil/base/core_headers
574 | - abseil/meta/type_traits
575 | - abseil/types/optional (1.20211102.0):
576 | - abseil/base/base_internal
577 | - abseil/base/config
578 | - abseil/base/core_headers
579 | - abseil/memory/memory
580 | - abseil/meta/type_traits
581 | - abseil/types/bad_optional_access
582 | - abseil/utility/utility
583 | - abseil/types/span (1.20211102.0):
584 | - abseil/algorithm/algorithm
585 | - abseil/base/core_headers
586 | - abseil/base/throw_delegate
587 | - abseil/meta/type_traits
588 | - abseil/types/variant (1.20211102.0):
589 | - abseil/base/base_internal
590 | - abseil/base/config
591 | - abseil/base/core_headers
592 | - abseil/meta/type_traits
593 | - abseil/types/bad_variant_access
594 | - abseil/utility/utility
595 | - abseil/utility/utility (1.20211102.0):
596 | - abseil/base/base_internal
597 | - abseil/base/config
598 | - abseil/meta/type_traits
599 | - AppAuth (1.5.0):
600 | - AppAuth/Core (= 1.5.0)
601 | - AppAuth/ExternalUserAgent (= 1.5.0)
602 | - AppAuth/Core (1.5.0)
603 | - AppAuth/ExternalUserAgent (1.5.0):
604 | - AppAuth/Core
605 | - BoringSSL-GRPC (0.0.24):
606 | - BoringSSL-GRPC/Implementation (= 0.0.24)
607 | - BoringSSL-GRPC/Interface (= 0.0.24)
608 | - BoringSSL-GRPC/Implementation (0.0.24):
609 | - BoringSSL-GRPC/Interface (= 0.0.24)
610 | - BoringSSL-GRPC/Interface (0.0.24)
611 | - cloud_firestore (3.3.0):
612 | - Firebase/Firestore (= 9.2.0)
613 | - firebase_core
614 | - Flutter
615 | - connectivity_plus (0.0.1):
616 | - Flutter
617 | - ReachabilitySwift
618 | - FBAEMKit (14.0.0):
619 | - FBSDKCoreKit_Basics (= 14.0.0)
620 | - FBSDKCoreKit (14.0.0):
621 | - FBAEMKit (= 14.0.0)
622 | - FBSDKCoreKit_Basics (= 14.0.0)
623 | - FBSDKCoreKit_Basics (14.0.0)
624 | - FBSDKLoginKit (14.0.0):
625 | - FBSDKCoreKit (= 14.0.0)
626 | - Firebase/Auth (9.2.0):
627 | - Firebase/CoreOnly
628 | - FirebaseAuth (~> 9.2.0)
629 | - Firebase/CoreOnly (9.2.0):
630 | - FirebaseCore (= 9.2.0)
631 | - Firebase/Firestore (9.2.0):
632 | - Firebase/CoreOnly
633 | - FirebaseFirestore (~> 9.2.0)
634 | - firebase_auth (3.4.2):
635 | - Firebase/Auth (= 9.2.0)
636 | - firebase_core
637 | - Flutter
638 | - firebase_core (1.19.2):
639 | - Firebase/CoreOnly (= 9.2.0)
640 | - Flutter
641 | - FirebaseAuth (9.2.0):
642 | - FirebaseCore (~> 9.0)
643 | - GoogleUtilities/AppDelegateSwizzler (~> 7.7)
644 | - GoogleUtilities/Environment (~> 7.7)
645 | - GTMSessionFetcher/Core (< 3.0, >= 1.7)
646 | - FirebaseCore (9.2.0):
647 | - FirebaseCoreDiagnostics (~> 9.0)
648 | - FirebaseCoreInternal (~> 9.0)
649 | - GoogleUtilities/Environment (~> 7.7)
650 | - GoogleUtilities/Logger (~> 7.7)
651 | - FirebaseCoreDiagnostics (9.3.0):
652 | - GoogleDataTransport (< 10.0.0, >= 9.1.4)
653 | - GoogleUtilities/Environment (~> 7.7)
654 | - GoogleUtilities/Logger (~> 7.7)
655 | - nanopb (< 2.30910.0, >= 2.30908.0)
656 | - FirebaseCoreInternal (9.3.0):
657 | - "GoogleUtilities/NSData+zlib (~> 7.7)"
658 | - FirebaseFirestore (9.2.0):
659 | - abseil/algorithm (~> 1.20211102.0)
660 | - abseil/base (~> 1.20211102.0)
661 | - abseil/container/flat_hash_map (~> 1.20211102.0)
662 | - abseil/memory (~> 1.20211102.0)
663 | - abseil/meta (~> 1.20211102.0)
664 | - abseil/strings/strings (~> 1.20211102.0)
665 | - abseil/time (~> 1.20211102.0)
666 | - abseil/types (~> 1.20211102.0)
667 | - FirebaseCore (~> 9.0)
668 | - "gRPC-C++ (~> 1.44.0)"
669 | - leveldb-library (~> 1.22)
670 | - nanopb (< 2.30910.0, >= 2.30908.0)
671 | - Flutter (1.0.0)
672 | - flutter_facebook_auth (4.4.0):
673 | - FBSDKLoginKit (~> 14.0.0)
674 | - Flutter
675 | - google_sign_in_ios (0.0.1):
676 | - Flutter
677 | - GoogleSignIn (~> 6.2)
678 | - GoogleDataTransport (9.1.4):
679 | - GoogleUtilities/Environment (~> 7.7)
680 | - nanopb (< 2.30910.0, >= 2.30908.0)
681 | - PromisesObjC (< 3.0, >= 1.2)
682 | - GoogleSignIn (6.2.2):
683 | - AppAuth (~> 1.5)
684 | - GTMAppAuth (~> 1.3)
685 | - GTMSessionFetcher/Core (~> 1.1)
686 | - GoogleUtilities/AppDelegateSwizzler (7.7.0):
687 | - GoogleUtilities/Environment
688 | - GoogleUtilities/Logger
689 | - GoogleUtilities/Network
690 | - GoogleUtilities/Environment (7.7.0):
691 | - PromisesObjC (< 3.0, >= 1.2)
692 | - GoogleUtilities/Logger (7.7.0):
693 | - GoogleUtilities/Environment
694 | - GoogleUtilities/Network (7.7.0):
695 | - GoogleUtilities/Logger
696 | - "GoogleUtilities/NSData+zlib"
697 | - GoogleUtilities/Reachability
698 | - "GoogleUtilities/NSData+zlib (7.7.0)"
699 | - GoogleUtilities/Reachability (7.7.0):
700 | - GoogleUtilities/Logger
701 | - "gRPC-C++ (1.44.0)":
702 | - "gRPC-C++/Implementation (= 1.44.0)"
703 | - "gRPC-C++/Interface (= 1.44.0)"
704 | - "gRPC-C++/Implementation (1.44.0)":
705 | - abseil/base/base (= 1.20211102.0)
706 | - abseil/base/core_headers (= 1.20211102.0)
707 | - abseil/container/flat_hash_map (= 1.20211102.0)
708 | - abseil/container/inlined_vector (= 1.20211102.0)
709 | - abseil/functional/bind_front (= 1.20211102.0)
710 | - abseil/hash/hash (= 1.20211102.0)
711 | - abseil/memory/memory (= 1.20211102.0)
712 | - abseil/random/random (= 1.20211102.0)
713 | - abseil/status/status (= 1.20211102.0)
714 | - abseil/status/statusor (= 1.20211102.0)
715 | - abseil/strings/cord (= 1.20211102.0)
716 | - abseil/strings/str_format (= 1.20211102.0)
717 | - abseil/strings/strings (= 1.20211102.0)
718 | - abseil/synchronization/synchronization (= 1.20211102.0)
719 | - abseil/time/time (= 1.20211102.0)
720 | - abseil/types/optional (= 1.20211102.0)
721 | - abseil/types/variant (= 1.20211102.0)
722 | - abseil/utility/utility (= 1.20211102.0)
723 | - "gRPC-C++/Interface (= 1.44.0)"
724 | - gRPC-Core (= 1.44.0)
725 | - "gRPC-C++/Interface (1.44.0)"
726 | - gRPC-Core (1.44.0):
727 | - gRPC-Core/Implementation (= 1.44.0)
728 | - gRPC-Core/Interface (= 1.44.0)
729 | - gRPC-Core/Implementation (1.44.0):
730 | - abseil/base/base (= 1.20211102.0)
731 | - abseil/base/core_headers (= 1.20211102.0)
732 | - abseil/container/flat_hash_map (= 1.20211102.0)
733 | - abseil/container/inlined_vector (= 1.20211102.0)
734 | - abseil/functional/bind_front (= 1.20211102.0)
735 | - abseil/hash/hash (= 1.20211102.0)
736 | - abseil/memory/memory (= 1.20211102.0)
737 | - abseil/random/random (= 1.20211102.0)
738 | - abseil/status/status (= 1.20211102.0)
739 | - abseil/status/statusor (= 1.20211102.0)
740 | - abseil/strings/cord (= 1.20211102.0)
741 | - abseil/strings/str_format (= 1.20211102.0)
742 | - abseil/strings/strings (= 1.20211102.0)
743 | - abseil/synchronization/synchronization (= 1.20211102.0)
744 | - abseil/time/time (= 1.20211102.0)
745 | - abseil/types/optional (= 1.20211102.0)
746 | - abseil/types/variant (= 1.20211102.0)
747 | - abseil/utility/utility (= 1.20211102.0)
748 | - BoringSSL-GRPC (= 0.0.24)
749 | - gRPC-Core/Interface (= 1.44.0)
750 | - Libuv-gRPC (= 0.0.10)
751 | - gRPC-Core/Interface (1.44.0)
752 | - GTMAppAuth (1.3.0):
753 | - AppAuth/Core (~> 1.4)
754 | - GTMSessionFetcher/Core (~> 1.5)
755 | - GTMSessionFetcher/Core (1.7.2)
756 | - leveldb-library (1.22.1)
757 | - Libuv-gRPC (0.0.10):
758 | - Libuv-gRPC/Implementation (= 0.0.10)
759 | - Libuv-gRPC/Interface (= 0.0.10)
760 | - Libuv-gRPC/Implementation (0.0.10):
761 | - Libuv-gRPC/Interface (= 0.0.10)
762 | - Libuv-gRPC/Interface (0.0.10)
763 | - nanopb (2.30909.0):
764 | - nanopb/decode (= 2.30909.0)
765 | - nanopb/encode (= 2.30909.0)
766 | - nanopb/decode (2.30909.0)
767 | - nanopb/encode (2.30909.0)
768 | - PromisesObjC (2.1.1)
769 | - ReachabilitySwift (5.0.0)
770 | - shared_preferences_ios (0.0.1):
771 | - Flutter
772 | - twitter_login (0.0.1):
773 | - Flutter
774 |
775 | DEPENDENCIES:
776 | - cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)
777 | - connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`)
778 | - firebase_auth (from `.symlinks/plugins/firebase_auth/ios`)
779 | - firebase_core (from `.symlinks/plugins/firebase_core/ios`)
780 | - Flutter (from `Flutter`)
781 | - flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`)
782 | - google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/ios`)
783 | - shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`)
784 | - twitter_login (from `.symlinks/plugins/twitter_login/ios`)
785 |
786 | SPEC REPOS:
787 | trunk:
788 | - abseil
789 | - AppAuth
790 | - BoringSSL-GRPC
791 | - FBAEMKit
792 | - FBSDKCoreKit
793 | - FBSDKCoreKit_Basics
794 | - FBSDKLoginKit
795 | - Firebase
796 | - FirebaseAuth
797 | - FirebaseCore
798 | - FirebaseCoreDiagnostics
799 | - FirebaseCoreInternal
800 | - FirebaseFirestore
801 | - GoogleDataTransport
802 | - GoogleSignIn
803 | - GoogleUtilities
804 | - "gRPC-C++"
805 | - gRPC-Core
806 | - GTMAppAuth
807 | - GTMSessionFetcher
808 | - leveldb-library
809 | - Libuv-gRPC
810 | - nanopb
811 | - PromisesObjC
812 | - ReachabilitySwift
813 |
814 | EXTERNAL SOURCES:
815 | cloud_firestore:
816 | :path: ".symlinks/plugins/cloud_firestore/ios"
817 | connectivity_plus:
818 | :path: ".symlinks/plugins/connectivity_plus/ios"
819 | firebase_auth:
820 | :path: ".symlinks/plugins/firebase_auth/ios"
821 | firebase_core:
822 | :path: ".symlinks/plugins/firebase_core/ios"
823 | Flutter:
824 | :path: Flutter
825 | flutter_facebook_auth:
826 | :path: ".symlinks/plugins/flutter_facebook_auth/ios"
827 | google_sign_in_ios:
828 | :path: ".symlinks/plugins/google_sign_in_ios/ios"
829 | shared_preferences_ios:
830 | :path: ".symlinks/plugins/shared_preferences_ios/ios"
831 | twitter_login:
832 | :path: ".symlinks/plugins/twitter_login/ios"
833 |
834 | SPEC CHECKSUMS:
835 | abseil: ebe5b5529fb05d93a8bdb7951607be08b7fa71bc
836 | AppAuth: 80317d99ac7ff2801a2f18ff86b48cd315ed465d
837 | BoringSSL-GRPC: 3175b25143e648463a56daeaaa499c6cb86dad33
838 | cloud_firestore: 08dddc0c63b2b1b6474fd5f30aa5e8d8aedd5353
839 | connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e
840 | FBAEMKit: d00064597439e75885c70d9adbcb5f3e9ad84f5d
841 | FBSDKCoreKit: e5d3acfffe5063a9d0b967ba2ad1f5afc460cf43
842 | FBSDKCoreKit_Basics: 1ff46a12e80f0b66e6c00e1ef32d6a5b5b9008a5
843 | FBSDKLoginKit: dbe86ef42ab142f3bd0f1c904a21bb33f31c5569
844 | Firebase: 4ba896cb8e5105d4b9e247e1c1b6222b548df55a
845 | firebase_auth: 103ce6040b7f0a67bffb8f317544fc9f877c1cd2
846 | firebase_core: ada8be870601fe3c2684dae2356f634189bd598f
847 | FirebaseAuth: 1c574ab64a051dd86dbe7fd5a3f86b58155b3482
848 | FirebaseCore: 0e27f2a15d8f7b7ef11e7d93e23b1cbab55d748c
849 | FirebaseCoreDiagnostics: 060eb57cc56dfaf40b1b1b5874a5c17c41ce79f8
850 | FirebaseCoreInternal: 635d1c9a612a6502b6377a0c92af83758076ffff
851 | FirebaseFirestore: de27d96de10596ebc114adf25c6aa7d36dd91f2f
852 | Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
853 | flutter_facebook_auth: 8992ef870d441b8403a3b6b9859e7932605407cf
854 | google_sign_in_ios: 4f85eb9f937450765c8573bb85fd8cd6a5af675c
855 | GoogleDataTransport: 5fffe35792f8b96ec8d6775f5eccd83c998d5a3b
856 | GoogleSignIn: 3c68388ac221f379676e8f1cb115df3aaf73b93f
857 | GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
858 | "gRPC-C++": 9675f953ace2b3de7c506039d77be1f2e77a8db2
859 | gRPC-Core: 943e491cb0d45598b0b0eb9e910c88080369290b
860 | GTMAppAuth: 4d8f864896f3646f0c33baf38a28362f4c601e15
861 | GTMSessionFetcher: 5595ec75acf5be50814f81e9189490412bad82ba
862 | leveldb-library: 50c7b45cbd7bf543c81a468fe557a16ae3db8729
863 | Libuv-gRPC: 55e51798e14ef436ad9bc45d12d43b77b49df378
864 | nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
865 | PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
866 | ReachabilitySwift: 985039c6f7b23a1da463388634119492ff86c825
867 | shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad
868 | twitter_login: 2794db69b7640681171b17b3c2c84ad9dfb4a57f
869 |
870 | PODFILE CHECKSUM: 4e8f8b2be68aeea4c0d5beb6ff1e79fface1d048
871 |
872 | COCOAPODS: 1.11.3
873 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 50;
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 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13 | 87E38B394B1D505D44D0B61C /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F2BD0A508269E21215ABD819 /* Pods_Runner.framework */; };
14 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
15 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
16 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
17 | AAD8BED92880AF9E00955B82 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = AAD8BED82880AF9E00955B82 /* GoogleService-Info.plist */; };
18 | /* End PBXBuildFile section */
19 |
20 | /* Begin PBXCopyFilesBuildPhase section */
21 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
22 | isa = PBXCopyFilesBuildPhase;
23 | buildActionMask = 2147483647;
24 | dstPath = "";
25 | dstSubfolderSpec = 10;
26 | files = (
27 | );
28 | name = "Embed Frameworks";
29 | runOnlyForDeploymentPostprocessing = 0;
30 | };
31 | /* End PBXCopyFilesBuildPhase section */
32 |
33 | /* Begin PBXFileReference section */
34 | 0B5F63AF773FA9DAC607419A /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
35 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
36 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
37 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
38 | 6C7E65D320C64F9ADB6EB3C2 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
39 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
40 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
41 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
42 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
43 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
44 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
45 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
46 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
47 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
48 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
49 | AAD8BED82880AF9E00955B82 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; };
50 | CD8EF82390596D3C345353C0 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
51 | F2BD0A508269E21215ABD819 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
52 | /* End PBXFileReference section */
53 |
54 | /* Begin PBXFrameworksBuildPhase section */
55 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
56 | isa = PBXFrameworksBuildPhase;
57 | buildActionMask = 2147483647;
58 | files = (
59 | 87E38B394B1D505D44D0B61C /* Pods_Runner.framework in Frameworks */,
60 | );
61 | runOnlyForDeploymentPostprocessing = 0;
62 | };
63 | /* End PBXFrameworksBuildPhase section */
64 |
65 | /* Begin PBXGroup section */
66 | 9740EEB11CF90186004384FC /* Flutter */ = {
67 | isa = PBXGroup;
68 | children = (
69 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
70 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
71 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
72 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
73 | );
74 | name = Flutter;
75 | sourceTree = "";
76 | };
77 | 97C146E51CF9000F007C117D = {
78 | isa = PBXGroup;
79 | children = (
80 | 9740EEB11CF90186004384FC /* Flutter */,
81 | 97C146F01CF9000F007C117D /* Runner */,
82 | 97C146EF1CF9000F007C117D /* Products */,
83 | A246CE4C0B4CDFDC42012C22 /* Pods */,
84 | ED243A7A498F32E351C743DA /* Frameworks */,
85 | );
86 | sourceTree = "";
87 | };
88 | 97C146EF1CF9000F007C117D /* Products */ = {
89 | isa = PBXGroup;
90 | children = (
91 | 97C146EE1CF9000F007C117D /* Runner.app */,
92 | );
93 | name = Products;
94 | sourceTree = "";
95 | };
96 | 97C146F01CF9000F007C117D /* Runner */ = {
97 | isa = PBXGroup;
98 | children = (
99 | AAD8BED82880AF9E00955B82 /* GoogleService-Info.plist */,
100 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
101 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
102 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
103 | 97C147021CF9000F007C117D /* Info.plist */,
104 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
105 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
106 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
107 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
108 | );
109 | path = Runner;
110 | sourceTree = "";
111 | };
112 | A246CE4C0B4CDFDC42012C22 /* Pods */ = {
113 | isa = PBXGroup;
114 | children = (
115 | 0B5F63AF773FA9DAC607419A /* Pods-Runner.debug.xcconfig */,
116 | 6C7E65D320C64F9ADB6EB3C2 /* Pods-Runner.release.xcconfig */,
117 | CD8EF82390596D3C345353C0 /* Pods-Runner.profile.xcconfig */,
118 | );
119 | name = Pods;
120 | path = Pods;
121 | sourceTree = "";
122 | };
123 | ED243A7A498F32E351C743DA /* Frameworks */ = {
124 | isa = PBXGroup;
125 | children = (
126 | F2BD0A508269E21215ABD819 /* Pods_Runner.framework */,
127 | );
128 | name = Frameworks;
129 | sourceTree = "";
130 | };
131 | /* End PBXGroup section */
132 |
133 | /* Begin PBXNativeTarget section */
134 | 97C146ED1CF9000F007C117D /* Runner */ = {
135 | isa = PBXNativeTarget;
136 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
137 | buildPhases = (
138 | 0306E75E47EAED55687DE55D /* [CP] Check Pods Manifest.lock */,
139 | 9740EEB61CF901F6004384FC /* Run Script */,
140 | 97C146EA1CF9000F007C117D /* Sources */,
141 | 97C146EB1CF9000F007C117D /* Frameworks */,
142 | 97C146EC1CF9000F007C117D /* Resources */,
143 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
144 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
145 | 80E45643A4B3705E84E751A4 /* [CP] Embed Pods Frameworks */,
146 | );
147 | buildRules = (
148 | );
149 | dependencies = (
150 | );
151 | name = Runner;
152 | productName = Runner;
153 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
154 | productType = "com.apple.product-type.application";
155 | };
156 | /* End PBXNativeTarget section */
157 |
158 | /* Begin PBXProject section */
159 | 97C146E61CF9000F007C117D /* Project object */ = {
160 | isa = PBXProject;
161 | attributes = {
162 | LastUpgradeCheck = 1300;
163 | ORGANIZATIONNAME = "";
164 | TargetAttributes = {
165 | 97C146ED1CF9000F007C117D = {
166 | CreatedOnToolsVersion = 7.3.1;
167 | LastSwiftMigration = 1100;
168 | };
169 | };
170 | };
171 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
172 | compatibilityVersion = "Xcode 9.3";
173 | developmentRegion = en;
174 | hasScannedForEncodings = 0;
175 | knownRegions = (
176 | en,
177 | Base,
178 | );
179 | mainGroup = 97C146E51CF9000F007C117D;
180 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
181 | projectDirPath = "";
182 | projectRoot = "";
183 | targets = (
184 | 97C146ED1CF9000F007C117D /* Runner */,
185 | );
186 | };
187 | /* End PBXProject section */
188 |
189 | /* Begin PBXResourcesBuildPhase section */
190 | 97C146EC1CF9000F007C117D /* Resources */ = {
191 | isa = PBXResourcesBuildPhase;
192 | buildActionMask = 2147483647;
193 | files = (
194 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
195 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
196 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
197 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
198 | AAD8BED92880AF9E00955B82 /* GoogleService-Info.plist in Resources */,
199 | );
200 | runOnlyForDeploymentPostprocessing = 0;
201 | };
202 | /* End PBXResourcesBuildPhase section */
203 |
204 | /* Begin PBXShellScriptBuildPhase section */
205 | 0306E75E47EAED55687DE55D /* [CP] Check Pods Manifest.lock */ = {
206 | isa = PBXShellScriptBuildPhase;
207 | buildActionMask = 2147483647;
208 | files = (
209 | );
210 | inputFileListPaths = (
211 | );
212 | inputPaths = (
213 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
214 | "${PODS_ROOT}/Manifest.lock",
215 | );
216 | name = "[CP] Check Pods Manifest.lock";
217 | outputFileListPaths = (
218 | );
219 | outputPaths = (
220 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
221 | );
222 | runOnlyForDeploymentPostprocessing = 0;
223 | shellPath = /bin/sh;
224 | 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";
225 | showEnvVarsInLog = 0;
226 | };
227 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
228 | isa = PBXShellScriptBuildPhase;
229 | buildActionMask = 2147483647;
230 | files = (
231 | );
232 | inputPaths = (
233 | );
234 | name = "Thin Binary";
235 | outputPaths = (
236 | );
237 | runOnlyForDeploymentPostprocessing = 0;
238 | shellPath = /bin/sh;
239 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
240 | };
241 | 80E45643A4B3705E84E751A4 /* [CP] Embed Pods Frameworks */ = {
242 | isa = PBXShellScriptBuildPhase;
243 | buildActionMask = 2147483647;
244 | files = (
245 | );
246 | inputFileListPaths = (
247 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
248 | );
249 | name = "[CP] Embed Pods Frameworks";
250 | outputFileListPaths = (
251 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
252 | );
253 | runOnlyForDeploymentPostprocessing = 0;
254 | shellPath = /bin/sh;
255 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
256 | showEnvVarsInLog = 0;
257 | };
258 | 9740EEB61CF901F6004384FC /* Run Script */ = {
259 | isa = PBXShellScriptBuildPhase;
260 | buildActionMask = 2147483647;
261 | files = (
262 | );
263 | inputPaths = (
264 | );
265 | name = "Run Script";
266 | outputPaths = (
267 | );
268 | runOnlyForDeploymentPostprocessing = 0;
269 | shellPath = /bin/sh;
270 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
271 | };
272 | /* End PBXShellScriptBuildPhase section */
273 |
274 | /* Begin PBXSourcesBuildPhase section */
275 | 97C146EA1CF9000F007C117D /* Sources */ = {
276 | isa = PBXSourcesBuildPhase;
277 | buildActionMask = 2147483647;
278 | files = (
279 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
280 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
281 | );
282 | runOnlyForDeploymentPostprocessing = 0;
283 | };
284 | /* End PBXSourcesBuildPhase section */
285 |
286 | /* Begin PBXVariantGroup section */
287 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
288 | isa = PBXVariantGroup;
289 | children = (
290 | 97C146FB1CF9000F007C117D /* Base */,
291 | );
292 | name = Main.storyboard;
293 | sourceTree = "";
294 | };
295 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
296 | isa = PBXVariantGroup;
297 | children = (
298 | 97C147001CF9000F007C117D /* Base */,
299 | );
300 | name = LaunchScreen.storyboard;
301 | sourceTree = "";
302 | };
303 | /* End PBXVariantGroup section */
304 |
305 | /* Begin XCBuildConfiguration section */
306 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
307 | isa = XCBuildConfiguration;
308 | buildSettings = {
309 | ALWAYS_SEARCH_USER_PATHS = NO;
310 | CLANG_ANALYZER_NONNULL = YES;
311 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
312 | CLANG_CXX_LIBRARY = "libc++";
313 | CLANG_ENABLE_MODULES = YES;
314 | CLANG_ENABLE_OBJC_ARC = YES;
315 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
316 | CLANG_WARN_BOOL_CONVERSION = YES;
317 | CLANG_WARN_COMMA = YES;
318 | CLANG_WARN_CONSTANT_CONVERSION = YES;
319 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
320 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
321 | CLANG_WARN_EMPTY_BODY = YES;
322 | CLANG_WARN_ENUM_CONVERSION = YES;
323 | CLANG_WARN_INFINITE_RECURSION = YES;
324 | CLANG_WARN_INT_CONVERSION = YES;
325 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
326 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
327 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
328 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
329 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
330 | CLANG_WARN_STRICT_PROTOTYPES = YES;
331 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
332 | CLANG_WARN_UNREACHABLE_CODE = YES;
333 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
334 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
335 | COPY_PHASE_STRIP = NO;
336 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
337 | ENABLE_NS_ASSERTIONS = NO;
338 | ENABLE_STRICT_OBJC_MSGSEND = YES;
339 | GCC_C_LANGUAGE_STANDARD = gnu99;
340 | GCC_NO_COMMON_BLOCKS = YES;
341 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
342 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
343 | GCC_WARN_UNDECLARED_SELECTOR = YES;
344 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345 | GCC_WARN_UNUSED_FUNCTION = YES;
346 | GCC_WARN_UNUSED_VARIABLE = YES;
347 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
348 | MTL_ENABLE_DEBUG_INFO = NO;
349 | SDKROOT = iphoneos;
350 | SUPPORTED_PLATFORMS = iphoneos;
351 | TARGETED_DEVICE_FAMILY = "1,2";
352 | VALIDATE_PRODUCT = YES;
353 | };
354 | name = Profile;
355 | };
356 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
357 | isa = XCBuildConfiguration;
358 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
359 | buildSettings = {
360 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
361 | CLANG_ENABLE_MODULES = YES;
362 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
363 | ENABLE_BITCODE = NO;
364 | INFOPLIST_FILE = Runner/Info.plist;
365 | LD_RUNPATH_SEARCH_PATHS = (
366 | "$(inherited)",
367 | "@executable_path/Frameworks",
368 | );
369 | PRODUCT_BUNDLE_IDENTIFIER = com.example.blocauth;
370 | PRODUCT_NAME = "$(TARGET_NAME)";
371 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
372 | SWIFT_VERSION = 5.0;
373 | VERSIONING_SYSTEM = "apple-generic";
374 | };
375 | name = Profile;
376 | };
377 | 97C147031CF9000F007C117D /* Debug */ = {
378 | isa = XCBuildConfiguration;
379 | buildSettings = {
380 | ALWAYS_SEARCH_USER_PATHS = NO;
381 | CLANG_ANALYZER_NONNULL = YES;
382 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
383 | CLANG_CXX_LIBRARY = "libc++";
384 | CLANG_ENABLE_MODULES = YES;
385 | CLANG_ENABLE_OBJC_ARC = YES;
386 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
387 | CLANG_WARN_BOOL_CONVERSION = YES;
388 | CLANG_WARN_COMMA = YES;
389 | CLANG_WARN_CONSTANT_CONVERSION = YES;
390 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
391 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
392 | CLANG_WARN_EMPTY_BODY = YES;
393 | CLANG_WARN_ENUM_CONVERSION = YES;
394 | CLANG_WARN_INFINITE_RECURSION = YES;
395 | CLANG_WARN_INT_CONVERSION = YES;
396 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
397 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
398 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
399 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
400 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
401 | CLANG_WARN_STRICT_PROTOTYPES = YES;
402 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
403 | CLANG_WARN_UNREACHABLE_CODE = YES;
404 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
405 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
406 | COPY_PHASE_STRIP = NO;
407 | DEBUG_INFORMATION_FORMAT = dwarf;
408 | ENABLE_STRICT_OBJC_MSGSEND = YES;
409 | ENABLE_TESTABILITY = YES;
410 | GCC_C_LANGUAGE_STANDARD = gnu99;
411 | GCC_DYNAMIC_NO_PIC = NO;
412 | GCC_NO_COMMON_BLOCKS = YES;
413 | GCC_OPTIMIZATION_LEVEL = 0;
414 | GCC_PREPROCESSOR_DEFINITIONS = (
415 | "DEBUG=1",
416 | "$(inherited)",
417 | );
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 = 9.0;
425 | MTL_ENABLE_DEBUG_INFO = YES;
426 | ONLY_ACTIVE_ARCH = YES;
427 | SDKROOT = iphoneos;
428 | TARGETED_DEVICE_FAMILY = "1,2";
429 | };
430 | name = Debug;
431 | };
432 | 97C147041CF9000F007C117D /* Release */ = {
433 | isa = XCBuildConfiguration;
434 | buildSettings = {
435 | ALWAYS_SEARCH_USER_PATHS = NO;
436 | CLANG_ANALYZER_NONNULL = YES;
437 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
438 | CLANG_CXX_LIBRARY = "libc++";
439 | CLANG_ENABLE_MODULES = YES;
440 | CLANG_ENABLE_OBJC_ARC = YES;
441 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
442 | CLANG_WARN_BOOL_CONVERSION = YES;
443 | CLANG_WARN_COMMA = YES;
444 | CLANG_WARN_CONSTANT_CONVERSION = YES;
445 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
446 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
447 | CLANG_WARN_EMPTY_BODY = YES;
448 | CLANG_WARN_ENUM_CONVERSION = YES;
449 | CLANG_WARN_INFINITE_RECURSION = YES;
450 | CLANG_WARN_INT_CONVERSION = YES;
451 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
452 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
453 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
454 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
455 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
456 | CLANG_WARN_STRICT_PROTOTYPES = YES;
457 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
458 | CLANG_WARN_UNREACHABLE_CODE = YES;
459 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
460 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
461 | COPY_PHASE_STRIP = NO;
462 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
463 | ENABLE_NS_ASSERTIONS = NO;
464 | ENABLE_STRICT_OBJC_MSGSEND = YES;
465 | GCC_C_LANGUAGE_STANDARD = gnu99;
466 | GCC_NO_COMMON_BLOCKS = YES;
467 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
468 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
469 | GCC_WARN_UNDECLARED_SELECTOR = YES;
470 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
471 | GCC_WARN_UNUSED_FUNCTION = YES;
472 | GCC_WARN_UNUSED_VARIABLE = YES;
473 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
474 | MTL_ENABLE_DEBUG_INFO = NO;
475 | SDKROOT = iphoneos;
476 | SUPPORTED_PLATFORMS = iphoneos;
477 | SWIFT_COMPILATION_MODE = wholemodule;
478 | SWIFT_OPTIMIZATION_LEVEL = "-O";
479 | TARGETED_DEVICE_FAMILY = "1,2";
480 | VALIDATE_PRODUCT = YES;
481 | };
482 | name = Release;
483 | };
484 | 97C147061CF9000F007C117D /* Debug */ = {
485 | isa = XCBuildConfiguration;
486 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
487 | buildSettings = {
488 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
489 | CLANG_ENABLE_MODULES = YES;
490 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
491 | ENABLE_BITCODE = NO;
492 | INFOPLIST_FILE = Runner/Info.plist;
493 | LD_RUNPATH_SEARCH_PATHS = (
494 | "$(inherited)",
495 | "@executable_path/Frameworks",
496 | );
497 | PRODUCT_BUNDLE_IDENTIFIER = com.example.blocauth;
498 | PRODUCT_NAME = "$(TARGET_NAME)";
499 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
500 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
501 | SWIFT_VERSION = 5.0;
502 | VERSIONING_SYSTEM = "apple-generic";
503 | };
504 | name = Debug;
505 | };
506 | 97C147071CF9000F007C117D /* Release */ = {
507 | isa = XCBuildConfiguration;
508 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
509 | buildSettings = {
510 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
511 | CLANG_ENABLE_MODULES = YES;
512 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
513 | ENABLE_BITCODE = NO;
514 | INFOPLIST_FILE = Runner/Info.plist;
515 | LD_RUNPATH_SEARCH_PATHS = (
516 | "$(inherited)",
517 | "@executable_path/Frameworks",
518 | );
519 | PRODUCT_BUNDLE_IDENTIFIER = com.example.blocauth;
520 | PRODUCT_NAME = "$(TARGET_NAME)";
521 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
522 | SWIFT_VERSION = 5.0;
523 | VERSIONING_SYSTEM = "apple-generic";
524 | };
525 | name = Release;
526 | };
527 | /* End XCBuildConfiguration section */
528 |
529 | /* Begin XCConfigurationList section */
530 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
531 | isa = XCConfigurationList;
532 | buildConfigurations = (
533 | 97C147031CF9000F007C117D /* Debug */,
534 | 97C147041CF9000F007C117D /* Release */,
535 | 249021D3217E4FDB00AE95B9 /* Profile */,
536 | );
537 | defaultConfigurationIsVisible = 0;
538 | defaultConfigurationName = Release;
539 | };
540 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
541 | isa = XCConfigurationList;
542 | buildConfigurations = (
543 | 97C147061CF9000F007C117D /* Debug */,
544 | 97C147071CF9000F007C117D /* Release */,
545 | 249021D4217E4FDB00AE95B9 /* Profile */,
546 | );
547 | defaultConfigurationIsVisible = 0;
548 | defaultConfigurationName = Release;
549 | };
550 | /* End XCConfigurationList section */
551 | };
552 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
553 | }
554 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
37 |
38 |
39 |
40 |
41 |
42 |
52 |
54 |
60 |
61 |
62 |
63 |
69 |
71 |
77 |
78 |
79 |
80 |
82 |
83 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
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: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/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/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ios/Runner/GoogleService-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CLIENT_ID
6 | 55074450439-kmbe6ehvo9kh9lsbge6fsdsu6dv2tsjl.apps.googleusercontent.com
7 | REVERSED_CLIENT_ID
8 | com.googleusercontent.apps.55074450439-kmbe6ehvo9kh9lsbge6fsdsu6dv2tsjl
9 | API_KEY
10 | AIzaSyBzex3hK1NlTwXucL4ZKUF1aXb1xZB-8to
11 | GCM_SENDER_ID
12 | 55074450439
13 | PLIST_VERSION
14 | 1
15 | BUNDLE_ID
16 | com.example.blocauth
17 | PROJECT_ID
18 | blocauth-ac521
19 | STORAGE_BUCKET
20 | blocauth-ac521.appspot.com
21 | IS_ADS_ENABLED
22 |
23 | IS_ANALYTICS_ENABLED
24 |
25 | IS_APPINVITE_ENABLED
26 |
27 | IS_GCM_ENABLED
28 |
29 | IS_SIGNIN_ENABLED
30 |
31 | GOOGLE_APP_ID
32 | 1:55074450439:ios:dc23882c15552affd64ea2
33 |
34 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleURLTypes
6 |
7 |
8 | CFBundleTypeRole
9 | Editor
10 | CFBundleURLSchemes
11 |
12 | fb628934748241011
13 | socialauth
14 | com.googleusercontent.apps.55074450439-kmbe6ehvo9kh9lsbge6fsdsu6dv2tsjl
15 |
16 |
17 |
18 | FacebookAppID
19 | 628934748241011
20 | FacebookClientToken
21 | e5cdd171c963cb8d185c41e46d8778e6
22 | FacebookDisplayName
23 |
24 | CFBundleDevelopmentRegion
25 | $(DEVELOPMENT_LANGUAGE)
26 | CFBundleDisplayName
27 | Blocauth
28 | CFBundleExecutable
29 | $(EXECUTABLE_NAME)
30 | CFBundleIdentifier
31 | $(PRODUCT_BUNDLE_IDENTIFIER)
32 | CFBundleInfoDictionaryVersion
33 | 6.0
34 | CFBundleName
35 | blocauth
36 | CFBundlePackageType
37 | APPL
38 | CFBundleShortVersionString
39 | $(FLUTTER_BUILD_NAME)
40 | CFBundleSignature
41 | ????
42 | CFBundleVersion
43 | $(FLUTTER_BUILD_NUMBER)
44 | LSRequiresIPhoneOS
45 |
46 | UILaunchStoryboardName
47 | LaunchScreen
48 | UIMainStoryboardFile
49 | Main
50 | UISupportedInterfaceOrientations
51 |
52 | UIInterfaceOrientationPortrait
53 | UIInterfaceOrientationLandscapeLeft
54 | UIInterfaceOrientationLandscapeRight
55 |
56 | UISupportedInterfaceOrientations~ipad
57 |
58 | UIInterfaceOrientationPortrait
59 | UIInterfaceOrientationPortraitUpsideDown
60 | UIInterfaceOrientationLandscapeLeft
61 | UIInterfaceOrientationLandscapeRight
62 |
63 | UIViewControllerBasedStatusBarAppearance
64 |
65 | CADisableMinimumFrameDurationOnPhone
66 |
67 |
68 |
69 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:blocauth/provider/internet_provider.dart';
2 | import 'package:blocauth/provider/sign_in_provider.dart';
3 | import 'package:blocauth/screens/splash_screen.dart';
4 | import 'package:firebase_core/firebase_core.dart';
5 | import 'package:flutter/material.dart';
6 | import 'package:provider/provider.dart';
7 |
8 | void main() async {
9 | // initialize the application
10 | WidgetsFlutterBinding.ensureInitialized();
11 | await Firebase.initializeApp();
12 | runApp(const MyApp());
13 | }
14 |
15 | class MyApp extends StatelessWidget {
16 | const MyApp({Key? key}) : super(key: key);
17 |
18 | @override
19 | Widget build(BuildContext context) {
20 | return MultiProvider(
21 | providers: [
22 | ChangeNotifierProvider(
23 | create: ((context) => SignInProvider()),
24 | ),
25 | ChangeNotifierProvider(
26 | create: ((context) => InternetProvider()),
27 | ),
28 | ],
29 | child: const MaterialApp(
30 | home: SplashScreen(),
31 | debugShowCheckedModeBanner: false,
32 | ),
33 | );
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/lib/provider/internet_provider.dart:
--------------------------------------------------------------------------------
1 | import 'package:connectivity_plus/connectivity_plus.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | class InternetProvider extends ChangeNotifier {
5 | bool _hasInternet = false;
6 | bool get hasInternet => _hasInternet;
7 |
8 | InternetProvider() {
9 | checkInternetConnection();
10 | }
11 |
12 | Future checkInternetConnection() async {
13 | var result = await Connectivity().checkConnectivity();
14 | if (result == ConnectivityResult.none) {
15 | _hasInternet = false;
16 | } else {
17 | _hasInternet = true;
18 | }
19 | notifyListeners();
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/lib/provider/sign_in_provider.dart:
--------------------------------------------------------------------------------
1 | import 'dart:convert';
2 |
3 | import 'package:blocauth/utils/config.dart';
4 | import 'package:cloud_firestore/cloud_firestore.dart';
5 | import 'package:firebase_auth/firebase_auth.dart';
6 | import 'package:flutter/material.dart';
7 | import 'package:flutter_facebook_auth/flutter_facebook_auth.dart';
8 | import 'package:google_sign_in/google_sign_in.dart';
9 | import 'package:http/http.dart' as http;
10 | import 'package:shared_preferences/shared_preferences.dart';
11 | import 'package:twitter_login/twitter_login.dart';
12 |
13 | class SignInProvider extends ChangeNotifier {
14 | // instance of firebaseauth, facebook and google
15 | final FirebaseAuth firebaseAuth = FirebaseAuth.instance;
16 | final FacebookAuth facebookAuth = FacebookAuth.instance;
17 | final GoogleSignIn googleSignIn = GoogleSignIn();
18 | final twitterLogin = TwitterLogin(
19 | apiKey: Config.apikey_twitter,
20 | apiSecretKey: Config.secretkey_twitter,
21 | redirectURI: "socialauth://");
22 |
23 | bool _isSignedIn = false;
24 | bool get isSignedIn => _isSignedIn;
25 |
26 | //hasError, errorCode, provider,uid, email, name, imageUrl
27 | bool _hasError = false;
28 | bool get hasError => _hasError;
29 |
30 | String? _errorCode;
31 | String? get errorCode => _errorCode;
32 |
33 | String? _provider;
34 | String? get provider => _provider;
35 |
36 | String? _uid;
37 | String? get uid => _uid;
38 |
39 | String? _name;
40 | String? get name => _name;
41 |
42 | String? _email;
43 | String? get email => _email;
44 |
45 | String? _imageUrl;
46 | String? get imageUrl => _imageUrl;
47 |
48 | SignInProvider() {
49 | checkSignInUser();
50 | }
51 |
52 | Future checkSignInUser() async {
53 | final SharedPreferences s = await SharedPreferences.getInstance();
54 | _isSignedIn = s.getBool("signed_in") ?? false;
55 | notifyListeners();
56 | }
57 |
58 | Future setSignIn() async {
59 | final SharedPreferences s = await SharedPreferences.getInstance();
60 | s.setBool("signed_in", true);
61 | _isSignedIn = true;
62 | notifyListeners();
63 | }
64 |
65 | // sign in with google
66 | Future signInWithGoogle() async {
67 | final GoogleSignInAccount? googleSignInAccount =
68 | await googleSignIn.signIn();
69 |
70 | if (googleSignInAccount != null) {
71 | // executing our authentication
72 | try {
73 | final GoogleSignInAuthentication googleSignInAuthentication =
74 | await googleSignInAccount.authentication;
75 | final AuthCredential credential = GoogleAuthProvider.credential(
76 | accessToken: googleSignInAuthentication.accessToken,
77 | idToken: googleSignInAuthentication.idToken,
78 | );
79 |
80 | // signing to firebase user instance
81 | final User userDetails =
82 | (await firebaseAuth.signInWithCredential(credential)).user!;
83 |
84 | // now save all values
85 | _name = userDetails.displayName;
86 | _email = userDetails.email;
87 | _imageUrl = userDetails.photoURL;
88 | _provider = "GOOGLE";
89 | _uid = userDetails.uid;
90 | notifyListeners();
91 | } on FirebaseAuthException catch (e) {
92 | switch (e.code) {
93 | case "account-exists-with-different-credential":
94 | _errorCode =
95 | "You already have an account with us. Use correct provider";
96 | _hasError = true;
97 | notifyListeners();
98 | break;
99 |
100 | case "null":
101 | _errorCode = "Some unexpected error while trying to sign in";
102 | _hasError = true;
103 | notifyListeners();
104 | break;
105 | default:
106 | _errorCode = e.toString();
107 | _hasError = true;
108 | notifyListeners();
109 | }
110 | }
111 | } else {
112 | _hasError = true;
113 | notifyListeners();
114 | }
115 | }
116 |
117 | // sign in with twitter
118 | Future signInWithTwitter() async {
119 | final authResult = await twitterLogin.loginV2();
120 | if (authResult.status == TwitterLoginStatus.loggedIn) {
121 | try {
122 | final credential = TwitterAuthProvider.credential(
123 | accessToken: authResult.authToken!,
124 | secret: authResult.authTokenSecret!);
125 | await firebaseAuth.signInWithCredential(credential);
126 |
127 | final userDetails = authResult.user;
128 | // save all the data
129 | _name = userDetails!.name;
130 | _email = firebaseAuth.currentUser!.email;
131 | _imageUrl = userDetails.thumbnailImage;
132 | _uid = userDetails.id.toString();
133 | _provider = "TWITTER";
134 | _hasError = false;
135 | notifyListeners();
136 | } on FirebaseAuthException catch (e) {
137 | switch (e.code) {
138 | case "account-exists-with-different-credential":
139 | _errorCode =
140 | "You already have an account with us. Use correct provider";
141 | _hasError = true;
142 | notifyListeners();
143 | break;
144 |
145 | case "null":
146 | _errorCode = "Some unexpected error while trying to sign in";
147 | _hasError = true;
148 | notifyListeners();
149 | break;
150 | default:
151 | _errorCode = e.toString();
152 | _hasError = true;
153 | notifyListeners();
154 | }
155 | }
156 | } else {
157 | _hasError = true;
158 | notifyListeners();
159 | }
160 | }
161 |
162 | // sign in with facebook
163 | Future signInWithFacebook() async {
164 | final LoginResult result = await facebookAuth.login();
165 | // getting the profile
166 | final graphResponse = await http.get(Uri.parse(
167 | 'https://graph.facebook.com/v2.12/me?fields=name,picture.width(800).height(800),first_name,last_name,email&access_token=${result.accessToken!.token}'));
168 |
169 | final profile = jsonDecode(graphResponse.body);
170 |
171 | if (result.status == LoginStatus.success) {
172 | try {
173 | final OAuthCredential credential =
174 | FacebookAuthProvider.credential(result.accessToken!.token);
175 | await firebaseAuth.signInWithCredential(credential);
176 | // saving the values
177 | _name = profile['name'];
178 | _email = profile['email'];
179 | _imageUrl = profile['picture']['data']['url'];
180 | _uid = profile['id'];
181 | _hasError = false;
182 | _provider = "FACEBOOK";
183 | notifyListeners();
184 | } on FirebaseAuthException catch (e) {
185 | switch (e.code) {
186 | case "account-exists-with-different-credential":
187 | _errorCode =
188 | "You already have an account with us. Use correct provider";
189 | _hasError = true;
190 | notifyListeners();
191 | break;
192 |
193 | case "null":
194 | _errorCode = "Some unexpected error while trying to sign in";
195 | _hasError = true;
196 | notifyListeners();
197 | break;
198 | default:
199 | _errorCode = e.toString();
200 | _hasError = true;
201 | notifyListeners();
202 | }
203 | }
204 | } else {
205 | _hasError = true;
206 | notifyListeners();
207 | }
208 | }
209 |
210 | // ENTRY FOR CLOUDFIRESTORE
211 | Future getUserDataFromFirestore(uid) async {
212 | await FirebaseFirestore.instance
213 | .collection("users")
214 | .doc(uid)
215 | .get()
216 | .then((DocumentSnapshot snapshot) => {
217 | _uid = snapshot['uid'],
218 | _name = snapshot['name'],
219 | _email = snapshot['email'],
220 | _imageUrl = snapshot['image_url'],
221 | _provider = snapshot['provider'],
222 | });
223 | }
224 |
225 | Future saveDataToFirestore() async {
226 | final DocumentReference r =
227 | FirebaseFirestore.instance.collection("users").doc(uid);
228 | await r.set({
229 | "name": _name,
230 | "email": _email,
231 | "uid": _uid,
232 | "image_url": _imageUrl,
233 | "provider": _provider,
234 | });
235 | notifyListeners();
236 | }
237 |
238 | Future saveDataToSharedPreferences() async {
239 | final SharedPreferences s = await SharedPreferences.getInstance();
240 | await s.setString('name', _name!);
241 | await s.setString('email', _email!);
242 | await s.setString('uid', _uid!);
243 | await s.setString('image_url', _imageUrl!);
244 | await s.setString('provider', _provider!);
245 | notifyListeners();
246 | }
247 |
248 | Future getDataFromSharedPreferences() async {
249 | final SharedPreferences s = await SharedPreferences.getInstance();
250 | _name = s.getString('name');
251 | _email = s.getString('email');
252 | _imageUrl = s.getString('image_url');
253 | _uid = s.getString('uid');
254 | _provider = s.getString('provider');
255 | notifyListeners();
256 | }
257 |
258 | // checkUser exists or not in cloudfirestore
259 | Future checkUserExists() async {
260 | DocumentSnapshot snap =
261 | await FirebaseFirestore.instance.collection('users').doc(_uid).get();
262 | if (snap.exists) {
263 | print("EXISTING USER");
264 | return true;
265 | } else {
266 | print("NEW USER");
267 | return false;
268 | }
269 | }
270 |
271 | // signout
272 | Future userSignOut() async {
273 | await firebaseAuth.signOut;
274 | await googleSignIn.signOut();
275 | await facebookAuth.logOut();
276 |
277 | _isSignedIn = false;
278 | notifyListeners();
279 | // clear all storage information
280 | clearStoredData();
281 | }
282 |
283 | Future clearStoredData() async {
284 | final SharedPreferences s = await SharedPreferences.getInstance();
285 | s.clear();
286 | }
287 |
288 | void phoneNumberUser(User user, email, name) {
289 | _name = name;
290 | _email = email;
291 | _imageUrl =
292 | "https://winaero.com/blog/wp-content/uploads/2017/12/User-icon-256-blue.png";
293 | _uid = user.phoneNumber;
294 | _provider = "PHONE";
295 | notifyListeners();
296 | }
297 | }
298 |
--------------------------------------------------------------------------------
/lib/screens/home_screen.dart:
--------------------------------------------------------------------------------
1 | import 'package:blocauth/screens/login_screen.dart';
2 | import 'package:blocauth/utils/next_screen.dart';
3 | import 'package:provider/provider.dart';
4 | import 'package:blocauth/provider/sign_in_provider.dart';
5 | import 'package:flutter/material.dart';
6 |
7 | class HomeScreen extends StatefulWidget {
8 | const HomeScreen({Key? key}) : super(key: key);
9 |
10 | @override
11 | State createState() => _HomeScreenState();
12 | }
13 |
14 | class _HomeScreenState extends State {
15 | Future getData() async {
16 | final sp = context.read();
17 | sp.getDataFromSharedPreferences();
18 | }
19 |
20 | @override
21 | void initState() {
22 | super.initState();
23 | getData();
24 | }
25 |
26 | @override
27 | Widget build(BuildContext context) {
28 | // change read to watch!!!!
29 | final sp = context.watch();
30 | return Scaffold(
31 | body: Center(
32 | child: Column(
33 | mainAxisAlignment: MainAxisAlignment.center,
34 | crossAxisAlignment: CrossAxisAlignment.center,
35 | children: [
36 | CircleAvatar(
37 | backgroundColor: Colors.white,
38 | backgroundImage: NetworkImage("${sp.imageUrl}"),
39 | radius: 50,
40 | ),
41 | const SizedBox(
42 | height: 20,
43 | ),
44 | Text(
45 | "Welcome ${sp.name}",
46 | style: const TextStyle(fontSize: 15, fontWeight: FontWeight.w500),
47 | ),
48 | const SizedBox(
49 | height: 10,
50 | ),
51 | Text(
52 | "${sp.email}",
53 | style: const TextStyle(fontSize: 12, fontWeight: FontWeight.w500),
54 | ),
55 | const SizedBox(
56 | height: 10,
57 | ),
58 | Text(
59 | "${sp.uid}",
60 | style: const TextStyle(fontSize: 12, fontWeight: FontWeight.w500),
61 | ),
62 | const SizedBox(
63 | height: 10,
64 | ),
65 | Row(
66 | crossAxisAlignment: CrossAxisAlignment.center,
67 | mainAxisAlignment: MainAxisAlignment.center,
68 | children: [
69 | const Text("PROVIDER:"),
70 | const SizedBox(
71 | width: 5,
72 | ),
73 | Text("${sp.provider}".toUpperCase(),
74 | style: const TextStyle(color: Colors.red)),
75 | ],
76 | ),
77 | const SizedBox(
78 | height: 20,
79 | ),
80 | ElevatedButton(
81 | onPressed: () {
82 | sp.userSignOut();
83 | nextScreenReplace(context, const LoginScreen());
84 | },
85 | child: const Text("SIGNOUT",
86 | style: TextStyle(
87 | color: Colors.white,
88 | )))
89 | ],
90 | ),
91 | ),
92 | );
93 | }
94 | }
95 |
--------------------------------------------------------------------------------
/lib/screens/login_screen.dart:
--------------------------------------------------------------------------------
1 | import 'package:blocauth/provider/internet_provider.dart';
2 | import 'package:blocauth/provider/sign_in_provider.dart';
3 | import 'package:blocauth/screens/home_screen.dart';
4 | import 'package:blocauth/screens/phoneauth_screen.dart';
5 | import 'package:blocauth/utils/config.dart';
6 | import 'package:blocauth/utils/next_screen.dart';
7 | import 'package:blocauth/utils/snack_bar.dart';
8 | import 'package:flutter/material.dart';
9 | import 'package:font_awesome_flutter/font_awesome_flutter.dart';
10 | import 'package:rounded_loading_button/rounded_loading_button.dart';
11 | import 'package:provider/provider.dart';
12 |
13 | class LoginScreen extends StatefulWidget {
14 | const LoginScreen({Key? key}) : super(key: key);
15 |
16 | @override
17 | State createState() => _LoginScreenState();
18 | }
19 |
20 | class _LoginScreenState extends State {
21 | final GlobalKey _scaffoldKey = GlobalKey();
22 | final RoundedLoadingButtonController googleController =
23 | RoundedLoadingButtonController();
24 | final RoundedLoadingButtonController facebookController =
25 | RoundedLoadingButtonController();
26 | final RoundedLoadingButtonController twitterController =
27 | RoundedLoadingButtonController();
28 | final RoundedLoadingButtonController phoneController =
29 | RoundedLoadingButtonController();
30 |
31 | @override
32 | Widget build(BuildContext context) {
33 | return Scaffold(
34 | key: _scaffoldKey,
35 | backgroundColor: Colors.white,
36 | body: SafeArea(
37 | child: Padding(
38 | padding:
39 | const EdgeInsets.only(left: 40, right: 40, top: 90, bottom: 30),
40 | child: Column(
41 | crossAxisAlignment: CrossAxisAlignment.start,
42 | children: [
43 | Flexible(
44 | flex: 2,
45 | child: Column(
46 | crossAxisAlignment: CrossAxisAlignment.start,
47 | children: [
48 | Image(
49 | image: AssetImage(Config.app_icon),
50 | height: 80,
51 | width: 80,
52 | fit: BoxFit.cover,
53 | ),
54 | const SizedBox(
55 | height: 20,
56 | ),
57 | const Text("Welcome to FlutterFirebase",
58 | style:
59 | TextStyle(fontSize: 25, fontWeight: FontWeight.w500)),
60 | const SizedBox(
61 | height: 10,
62 | ),
63 | Text(
64 | "Learn Authentication with Provider",
65 | style: TextStyle(fontSize: 15, color: Colors.grey[600]),
66 | )
67 | ],
68 | ),
69 | ),
70 |
71 | // roundedbutton
72 | Column(
73 | crossAxisAlignment: CrossAxisAlignment.center,
74 | mainAxisAlignment: MainAxisAlignment.center,
75 | children: [
76 | RoundedLoadingButton(
77 | onPressed: () {
78 | handleGoogleSignIn();
79 | },
80 | controller: googleController,
81 | successColor: Colors.red,
82 | width: MediaQuery.of(context).size.width * 0.80,
83 | elevation: 0,
84 | borderRadius: 25,
85 | color: Colors.red,
86 | child: Wrap(
87 | children: const [
88 | Icon(
89 | FontAwesomeIcons.google,
90 | size: 20,
91 | color: Colors.white,
92 | ),
93 | SizedBox(
94 | width: 15,
95 | ),
96 | Text("Sign in with Google",
97 | style: TextStyle(
98 | color: Colors.white,
99 | fontSize: 15,
100 | fontWeight: FontWeight.w500)),
101 | ],
102 | ),
103 | ),
104 | const SizedBox(
105 | height: 10,
106 | ),
107 | // facebook login button
108 | RoundedLoadingButton(
109 | onPressed: () {
110 | handleFacebookAuth();
111 | },
112 | controller: facebookController,
113 | successColor: Colors.blue,
114 | width: MediaQuery.of(context).size.width * 0.80,
115 | elevation: 0,
116 | borderRadius: 25,
117 | color: Colors.blue,
118 | child: Wrap(
119 | children: const [
120 | Icon(
121 | FontAwesomeIcons.facebook,
122 | size: 20,
123 | color: Colors.white,
124 | ),
125 | SizedBox(
126 | width: 15,
127 | ),
128 | Text("Sign in with Facebook",
129 | style: TextStyle(
130 | color: Colors.white,
131 | fontSize: 15,
132 | fontWeight: FontWeight.w500)),
133 | ],
134 | ),
135 | ),
136 | const SizedBox(
137 | height: 10,
138 | ),
139 |
140 | // twitter loading button
141 | RoundedLoadingButton(
142 | onPressed: () {
143 | handleTwitterAuth();
144 | },
145 | controller: twitterController,
146 | successColor: Colors.lightBlue,
147 | width: MediaQuery.of(context).size.width * 0.80,
148 | elevation: 0,
149 | borderRadius: 25,
150 | color: Colors.lightBlue,
151 | child: Wrap(
152 | children: const [
153 | Icon(
154 | FontAwesomeIcons.twitter,
155 | size: 20,
156 | color: Colors.white,
157 | ),
158 | SizedBox(
159 | width: 15,
160 | ),
161 | Text("Continue with Twitter",
162 | style: TextStyle(
163 | color: Colors.white,
164 | fontSize: 15,
165 | fontWeight: FontWeight.w500)),
166 | ],
167 | ),
168 | ),
169 | const SizedBox(
170 | height: 10,
171 | ),
172 |
173 | // phoneAuth loading button
174 | RoundedLoadingButton(
175 | onPressed: () {
176 | nextScreenReplace(context, const PhoneAuthScreen());
177 | phoneController.reset();
178 | },
179 | controller: phoneController,
180 | successColor: Colors.black,
181 | width: MediaQuery.of(context).size.width * 0.80,
182 | elevation: 0,
183 | borderRadius: 25,
184 | color: Colors.black,
185 | child: Wrap(
186 | children: const [
187 | Icon(
188 | FontAwesomeIcons.phone,
189 | size: 20,
190 | color: Colors.white,
191 | ),
192 | SizedBox(
193 | width: 15,
194 | ),
195 | Text("Sign in with Phone",
196 | style: TextStyle(
197 | color: Colors.white,
198 | fontSize: 15,
199 | fontWeight: FontWeight.w500)),
200 | ],
201 | ),
202 | ),
203 | ],
204 | )
205 | ],
206 | ),
207 | )),
208 | );
209 | }
210 |
211 | // handling twitter auth
212 | Future handleTwitterAuth() async {
213 | final sp = context.read();
214 | final ip = context.read();
215 | await ip.checkInternetConnection();
216 |
217 | if (ip.hasInternet == false) {
218 | openSnackbar(context, "Check your Internet connection", Colors.red);
219 | googleController.reset();
220 | } else {
221 | await sp.signInWithTwitter().then((value) {
222 | if (sp.hasError == true) {
223 | openSnackbar(context, sp.errorCode.toString(), Colors.red);
224 | twitterController.reset();
225 | } else {
226 | // checking whether user exists or not
227 | sp.checkUserExists().then((value) async {
228 | if (value == true) {
229 | // user exists
230 | await sp.getUserDataFromFirestore(sp.uid).then((value) => sp
231 | .saveDataToSharedPreferences()
232 | .then((value) => sp.setSignIn().then((value) {
233 | twitterController.success();
234 | handleAfterSignIn();
235 | })));
236 | } else {
237 | // user does not exist
238 | sp.saveDataToFirestore().then((value) => sp
239 | .saveDataToSharedPreferences()
240 | .then((value) => sp.setSignIn().then((value) {
241 | twitterController.success();
242 | handleAfterSignIn();
243 | })));
244 | }
245 | });
246 | }
247 | });
248 | }
249 | }
250 |
251 | // handling google sigin in
252 | Future handleGoogleSignIn() async {
253 | final sp = context.read();
254 | final ip = context.read();
255 | await ip.checkInternetConnection();
256 |
257 | if (ip.hasInternet == false) {
258 | openSnackbar(context, "Check your Internet connection", Colors.red);
259 | googleController.reset();
260 | } else {
261 | await sp.signInWithGoogle().then((value) {
262 | if (sp.hasError == true) {
263 | openSnackbar(context, sp.errorCode.toString(), Colors.red);
264 | googleController.reset();
265 | } else {
266 | // checking whether user exists or not
267 | sp.checkUserExists().then((value) async {
268 | if (value == true) {
269 | // user exists
270 | await sp.getUserDataFromFirestore(sp.uid).then((value) => sp
271 | .saveDataToSharedPreferences()
272 | .then((value) => sp.setSignIn().then((value) {
273 | googleController.success();
274 | handleAfterSignIn();
275 | })));
276 | } else {
277 | // user does not exist
278 | sp.saveDataToFirestore().then((value) => sp
279 | .saveDataToSharedPreferences()
280 | .then((value) => sp.setSignIn().then((value) {
281 | googleController.success();
282 | handleAfterSignIn();
283 | })));
284 | }
285 | });
286 | }
287 | });
288 | }
289 | }
290 |
291 | // handling facebookauth
292 | // handling google sigin in
293 | Future handleFacebookAuth() async {
294 | final sp = context.read();
295 | final ip = context.read();
296 | await ip.checkInternetConnection();
297 |
298 | if (ip.hasInternet == false) {
299 | openSnackbar(context, "Check your Internet connection", Colors.red);
300 | facebookController.reset();
301 | } else {
302 | await sp.signInWithFacebook().then((value) {
303 | if (sp.hasError == true) {
304 | openSnackbar(context, sp.errorCode.toString(), Colors.red);
305 | facebookController.reset();
306 | } else {
307 | // checking whether user exists or not
308 | sp.checkUserExists().then((value) async {
309 | if (value == true) {
310 | // user exists
311 | await sp.getUserDataFromFirestore(sp.uid).then((value) => sp
312 | .saveDataToSharedPreferences()
313 | .then((value) => sp.setSignIn().then((value) {
314 | facebookController.success();
315 | handleAfterSignIn();
316 | })));
317 | } else {
318 | // user does not exist
319 | sp.saveDataToFirestore().then((value) => sp
320 | .saveDataToSharedPreferences()
321 | .then((value) => sp.setSignIn().then((value) {
322 | facebookController.success();
323 | handleAfterSignIn();
324 | })));
325 | }
326 | });
327 | }
328 | });
329 | }
330 | }
331 |
332 | // handle after signin
333 | handleAfterSignIn() {
334 | Future.delayed(const Duration(milliseconds: 1000)).then((value) {
335 | nextScreenReplace(context, const HomeScreen());
336 | });
337 | }
338 | }
339 |
--------------------------------------------------------------------------------
/lib/screens/phoneauth_screen.dart:
--------------------------------------------------------------------------------
1 | import 'package:blocauth/provider/internet_provider.dart';
2 | import 'package:blocauth/provider/sign_in_provider.dart';
3 | import 'package:blocauth/screens/home_screen.dart';
4 | import 'package:blocauth/screens/login_screen.dart';
5 | import 'package:blocauth/utils/config.dart';
6 | import 'package:blocauth/utils/next_screen.dart';
7 | import 'package:blocauth/utils/snack_bar.dart';
8 | import 'package:firebase_auth/firebase_auth.dart';
9 | import 'package:flutter/material.dart';
10 | import 'package:provider/provider.dart';
11 |
12 | class PhoneAuthScreen extends StatefulWidget {
13 | const PhoneAuthScreen({Key? key}) : super(key: key);
14 |
15 | @override
16 | State createState() => _PhoneAuthScreenState();
17 | }
18 |
19 | class _PhoneAuthScreenState extends State {
20 | final formKey = GlobalKey();
21 | // controller -> phone, email, name, otp code
22 | TextEditingController phoneController = TextEditingController();
23 | TextEditingController emailController = TextEditingController();
24 | TextEditingController nameController = TextEditingController();
25 | TextEditingController otpCodeController = TextEditingController();
26 |
27 | @override
28 | Widget build(BuildContext context) {
29 | return Scaffold(
30 | appBar: AppBar(
31 | backgroundColor: Colors.white,
32 | elevation: 0,
33 | leading: IconButton(
34 | icon: const Icon(
35 | Icons.arrow_back_ios,
36 | color: Colors.black,
37 | ),
38 | onPressed: () {
39 | nextScreenReplace(context, const LoginScreen());
40 | },
41 | ),
42 | ),
43 | body: SingleChildScrollView(
44 | child: Container(
45 | padding: const EdgeInsets.all(20),
46 | child: Form(
47 | key: formKey,
48 | child: Column(
49 | mainAxisAlignment: MainAxisAlignment.center,
50 | crossAxisAlignment: CrossAxisAlignment.start,
51 | children: [
52 | Image(
53 | image: AssetImage(Config.app_icon), height: 50, width: 50),
54 | const SizedBox(
55 | height: 10,
56 | ),
57 | const Text(
58 | "Phone Login",
59 | style: TextStyle(fontSize: 20, fontWeight: FontWeight.w600),
60 | ),
61 | const SizedBox(
62 | height: 10,
63 | ),
64 | TextFormField(
65 | validator: (value) {
66 | if (value!.isEmpty) {
67 | return "Name cannot be empty";
68 | }
69 | return null;
70 | },
71 | controller: nameController,
72 | textInputAction: TextInputAction.next,
73 | decoration: InputDecoration(
74 | prefixIcon: const Icon(Icons.account_circle),
75 | hintText: "Adam Smith",
76 | hintStyle: TextStyle(color: Colors.grey[600]),
77 | errorBorder: OutlineInputBorder(
78 | borderRadius: BorderRadius.circular(8),
79 | borderSide: const BorderSide(color: Colors.red)),
80 | focusedBorder: OutlineInputBorder(
81 | borderRadius: BorderRadius.circular(8),
82 | borderSide: const BorderSide(color: Colors.grey)),
83 | enabledBorder: OutlineInputBorder(
84 | borderRadius: BorderRadius.circular(8),
85 | borderSide: const BorderSide(color: Colors.grey))),
86 | ),
87 | const SizedBox(
88 | height: 10,
89 | ),
90 | TextFormField(
91 | validator: (value) {
92 | if (value!.isEmpty) {
93 | return "Email address cannot be empty";
94 | }
95 | return null;
96 | },
97 | controller: emailController,
98 | textInputAction: TextInputAction.next,
99 | decoration: InputDecoration(
100 | prefixIcon: const Icon(Icons.email),
101 | hintText: "abc@gmail.com",
102 | hintStyle: TextStyle(color: Colors.grey[600]),
103 | errorBorder: OutlineInputBorder(
104 | borderRadius: BorderRadius.circular(8),
105 | borderSide: const BorderSide(color: Colors.red)),
106 | focusedBorder: OutlineInputBorder(
107 | borderRadius: BorderRadius.circular(8),
108 | borderSide: const BorderSide(color: Colors.grey)),
109 | enabledBorder: OutlineInputBorder(
110 | borderRadius: BorderRadius.circular(8),
111 | borderSide: const BorderSide(color: Colors.grey))),
112 | ),
113 | const SizedBox(
114 | height: 10,
115 | ),
116 | TextFormField(
117 | validator: (value) {
118 | if (value!.isEmpty) {
119 | return "Phone Number cannot be empty";
120 | }
121 | return null;
122 | },
123 | controller: phoneController,
124 | textInputAction: TextInputAction.done,
125 | decoration: InputDecoration(
126 | prefixIcon: const Icon(Icons.phone),
127 | hintText: "+1-1234567890",
128 | hintStyle: TextStyle(color: Colors.grey[600]),
129 | errorBorder: OutlineInputBorder(
130 | borderRadius: BorderRadius.circular(8),
131 | borderSide: const BorderSide(color: Colors.red)),
132 | focusedBorder: OutlineInputBorder(
133 | borderRadius: BorderRadius.circular(8),
134 | borderSide: const BorderSide(color: Colors.grey)),
135 | enabledBorder: OutlineInputBorder(
136 | borderRadius: BorderRadius.circular(8),
137 | borderSide: const BorderSide(color: Colors.grey))),
138 | ),
139 | const SizedBox(
140 | height: 10,
141 | ),
142 | ElevatedButton(
143 | onPressed: () {
144 | login(context, phoneController.text.trim());
145 | },
146 | style: ElevatedButton.styleFrom(
147 | primary: Colors.red,
148 | ),
149 | child: const Text("Register"),
150 | )
151 | ],
152 | ),
153 | ),
154 | ),
155 | ),
156 | );
157 | }
158 |
159 | Future login(BuildContext context, String mobile) async {
160 | final sp = context.read();
161 | final ip = context.read();
162 | await ip.checkInternetConnection();
163 |
164 | if (ip.hasInternet == false) {
165 | openSnackbar(context, "Check your internet connection", Colors.red);
166 | } else {
167 | if (formKey.currentState!.validate()) {
168 | FirebaseAuth.instance.verifyPhoneNumber(
169 | phoneNumber: mobile,
170 | verificationCompleted: (AuthCredential credential) async {
171 | await FirebaseAuth.instance.signInWithCredential(credential);
172 | },
173 | verificationFailed: (FirebaseAuthException e) {
174 | openSnackbar(context, e.toString(), Colors.red);
175 | },
176 | codeSent: (String verificationId, int? forceResendingToken) {
177 | showDialog(
178 | barrierDismissible: false,
179 | context: context,
180 | builder: (context) {
181 | return AlertDialog(
182 | title: const Text("Enter Code"),
183 | content: Column(
184 | mainAxisSize: MainAxisSize.min,
185 | children: [
186 | TextField(
187 | controller: otpCodeController,
188 | decoration: InputDecoration(
189 | prefixIcon: const Icon(Icons.code),
190 | errorBorder: OutlineInputBorder(
191 | borderRadius: BorderRadius.circular(8),
192 | borderSide:
193 | const BorderSide(color: Colors.red)),
194 | enabledBorder: OutlineInputBorder(
195 | borderRadius: BorderRadius.circular(8),
196 | borderSide:
197 | const BorderSide(color: Colors.grey)),
198 | focusedBorder: OutlineInputBorder(
199 | borderRadius: BorderRadius.circular(8),
200 | borderSide:
201 | const BorderSide(color: Colors.grey))),
202 | ),
203 | const SizedBox(
204 | height: 10,
205 | ),
206 | ElevatedButton(
207 | onPressed: () async {
208 | final code = otpCodeController.text.trim();
209 | AuthCredential authCredential =
210 | PhoneAuthProvider.credential(
211 | verificationId: verificationId,
212 | smsCode: code);
213 | User user = (await FirebaseAuth.instance
214 | .signInWithCredential(authCredential))
215 | .user!;
216 | // save the values
217 | sp.phoneNumberUser(user, emailController.text,
218 | nameController.text);
219 | // checking whether user exists,
220 | sp.checkUserExists().then((value) async {
221 | if (value == true) {
222 | // user exists
223 | await sp
224 | .getUserDataFromFirestore(sp.uid)
225 | .then((value) => sp
226 | .saveDataToSharedPreferences()
227 | .then((value) =>
228 | sp.setSignIn().then((value) {
229 | nextScreenReplace(context,
230 | const HomeScreen());
231 | })));
232 | } else {
233 | // user does not exist
234 | await sp.saveDataToFirestore().then((value) =>
235 | sp.saveDataToSharedPreferences().then(
236 | (value) =>
237 | sp.setSignIn().then((value) {
238 | nextScreenReplace(context,
239 | const HomeScreen());
240 | })));
241 | }
242 | });
243 | },
244 | child: const Text("Confirm"),
245 | )
246 | ],
247 | ),
248 | );
249 | });
250 | },
251 | codeAutoRetrievalTimeout: (String verification) {});
252 | }
253 | }
254 | }
255 | }
256 |
--------------------------------------------------------------------------------
/lib/screens/splash_screen.dart:
--------------------------------------------------------------------------------
1 | import 'dart:async';
2 |
3 | import 'package:blocauth/provider/sign_in_provider.dart';
4 | import 'package:blocauth/screens/home_screen.dart';
5 | import 'package:blocauth/screens/login_screen.dart';
6 | import 'package:blocauth/utils/config.dart';
7 | import 'package:blocauth/utils/next_screen.dart';
8 | import 'package:flutter/material.dart';
9 | import 'package:provider/provider.dart';
10 |
11 | class SplashScreen extends StatefulWidget {
12 | const SplashScreen({Key? key}) : super(key: key);
13 |
14 | @override
15 | State createState() => _SplashScreenState();
16 | }
17 |
18 | class _SplashScreenState extends State {
19 | // init state
20 | @override
21 | void initState() {
22 | final sp = context.read();
23 | super.initState();
24 | // create a timer of 2 seconds
25 | Timer(const Duration(seconds: 2), () {
26 | sp.isSignedIn == false
27 | ? nextScreen(context, const LoginScreen())
28 | : nextScreen(context, const HomeScreen());
29 | });
30 | }
31 |
32 | @override
33 | Widget build(BuildContext context) {
34 | return Scaffold(
35 | body: SafeArea(
36 | child: Center(
37 | child: Image(
38 | image: AssetImage(Config.app_icon),
39 | height: 80,
40 | width: 80,
41 | )),
42 | ),
43 | );
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/lib/utils/config.dart:
--------------------------------------------------------------------------------
1 | class Config {
2 | static final app_icon = "assets/logo.png";
3 | static final apikey_twitter = "9Feip53jOk8esDtSM6w08d3XT";
4 | static final secretkey_twitter =
5 | "1eJOsBMqbI5HGjVAH7KNWkJsGgD44EHMFsZrqb1ne5nfYSwhBW";
6 | }
7 |
--------------------------------------------------------------------------------
/lib/utils/next_screen.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | void nextScreen(context, page) {
4 | Navigator.push(context, MaterialPageRoute(builder: (context) => page));
5 | }
6 |
7 | void nextScreenReplace(context, page) {
8 | Navigator.pushReplacement(
9 | context, MaterialPageRoute(builder: (context) => page));
10 | }
11 |
--------------------------------------------------------------------------------
/lib/utils/snack_bar.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | void openSnackbar(context, snackMessage, color) {
4 | ScaffoldMessenger.of(context).showSnackBar(SnackBar(
5 | backgroundColor: color,
6 | action: SnackBarAction(
7 | label: "OK",
8 | textColor: Colors.white,
9 | onPressed: () {},
10 | ),
11 | content: Text(
12 | snackMessage,
13 | style: const TextStyle(fontSize: 14),
14 | )));
15 | }
16 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | args:
5 | dependency: transitive
6 | description:
7 | name: args
8 | url: "https://pub.dartlang.org"
9 | source: hosted
10 | version: "2.3.1"
11 | async:
12 | dependency: transitive
13 | description:
14 | name: async
15 | url: "https://pub.dartlang.org"
16 | source: hosted
17 | version: "2.8.2"
18 | boolean_selector:
19 | dependency: transitive
20 | description:
21 | name: boolean_selector
22 | url: "https://pub.dartlang.org"
23 | source: hosted
24 | version: "2.1.0"
25 | characters:
26 | dependency: transitive
27 | description:
28 | name: characters
29 | url: "https://pub.dartlang.org"
30 | source: hosted
31 | version: "1.2.0"
32 | charcode:
33 | dependency: transitive
34 | description:
35 | name: charcode
36 | url: "https://pub.dartlang.org"
37 | source: hosted
38 | version: "1.3.1"
39 | clock:
40 | dependency: transitive
41 | description:
42 | name: clock
43 | url: "https://pub.dartlang.org"
44 | source: hosted
45 | version: "1.1.0"
46 | cloud_firestore:
47 | dependency: "direct main"
48 | description:
49 | name: cloud_firestore
50 | url: "https://pub.dartlang.org"
51 | source: hosted
52 | version: "3.3.0"
53 | cloud_firestore_platform_interface:
54 | dependency: transitive
55 | description:
56 | name: cloud_firestore_platform_interface
57 | url: "https://pub.dartlang.org"
58 | source: hosted
59 | version: "5.6.0"
60 | cloud_firestore_web:
61 | dependency: transitive
62 | description:
63 | name: cloud_firestore_web
64 | url: "https://pub.dartlang.org"
65 | source: hosted
66 | version: "2.7.0"
67 | collection:
68 | dependency: transitive
69 | description:
70 | name: collection
71 | url: "https://pub.dartlang.org"
72 | source: hosted
73 | version: "1.16.0"
74 | connectivity_plus:
75 | dependency: "direct main"
76 | description:
77 | name: connectivity_plus
78 | url: "https://pub.dartlang.org"
79 | source: hosted
80 | version: "2.3.5"
81 | connectivity_plus_linux:
82 | dependency: transitive
83 | description:
84 | name: connectivity_plus_linux
85 | url: "https://pub.dartlang.org"
86 | source: hosted
87 | version: "1.3.1"
88 | connectivity_plus_macos:
89 | dependency: transitive
90 | description:
91 | name: connectivity_plus_macos
92 | url: "https://pub.dartlang.org"
93 | source: hosted
94 | version: "1.2.4"
95 | connectivity_plus_platform_interface:
96 | dependency: transitive
97 | description:
98 | name: connectivity_plus_platform_interface
99 | url: "https://pub.dartlang.org"
100 | source: hosted
101 | version: "1.2.1"
102 | connectivity_plus_web:
103 | dependency: transitive
104 | description:
105 | name: connectivity_plus_web
106 | url: "https://pub.dartlang.org"
107 | source: hosted
108 | version: "1.2.2"
109 | connectivity_plus_windows:
110 | dependency: transitive
111 | description:
112 | name: connectivity_plus_windows
113 | url: "https://pub.dartlang.org"
114 | source: hosted
115 | version: "1.2.2"
116 | crypto:
117 | dependency: transitive
118 | description:
119 | name: crypto
120 | url: "https://pub.dartlang.org"
121 | source: hosted
122 | version: "3.0.2"
123 | cupertino_icons:
124 | dependency: "direct main"
125 | description:
126 | name: cupertino_icons
127 | url: "https://pub.dartlang.org"
128 | source: hosted
129 | version: "1.0.5"
130 | dbus:
131 | dependency: transitive
132 | description:
133 | name: dbus
134 | url: "https://pub.dartlang.org"
135 | source: hosted
136 | version: "0.7.6"
137 | fake_async:
138 | dependency: transitive
139 | description:
140 | name: fake_async
141 | url: "https://pub.dartlang.org"
142 | source: hosted
143 | version: "1.3.0"
144 | ffi:
145 | dependency: transitive
146 | description:
147 | name: ffi
148 | url: "https://pub.dartlang.org"
149 | source: hosted
150 | version: "2.0.1"
151 | file:
152 | dependency: transitive
153 | description:
154 | name: file
155 | url: "https://pub.dartlang.org"
156 | source: hosted
157 | version: "6.1.2"
158 | firebase_auth:
159 | dependency: "direct main"
160 | description:
161 | name: firebase_auth
162 | url: "https://pub.dartlang.org"
163 | source: hosted
164 | version: "3.4.2"
165 | firebase_auth_platform_interface:
166 | dependency: transitive
167 | description:
168 | name: firebase_auth_platform_interface
169 | url: "https://pub.dartlang.org"
170 | source: hosted
171 | version: "6.3.2"
172 | firebase_auth_web:
173 | dependency: transitive
174 | description:
175 | name: firebase_auth_web
176 | url: "https://pub.dartlang.org"
177 | source: hosted
178 | version: "4.0.0"
179 | firebase_core:
180 | dependency: "direct main"
181 | description:
182 | name: firebase_core
183 | url: "https://pub.dartlang.org"
184 | source: hosted
185 | version: "1.19.2"
186 | firebase_core_platform_interface:
187 | dependency: transitive
188 | description:
189 | name: firebase_core_platform_interface
190 | url: "https://pub.dartlang.org"
191 | source: hosted
192 | version: "4.4.3"
193 | firebase_core_web:
194 | dependency: transitive
195 | description:
196 | name: firebase_core_web
197 | url: "https://pub.dartlang.org"
198 | source: hosted
199 | version: "1.7.0"
200 | flutter:
201 | dependency: "direct main"
202 | description: flutter
203 | source: sdk
204 | version: "0.0.0"
205 | flutter_facebook_auth:
206 | dependency: "direct main"
207 | description:
208 | name: flutter_facebook_auth
209 | url: "https://pub.dartlang.org"
210 | source: hosted
211 | version: "4.4.0+1"
212 | flutter_facebook_auth_platform_interface:
213 | dependency: transitive
214 | description:
215 | name: flutter_facebook_auth_platform_interface
216 | url: "https://pub.dartlang.org"
217 | source: hosted
218 | version: "3.2.0"
219 | flutter_facebook_auth_web:
220 | dependency: transitive
221 | description:
222 | name: flutter_facebook_auth_web
223 | url: "https://pub.dartlang.org"
224 | source: hosted
225 | version: "3.2.0"
226 | flutter_lints:
227 | dependency: "direct dev"
228 | description:
229 | name: flutter_lints
230 | url: "https://pub.dartlang.org"
231 | source: hosted
232 | version: "2.0.1"
233 | flutter_test:
234 | dependency: "direct dev"
235 | description: flutter
236 | source: sdk
237 | version: "0.0.0"
238 | flutter_web_plugins:
239 | dependency: transitive
240 | description: flutter
241 | source: sdk
242 | version: "0.0.0"
243 | font_awesome_flutter:
244 | dependency: "direct main"
245 | description:
246 | name: font_awesome_flutter
247 | url: "https://pub.dartlang.org"
248 | source: hosted
249 | version: "10.1.0"
250 | google_sign_in:
251 | dependency: "direct main"
252 | description:
253 | name: google_sign_in
254 | url: "https://pub.dartlang.org"
255 | source: hosted
256 | version: "5.4.0"
257 | google_sign_in_android:
258 | dependency: transitive
259 | description:
260 | name: google_sign_in_android
261 | url: "https://pub.dartlang.org"
262 | source: hosted
263 | version: "6.0.1"
264 | google_sign_in_ios:
265 | dependency: transitive
266 | description:
267 | name: google_sign_in_ios
268 | url: "https://pub.dartlang.org"
269 | source: hosted
270 | version: "5.4.0"
271 | google_sign_in_platform_interface:
272 | dependency: transitive
273 | description:
274 | name: google_sign_in_platform_interface
275 | url: "https://pub.dartlang.org"
276 | source: hosted
277 | version: "2.2.0"
278 | google_sign_in_web:
279 | dependency: transitive
280 | description:
281 | name: google_sign_in_web
282 | url: "https://pub.dartlang.org"
283 | source: hosted
284 | version: "0.10.2"
285 | http:
286 | dependency: "direct main"
287 | description:
288 | name: http
289 | url: "https://pub.dartlang.org"
290 | source: hosted
291 | version: "0.13.4"
292 | http_parser:
293 | dependency: transitive
294 | description:
295 | name: http_parser
296 | url: "https://pub.dartlang.org"
297 | source: hosted
298 | version: "4.0.1"
299 | intl:
300 | dependency: transitive
301 | description:
302 | name: intl
303 | url: "https://pub.dartlang.org"
304 | source: hosted
305 | version: "0.17.0"
306 | js:
307 | dependency: transitive
308 | description:
309 | name: js
310 | url: "https://pub.dartlang.org"
311 | source: hosted
312 | version: "0.6.4"
313 | lints:
314 | dependency: transitive
315 | description:
316 | name: lints
317 | url: "https://pub.dartlang.org"
318 | source: hosted
319 | version: "2.0.0"
320 | matcher:
321 | dependency: transitive
322 | description:
323 | name: matcher
324 | url: "https://pub.dartlang.org"
325 | source: hosted
326 | version: "0.12.11"
327 | material_color_utilities:
328 | dependency: transitive
329 | description:
330 | name: material_color_utilities
331 | url: "https://pub.dartlang.org"
332 | source: hosted
333 | version: "0.1.4"
334 | meta:
335 | dependency: transitive
336 | description:
337 | name: meta
338 | url: "https://pub.dartlang.org"
339 | source: hosted
340 | version: "1.7.0"
341 | nested:
342 | dependency: transitive
343 | description:
344 | name: nested
345 | url: "https://pub.dartlang.org"
346 | source: hosted
347 | version: "1.0.0"
348 | nm:
349 | dependency: transitive
350 | description:
351 | name: nm
352 | url: "https://pub.dartlang.org"
353 | source: hosted
354 | version: "0.5.0"
355 | path:
356 | dependency: transitive
357 | description:
358 | name: path
359 | url: "https://pub.dartlang.org"
360 | source: hosted
361 | version: "1.8.1"
362 | path_provider_linux:
363 | dependency: transitive
364 | description:
365 | name: path_provider_linux
366 | url: "https://pub.dartlang.org"
367 | source: hosted
368 | version: "2.1.7"
369 | path_provider_platform_interface:
370 | dependency: transitive
371 | description:
372 | name: path_provider_platform_interface
373 | url: "https://pub.dartlang.org"
374 | source: hosted
375 | version: "2.0.4"
376 | path_provider_windows:
377 | dependency: transitive
378 | description:
379 | name: path_provider_windows
380 | url: "https://pub.dartlang.org"
381 | source: hosted
382 | version: "2.1.0"
383 | petitparser:
384 | dependency: transitive
385 | description:
386 | name: petitparser
387 | url: "https://pub.dartlang.org"
388 | source: hosted
389 | version: "5.0.0"
390 | platform:
391 | dependency: transitive
392 | description:
393 | name: platform
394 | url: "https://pub.dartlang.org"
395 | source: hosted
396 | version: "3.1.0"
397 | plugin_platform_interface:
398 | dependency: transitive
399 | description:
400 | name: plugin_platform_interface
401 | url: "https://pub.dartlang.org"
402 | source: hosted
403 | version: "2.1.2"
404 | process:
405 | dependency: transitive
406 | description:
407 | name: process
408 | url: "https://pub.dartlang.org"
409 | source: hosted
410 | version: "4.2.4"
411 | provider:
412 | dependency: "direct main"
413 | description:
414 | name: provider
415 | url: "https://pub.dartlang.org"
416 | source: hosted
417 | version: "6.0.3"
418 | quiver:
419 | dependency: transitive
420 | description:
421 | name: quiver
422 | url: "https://pub.dartlang.org"
423 | source: hosted
424 | version: "3.1.0"
425 | rounded_loading_button:
426 | dependency: "direct main"
427 | description:
428 | name: rounded_loading_button
429 | url: "https://pub.dartlang.org"
430 | source: hosted
431 | version: "2.1.0"
432 | rxdart:
433 | dependency: transitive
434 | description:
435 | name: rxdart
436 | url: "https://pub.dartlang.org"
437 | source: hosted
438 | version: "0.27.4"
439 | shared_preferences:
440 | dependency: "direct main"
441 | description:
442 | name: shared_preferences
443 | url: "https://pub.dartlang.org"
444 | source: hosted
445 | version: "2.0.15"
446 | shared_preferences_android:
447 | dependency: transitive
448 | description:
449 | name: shared_preferences_android
450 | url: "https://pub.dartlang.org"
451 | source: hosted
452 | version: "2.0.12"
453 | shared_preferences_ios:
454 | dependency: transitive
455 | description:
456 | name: shared_preferences_ios
457 | url: "https://pub.dartlang.org"
458 | source: hosted
459 | version: "2.1.1"
460 | shared_preferences_linux:
461 | dependency: transitive
462 | description:
463 | name: shared_preferences_linux
464 | url: "https://pub.dartlang.org"
465 | source: hosted
466 | version: "2.1.1"
467 | shared_preferences_macos:
468 | dependency: transitive
469 | description:
470 | name: shared_preferences_macos
471 | url: "https://pub.dartlang.org"
472 | source: hosted
473 | version: "2.0.4"
474 | shared_preferences_platform_interface:
475 | dependency: transitive
476 | description:
477 | name: shared_preferences_platform_interface
478 | url: "https://pub.dartlang.org"
479 | source: hosted
480 | version: "2.0.0"
481 | shared_preferences_web:
482 | dependency: transitive
483 | description:
484 | name: shared_preferences_web
485 | url: "https://pub.dartlang.org"
486 | source: hosted
487 | version: "2.0.4"
488 | shared_preferences_windows:
489 | dependency: transitive
490 | description:
491 | name: shared_preferences_windows
492 | url: "https://pub.dartlang.org"
493 | source: hosted
494 | version: "2.1.1"
495 | sky_engine:
496 | dependency: transitive
497 | description: flutter
498 | source: sdk
499 | version: "0.0.99"
500 | source_span:
501 | dependency: transitive
502 | description:
503 | name: source_span
504 | url: "https://pub.dartlang.org"
505 | source: hosted
506 | version: "1.8.2"
507 | stack_trace:
508 | dependency: transitive
509 | description:
510 | name: stack_trace
511 | url: "https://pub.dartlang.org"
512 | source: hosted
513 | version: "1.10.0"
514 | stream_channel:
515 | dependency: transitive
516 | description:
517 | name: stream_channel
518 | url: "https://pub.dartlang.org"
519 | source: hosted
520 | version: "2.1.0"
521 | string_scanner:
522 | dependency: transitive
523 | description:
524 | name: string_scanner
525 | url: "https://pub.dartlang.org"
526 | source: hosted
527 | version: "1.1.0"
528 | term_glyph:
529 | dependency: transitive
530 | description:
531 | name: term_glyph
532 | url: "https://pub.dartlang.org"
533 | source: hosted
534 | version: "1.2.0"
535 | test_api:
536 | dependency: transitive
537 | description:
538 | name: test_api
539 | url: "https://pub.dartlang.org"
540 | source: hosted
541 | version: "0.4.9"
542 | twitter_login:
543 | dependency: "direct main"
544 | description:
545 | name: twitter_login
546 | url: "https://pub.dartlang.org"
547 | source: hosted
548 | version: "4.2.3"
549 | typed_data:
550 | dependency: transitive
551 | description:
552 | name: typed_data
553 | url: "https://pub.dartlang.org"
554 | source: hosted
555 | version: "1.3.1"
556 | vector_math:
557 | dependency: transitive
558 | description:
559 | name: vector_math
560 | url: "https://pub.dartlang.org"
561 | source: hosted
562 | version: "2.1.2"
563 | win32:
564 | dependency: transitive
565 | description:
566 | name: win32
567 | url: "https://pub.dartlang.org"
568 | source: hosted
569 | version: "2.7.0"
570 | xdg_directories:
571 | dependency: transitive
572 | description:
573 | name: xdg_directories
574 | url: "https://pub.dartlang.org"
575 | source: hosted
576 | version: "0.2.0+1"
577 | xml:
578 | dependency: transitive
579 | description:
580 | name: xml
581 | url: "https://pub.dartlang.org"
582 | source: hosted
583 | version: "6.1.0"
584 | sdks:
585 | dart: ">=2.17.5 <3.0.0"
586 | flutter: ">=3.0.0"
587 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: blocauth
2 | description: A new Flutter project.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `flutter pub publish`. This is preferred for private packages.
6 | publish_to: "none" # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | version: 1.0.0+1
19 |
20 | environment:
21 | sdk: ">=2.17.5 <3.0.0"
22 |
23 | # Dependencies specify other packages that your package needs in order to work.
24 | # To automatically upgrade your package dependencies to the latest versions
25 | # consider running `flutter pub upgrade --major-versions`. Alternatively,
26 | # dependencies can be manually updated by changing the version numbers below to
27 | # the latest version available on pub.dev. To see which dependencies have newer
28 | # versions available, run `flutter pub outdated`.
29 | dependencies:
30 | cloud_firestore: ^3.3.0
31 | connectivity_plus: ^2.3.5
32 | cupertino_icons: ^1.0.2
33 | firebase_auth: ^3.4.2
34 | firebase_core: ^1.19.2
35 | flutter:
36 | sdk: flutter
37 | flutter_facebook_auth: ^4.4.0+1
38 | font_awesome_flutter: ^10.1.0
39 | google_sign_in: ^5.4.0
40 | http: ^0.13.4
41 | provider: ^6.0.3
42 | rounded_loading_button: ^2.1.0
43 | shared_preferences: ^2.0.15
44 | twitter_login: ^4.2.3
45 |
46 | dev_dependencies:
47 | flutter_lints: ^2.0.0
48 | flutter_test:
49 | sdk: flutter
50 |
51 | flutter:
52 | uses-material-design: true
53 | # To add assets to your application, add an assets section, like this:
54 | assets:
55 | - assets/
56 | # An image asset can refer to one or more resolution-specific "variants", see
57 | # https://flutter.dev/assets-and-images/#resolution-aware
58 | # For details regarding adding assets from package dependencies, see
59 | # https://flutter.dev/assets-and-images/#from-packages
60 | # To add custom fonts to your application, add a fonts section here,
61 | # in this "flutter" section. Each entry in this list should have a
62 | # "family" key with the font family name, and a "fonts" key with a
63 | # list giving the asset and other descriptors for the font. For
64 | # example:
65 | # fonts:
66 | # - family: Schyler
67 | # fonts:
68 | # - asset: fonts/Schyler-Regular.ttf
69 | # - asset: fonts/Schyler-Italic.ttf
70 | # style: italic
71 | # - family: Trajan Pro
72 | # fonts:
73 | # - asset: fonts/TrajanPro.ttf
74 | # - asset: fonts/TrajanPro_Bold.ttf
75 | # weight: 700
76 | #
77 | # For details regarding fonts from package dependencies,
78 | # see https://flutter.dev/custom-fonts/#from-packages
79 |
--------------------------------------------------------------------------------
/screenshots/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/screenshots/facebook.png
--------------------------------------------------------------------------------
/screenshots/google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/screenshots/google.png
--------------------------------------------------------------------------------
/screenshots/phone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/screenshots/phone.png
--------------------------------------------------------------------------------
/screenshots/social_auth_firebase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/screenshots/social_auth_firebase.png
--------------------------------------------------------------------------------
/screenshots/twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/screenshots/twitter.png
--------------------------------------------------------------------------------
/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 in the flutter_test package. 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:blocauth/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 |
--------------------------------------------------------------------------------
/todo.text:
--------------------------------------------------------------------------------
1 | 1. Adding firbase to ios and android
2 | 2. Doing google and facebook authentication
3 | 3. Managing shared preferences.
--------------------------------------------------------------------------------
/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/web/favicon.png
--------------------------------------------------------------------------------
/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/web/icons/Icon-maskable-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/backslashflutter/socialauth_flutter_firebase/3d55c95a45951fbeda50289b49a21e867c368c26/web/icons/Icon-maskable-512.png
--------------------------------------------------------------------------------
/web/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | blocauth
33 |
34 |
35 |
39 |
40 |
41 |
42 |
43 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/web/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "blocauth",
3 | "short_name": "blocauth",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#0175C2",
7 | "theme_color": "#0175C2",
8 | "description": "A new Flutter project.",
9 | "orientation": "portrait-primary",
10 | "prefer_related_applications": false,
11 | "icons": [
12 | {
13 | "src": "icons/Icon-192.png",
14 | "sizes": "192x192",
15 | "type": "image/png"
16 | },
17 | {
18 | "src": "icons/Icon-512.png",
19 | "sizes": "512x512",
20 | "type": "image/png"
21 | },
22 | {
23 | "src": "icons/Icon-maskable-192.png",
24 | "sizes": "192x192",
25 | "type": "image/png",
26 | "purpose": "maskable"
27 | },
28 | {
29 | "src": "icons/Icon-maskable-512.png",
30 | "sizes": "512x512",
31 | "type": "image/png",
32 | "purpose": "maskable"
33 | }
34 | ]
35 | }
36 |
--------------------------------------------------------------------------------