diff --git a/android/.gitignore b/android/.gitignore index 879dd52..efc9bef 100644 --- a/android/.gitignore +++ b/android/.gitignore @@ -18,6 +18,7 @@ build/ # Local configuration file (sdk path, etc) local.properties +.idea/ # Log Files *.log diff --git a/android/app/build.gradle b/android/app/build.gradle index aa2c25d..fc2a784 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -16,35 +16,24 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { compileSdkVersion 28 - buildToolsVersion '27.0.3' defaultConfig { - applicationId 'net.squanchy.develop.flutter' - minSdkVersion 16 targetSdkVersion 28 + versionCode 1 + versionName "1.0" + testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true } - - lintOptions { - disable 'InvalidPackage' - } - - buildTypes { - release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig signingConfigs.debug - } - } } + flutter { source '../..' } dependencies { - implementation 'com.google.firebase:firebase-firestore:15.0.0' + implementation 'com.google.firebase:firebase-firestore:18.1.0' } apply plugin: 'com.google.gms.google-services' diff --git a/android/app/gradle/wrapper/gradle-wrapper.jar b/android/app/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..f6b961f Binary files /dev/null and b/android/app/gradle/wrapper/gradle-wrapper.jar differ diff --git a/android/app/gradle/wrapper/gradle-wrapper.properties b/android/app/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..b6487f7 --- /dev/null +++ b/android/app/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Sun Mar 03 22:23:38 GMT 2019 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip diff --git a/android/app/gradlew b/android/app/gradlew new file mode 100644 index 0000000..cccdd3d --- /dev/null +++ b/android/app/gradlew @@ -0,0 +1,172 @@ +#!/usr/bin/env sh + +############################################################################## +## +## Gradle start up script for UN*X +## +############################################################################## + +# Attempt to set APP_HOME +# Resolve links: $0 may be a link +PRG="$0" +# Need this for relative symlinks. +while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`"/$link" + fi +done +SAVED="`pwd`" +cd "`dirname \"$PRG\"`/" >/dev/null +APP_HOME="`pwd -P`" +cd "$SAVED" >/dev/null + +APP_NAME="Gradle" +APP_BASE_NAME=`basename "$0"` + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS="" + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD="maximum" + +warn () { + echo "$*" +} + +die () { + echo + echo "$*" + echo + exit 1 +} + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "`uname`" in + CYGWIN* ) + cygwin=true + ;; + Darwin* ) + darwin=true + ;; + MINGW* ) + msys=true + ;; + NONSTOP* ) + nonstop=true + ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD="java" + which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." +fi + +# Increase the maximum file descriptors if we can. +if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then + MAX_FD_LIMIT=`ulimit -H -n` + if [ $? -eq 0 ] ; then + if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then + MAX_FD="$MAX_FD_LIMIT" + fi + ulimit -n $MAX_FD + if [ $? -ne 0 ] ; then + warn "Could not set maximum file descriptor limit: $MAX_FD" + fi + else + warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" + fi +fi + +# For Darwin, add options to specify how the application appears in the dock +if $darwin; then + GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" +fi + +# For Cygwin, switch paths to Windows format before running java +if $cygwin ; then + APP_HOME=`cygpath --path --mixed "$APP_HOME"` + CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` + JAVACMD=`cygpath --unix "$JAVACMD"` + + # We build the pattern for arguments to be converted via cygpath + ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` + SEP="" + for dir in $ROOTDIRSRAW ; do + ROOTDIRS="$ROOTDIRS$SEP$dir" + SEP="|" + done + OURCYGPATTERN="(^($ROOTDIRS))" + # Add a user-defined pattern to the cygpath arguments + if [ "$GRADLE_CYGPATTERN" != "" ] ; then + OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" + fi + # Now convert the arguments - kludge to limit ourselves to /bin/sh + i=0 + for arg in "$@" ; do + CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` + CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option + + if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition + eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` + else + eval `echo args$i`="\"$arg\"" + fi + i=$((i+1)) + done + case $i in + (0) set -- ;; + (1) set -- "$args0" ;; + (2) set -- "$args0" "$args1" ;; + (3) set -- "$args0" "$args1" "$args2" ;; + (4) set -- "$args0" "$args1" "$args2" "$args3" ;; + (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; + (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; + (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; + (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; + (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; + esac +fi + +# Escape application args +save () { + for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done + echo " " +} +APP_ARGS=$(save "$@") + +# Collect all arguments for the java command, following the shell quoting and substitution rules +eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" + +# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong +if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then + cd "$(dirname "$0")" +fi + +exec "$JAVACMD" "$@" diff --git a/android/app/gradlew.bat b/android/app/gradlew.bat new file mode 100644 index 0000000..e95643d --- /dev/null +++ b/android/app/gradlew.bat @@ -0,0 +1,84 @@ +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java b/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java index 525e2c9..78d7480 100644 --- a/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java +++ b/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java @@ -2,7 +2,6 @@ import io.flutter.plugin.common.PluginRegistry; import io.flutter.plugins.firebase.cloudfirestore.CloudFirestorePlugin; -import io.flutter.plugins.firebaseanalytics.FirebaseAnalyticsPlugin; import io.flutter.plugins.firebaseauth.FirebaseAuthPlugin; import io.flutter.plugins.firebase.core.FirebaseCorePlugin; import io.flutter.plugins.googlesignin.GoogleSignInPlugin; @@ -16,7 +15,6 @@ public static void registerWith(PluginRegistry registry) { return; } CloudFirestorePlugin.registerWith(registry.registrarFor("io.flutter.plugins.firebase.cloudfirestore.CloudFirestorePlugin")); - FirebaseAnalyticsPlugin.registerWith(registry.registrarFor("io.flutter.plugins.firebaseanalytics.FirebaseAnalyticsPlugin")); FirebaseAuthPlugin.registerWith(registry.registrarFor("io.flutter.plugins.firebaseauth.FirebaseAuthPlugin")); FirebaseCorePlugin.registerWith(registry.registrarFor("io.flutter.plugins.firebase.core.FirebaseCorePlugin")); GoogleSignInPlugin.registerWith(registry.registrarFor("io.flutter.plugins.googlesignin.GoogleSignInPlugin")); diff --git a/android/build.gradle b/android/build.gradle index b898901..f48e01e 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,8 +5,8 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.1.1' - classpath 'com.google.gms:google-services:3.2.1' + classpath 'com.android.tools.build:gradle:3.4.0-beta05' + classpath 'com.google.gms:google-services:4.2.0' } } diff --git a/android/gradle.properties b/android/gradle.properties index 8bd86f6..94adc3a 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1 +1,3 @@ org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index e6a3091..e11eed4 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ +#Sun Mar 03 22:55:02 GMT 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip diff --git a/ios/.symlinks/flutter b/ios/.symlinks/flutter new file mode 120000 index 0000000..4d67a34 --- /dev/null +++ b/ios/.symlinks/flutter @@ -0,0 +1 @@ +/Users/niamhpower/development/flutter/bin/cache/artifacts/engine \ No newline at end of file diff --git a/ios/.symlinks/plugins/cloud_firestore b/ios/.symlinks/plugins/cloud_firestore new file mode 120000 index 0000000..3a3192b --- /dev/null +++ b/ios/.symlinks/plugins/cloud_firestore @@ -0,0 +1 @@ +/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.9.5+2 \ No newline at end of file diff --git a/ios/.symlinks/plugins/firebase_auth b/ios/.symlinks/plugins/firebase_auth new file mode 120000 index 0000000..9e4c105 --- /dev/null +++ b/ios/.symlinks/plugins/firebase_auth @@ -0,0 +1 @@ +/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.8.1+4 \ No newline at end of file diff --git a/ios/.symlinks/plugins/firebase_core b/ios/.symlinks/plugins/firebase_core new file mode 120000 index 0000000..380ecc0 --- /dev/null +++ b/ios/.symlinks/plugins/firebase_core @@ -0,0 +1 @@ +/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.3.1+1 \ No newline at end of file diff --git a/ios/.symlinks/plugins/google_sign_in b/ios/.symlinks/plugins/google_sign_in new file mode 120000 index 0000000..034a8ab --- /dev/null +++ b/ios/.symlinks/plugins/google_sign_in @@ -0,0 +1 @@ +/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-4.0.1+1 \ No newline at end of file diff --git a/ios/Podfile b/ios/Podfile index ef05662..06d773f 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -1,31 +1,65 @@ # Uncomment this line to define a global platform for your project -platform :ios, '10.0' +# platform :ios, '9.0' -if ENV['FLUTTER_FRAMEWORK_DIR'] == nil - abort('Please set FLUTTER_FRAMEWORK_DIR to the directory containing Flutter.framework') +# CocoaPods analytics sends network stats synchronously affecting flutter build latency. +ENV['COCOAPODS_DISABLE_STATS'] = 'true' + +project 'Runner', { + 'Debug' => :debug, + 'Profile' => :release, + 'Release' => :release, +} + +def parse_KV_file(file, separator='=') + file_abs_path = File.expand_path(file) + if !File.exists? file_abs_path + return []; + end + pods_ary = [] + skip_line_start_symbols = ["#", "/"] + File.foreach(file_abs_path) { |line| + next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ } + plugin = line.split(pattern=separator) + if plugin.length == 2 + podname = plugin[0].strip() + path = plugin[1].strip() + podpath = File.expand_path("#{path}", file_abs_path) + pods_ary.push({:name => podname, :path => podpath}); + else + puts "Invalid plugin specification: #{line}" + end + } + return pods_ary end target 'Runner' do + use_frameworks! - # Pods for Runner + # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock + # referring to absolute paths on developers' machines. + system('rm -rf .symlinks') + system('mkdir -p .symlinks/plugins') # Flutter Pods - pod 'Flutter', :path => ENV['FLUTTER_FRAMEWORK_DIR'] - - if File.exists? '../.flutter-plugins' - flutter_root = File.expand_path('..') - File.foreach('../.flutter-plugins') { |line| - plugin = line.split(pattern='=') - if plugin.length == 2 - name = plugin[0].strip() - path = plugin[1].strip() - resolved_path = File.expand_path("#{path}/ios", flutter_root) - pod name, :path => resolved_path - else - puts "Invalid plugin specification: #{line}" - end - } + generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig') + if generated_xcode_build_settings.empty? + puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first." end + generated_xcode_build_settings.map { |p| + if p[:name] == 'FLUTTER_FRAMEWORK_DIR' + symlink = File.join('.symlinks', 'flutter') + File.symlink(File.dirname(p[:path]), symlink) + pod 'Flutter', :path => File.join(symlink, File.basename(p[:path])) + end + } + + # Plugin Pods + plugin_pods = parse_KV_file('../.flutter-plugins') + plugin_pods.map { |p| + symlink = File.join('.symlinks', 'plugins', p[:name]) + File.symlink(p[:path], symlink) + pod p[:name], :path => File.join(symlink, 'ios') + } end post_install do |installer| diff --git a/ios/Podfile.lock b/ios/Podfile.lock index cdeaa7f..16cc4b8 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -25,9 +25,6 @@ PODS: - Firebase/Firestore (5.15.0): - Firebase/CoreOnly - FirebaseFirestore (= 0.16.1) - - firebase_analytics (0.0.1): - - Firebase/Core - - Flutter - firebase_auth (0.0.1): - Firebase/Auth - Firebase/Core @@ -141,12 +138,11 @@ PODS: - Protobuf (3.6.1) DEPENDENCIES: - - "cloud_firestore (from `/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.2+3/ios`)" - - firebase_analytics (from `/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-1.1.0/ios`) - - firebase_auth (from `/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.7.0/ios`) - - "firebase_core (from `/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.2.5+1/ios`)" - - Flutter (from `/Users/niamhpower/development/flutter/bin/cache/artifacts/engine/ios`) - - google_sign_in (from `/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-3.2.4/ios`) + - cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) + - firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) + - firebase_core (from `.symlinks/plugins/firebase_core/ios`) + - Flutter (from `.symlinks/flutter/ios`) + - google_sign_in (from `.symlinks/plugins/google_sign_in/ios`) SPEC REPOS: https://github.com/cocoapods/specs.git: @@ -172,24 +168,21 @@ SPEC REPOS: EXTERNAL SOURCES: cloud_firestore: - :path: "/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.8.2+3/ios" - firebase_analytics: - :path: "/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-1.1.0/ios" + :path: ".symlinks/plugins/cloud_firestore/ios" firebase_auth: - :path: "/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.7.0/ios" + :path: ".symlinks/plugins/firebase_auth/ios" firebase_core: - :path: "/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.2.5+1/ios" + :path: ".symlinks/plugins/firebase_core/ios" Flutter: - :path: "/Users/niamhpower/development/flutter/bin/cache/artifacts/engine/ios" + :path: ".symlinks/flutter/ios" google_sign_in: - :path: "/Users/niamhpower/development/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-3.2.4/ios" + :path: ".symlinks/plugins/google_sign_in/ios" SPEC CHECKSUMS: BoringSSL: e10f92a27043805c01071fe815a5cd98ae8212e7 - cloud_firestore: c575f263eb7033afb7d407e6264b21d6e622a061 + cloud_firestore: cd6e849ecb8ab43e5a7a5f1f169304ca65436c03 Firebase: 8bb9268bff82374f2cbaaabb143e725743c316ae - firebase_analytics: 7fa219488f2a781ca776bf72ecc66b6ac4511272 - firebase_auth: 6023fc2e28feabd6571d9a105b678cce7978be90 + firebase_auth: 02ced56521bc9f220d40edda27b1ec5a2fcdf01e firebase_core: ce5006bb48508ee4e71e0f429a3f519bb8ee2961 FirebaseAnalytics: c06f9d70577d79074214700a71fd5d39de5550fb FirebaseAuth: 02e969ff430e156d99d4cb842d77b806b71ad7bb @@ -211,6 +204,6 @@ SPEC CHECKSUMS: nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48 Protobuf: 1eb9700044745f00181c136ef21b8ff3ad5a0fd5 -PODFILE CHECKSUM: 35947b2c1cae92ea15d99c3339306cd184068dd6 +PODFILE CHECKSUM: 45d93d6f8763627ddfb790d52a209dd0d91a1f18 COCOAPODS: 1.6.0.beta.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 7cdc186..6a497fe 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -10,8 +10,9 @@ 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - 71E311B4205D2752007FDD3D /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 71E311B3205D2752007FDD3D /* GoogleService-Info.plist */; }; - 71E311B7205D2ACC007FDD3D /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 71E311B6205D2ACC007FDD3D /* GeneratedPluginRegistrant.m */; }; + 71700935222C982A00B90CC6 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 71700934222C982A00B90CC6 /* GoogleService-Info.plist */; }; + 71CF16962229856500520EFD /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 71CF16952229856500520EFD /* GeneratedPluginRegistrant.m */; }; + 71E311B7205D2ACC007FDD3D /* (null) in Sources */ = {isa = PBXBuildFile; }; 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; }; 9705A1C71CF904A300538489 /* Flutter.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9740EEBA1CF902C7004384FC /* Flutter.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; @@ -21,7 +22,7 @@ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; - B1F68C4FF305A304B184732D /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 26CD9592CBA7A25601007822 /* libPods-Runner.a */; }; + EF957DAAEF69A5F369B2DE80 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7792C7A453F77B00D8009093 /* Pods_Runner.framework */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -40,12 +41,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 26CD9592CBA7A25601007822 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = ""; }; - 71E311B3205D2752007FDD3D /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; - 71E311B5205D2ACC007FDD3D /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GeneratedPluginRegistrant.h; path = ../../../../IdeaProjects/my_friendlychat/ios/Runner/GeneratedPluginRegistrant.h; sourceTree = ""; }; - 71E311B6205D2ACC007FDD3D /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = GeneratedPluginRegistrant.m; path = ../../../../IdeaProjects/my_friendlychat/ios/Runner/GeneratedPluginRegistrant.m; sourceTree = ""; }; + 71700934222C982A00B90CC6 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; + 71CF16942229856500520EFD /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; + 71CF16952229856500520EFD /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; + 7792C7A453F77B00D8009093 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; @@ -69,7 +70,7 @@ files = ( 9705A1C61CF904A100538489 /* Flutter.framework in Frameworks */, 3B80C3941E831B6300D905FE /* App.framework in Frameworks */, - B1F68C4FF305A304B184732D /* libPods-Runner.a in Frameworks */, + EF957DAAEF69A5F369B2DE80 /* Pods_Runner.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -120,9 +121,11 @@ 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( - 71E311B3205D2752007FDD3D /* GoogleService-Info.plist */, + 71700934222C982A00B90CC6 /* GoogleService-Info.plist */, 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */, 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */, + 71CF16942229856500520EFD /* GeneratedPluginRegistrant.h */, + 71CF16952229856500520EFD /* GeneratedPluginRegistrant.m */, 97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, @@ -135,8 +138,6 @@ 97C146F11CF9000F007C117D /* Supporting Files */ = { isa = PBXGroup; children = ( - 71E311B5205D2ACC007FDD3D /* GeneratedPluginRegistrant.h */, - 71E311B6205D2ACC007FDD3D /* GeneratedPluginRegistrant.m */, 97C146F21CF9000F007C117D /* main.m */, ); name = "Supporting Files"; @@ -145,7 +146,7 @@ CF3B75C9A7D2FA2A4C99F110 /* Frameworks */ = { isa = PBXGroup; children = ( - 26CD9592CBA7A25601007822 /* libPods-Runner.a */, + 7792C7A453F77B00D8009093 /* Pods_Runner.framework */, ); name = Frameworks; sourceTree = ""; @@ -214,11 +215,11 @@ buildActionMask = 2147483647; files = ( 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, + 71700935222C982A00B90CC6 /* GoogleService-Info.plist in Resources */, 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 71E311B4205D2752007FDD3D /* GoogleService-Info.plist in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -267,11 +268,29 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", - "${PODS_ROOT}/../../../../development/flutter/bin/cache/artifacts/engine/ios/Flutter.framework", + "${BUILT_PRODUCTS_DIR}/BoringSSL/openssl.framework", + "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework", + "${BUILT_PRODUCTS_DIR}/GTMSessionFetcher/GTMSessionFetcher.framework", + "${BUILT_PRODUCTS_DIR}/GoogleToolboxForMac/GoogleToolboxForMac.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/Protobuf/Protobuf.framework", + "${BUILT_PRODUCTS_DIR}/gRPC-C++/grpcpp.framework", + "${BUILT_PRODUCTS_DIR}/gRPC-Core/grpc.framework", + "${BUILT_PRODUCTS_DIR}/leveldb-library/leveldb.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/openssl.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Flutter.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GTMSessionFetcher.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleToolboxForMac.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Protobuf.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpcpp.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/grpc.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/leveldb.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -319,7 +338,8 @@ files = ( 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */, 97C146F31CF9000F007C117D /* main.m in Sources */, - 71E311B7205D2ACC007FDD3D /* GeneratedPluginRegistrant.m in Sources */, + 71E311B7205D2ACC007FDD3D /* (null) in Sources */, + 71CF16962229856500520EFD /* GeneratedPluginRegistrant.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner/GeneratedPluginRegistrant.m b/ios/Runner/GeneratedPluginRegistrant.m index 6ac3cf2..d042a9a 100644 --- a/ios/Runner/GeneratedPluginRegistrant.m +++ b/ios/Runner/GeneratedPluginRegistrant.m @@ -4,7 +4,6 @@ #import "GeneratedPluginRegistrant.h" #import -#import #import #import #import @@ -13,7 +12,6 @@ @implementation GeneratedPluginRegistrant + (void)registerWithRegistry:(NSObject*)registry { [FLTCloudFirestorePlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTCloudFirestorePlugin"]]; - [FLTFirebaseAnalyticsPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTFirebaseAnalyticsPlugin"]]; [FLTFirebaseAuthPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTFirebaseAuthPlugin"]]; [FLTFirebaseCorePlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTFirebaseCorePlugin"]]; [FLTGoogleSignInPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTGoogleSignInPlugin"]]; diff --git a/pubspec.yaml b/pubspec.yaml index 96212bf..e7242ac 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,10 +5,9 @@ dependencies: cupertino_icons: 0.1.2 flutter: sdk: flutter - google_sign_in: 3.2.4 - firebase_analytics: 1.1.0 - firebase_auth: 0.7.0 - cloud_firestore: 0.8.2+3 + google_sign_in: ^4.0.1+1 + firebase_auth: ^0.8.1+4 + cloud_firestore: ^0.9.5+2 # For information on the generic Dart part of this file, see the # following page: https://www.dartlang.org/tools/pub/pubspec