{"action":"closed","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/17841","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/17841/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/17841/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/17841/events","html_url":"https://github.com/flutter/flutter/issues/17841","id":325732619,"number":17841,"title":"Firebase auth plugin is crashing my app on iOS","user":{"login":"carlosjs23","id":10473519,"avatar_url":"https://avatars0.githubusercontent.com/u/10473519?v=4","gravatar_id":"","url":"https://api.github.com/users/carlosjs23","html_url":"https://github.com/carlosjs23","followers_url":"https://api.github.com/users/carlosjs23/followers","following_url":"https://api.github.com/users/carlosjs23/following{/other_user}","gists_url":"https://api.github.com/users/carlosjs23/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosjs23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosjs23/subscriptions","organizations_url":"https://api.github.com/users/carlosjs23/orgs","repos_url":"https://api.github.com/users/carlosjs23/repos","events_url":"https://api.github.com/users/carlosjs23/events{/privacy}","received_events_url":"https://api.github.com/users/carlosjs23/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T14:29:18Z","updated_at":"2018-05-24T16:40:43Z","closed_at":"2018-05-24T16:40:43Z","author_association":"NONE","body":"My app is crashing at startup while trying to get the current user.\r\n\r\nThis issue is only with iOS, with Android is working fine except for this (see https://github.com/flutter/flutter/issues/14208)\r\n\r\n### pubspec.yaml\r\n```\r\ndependencies:\r\n  flutter:\r\n    sdk: flutter\r\n  firebase_auth: ^0.5.10\r\n  firebase_analytics: ^1.0.0\r\n  google_sign_in: ^3.0.3\r\n```\r\n\r\n### main.dart\r\n```\r\nvoid main() => runApp(new MyApp());\r\n\r\nclass MyApp extends StatelessWidget {\r\n  final AuthenticationService authService = new AuthenticationService();\r\n\r\n  // This widget is the root of your application.\r\n  @override\r\n  Widget build(BuildContext context) {\r\n    return new MaterialApp(\r\n      title: 'EmdiMóvil',\r\n      debugShowCheckedModeBanner: false,\r\n      theme: defaultTargetPlatform == TargetPlatform.iOS\r\n          ? kIOSTheme\r\n          : kDefaultTheme,\r\n      routes: routes,\r\n      home: new FutureBuilder(\r\n        future: _auth.currentUser(),\r\n        builder: (BuildContext context, AsyncSnapshot snapshot) {\r\n          if (!snapshot.hasData) {\r\n            return new LoginPage();\r\n          } else {\r\n            return new HomePage();\r\n          }\r\n        },\r\n      ),\r\n    );\r\n  }\r\n}\r\n```\r\n## Logs\r\n```\r\n# flutter run --verbose\r\n```\r\nhttps://gist.github.com/carlosjs23/1621847718184b0a831eb10daf6f75fd\r\n\r\n```\r\n# flutter analyze\r\nAnalyzing /Users/carlos/IdeaProjects/emdimovil...\r\nNo issues found!\r\nRan in 7.6s\r\n```\r\n\r\n\r\n```\r\n# flutter doctor -v\r\n[✓] Flutter (Channel beta, v0.3.2, on Mac OS X 10.13.4 17E202, locale es-CO)\r\n    • Flutter version 0.3.2 at /Users/carlos/flutter\r\n    • Framework revision 44b7e7d3f4 (5 weeks ago), 2018-04-20 01:02:44 -0700\r\n    • Engine revision 09d05a3891\r\n    • Dart version 2.0.0-dev.48.0.flutter-fe606f890b\r\n\r\n[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)\r\n    • Android SDK at /Users/carlos/Library/Android/sdk\r\n    • Android NDK location not configured (optional; useful for native profiling support)\r\n    • Platform android-27, build-tools 27.0.3\r\n    • ANDROID_HOME = /Users/carlos/Library/Android/sdk\r\n    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)\r\n    • All Android licenses accepted.\r\n\r\n[✓] iOS toolchain - develop for iOS devices (Xcode 9.3.1)\r\n    • Xcode at /Applications/Xcode.app/Contents/Developer\r\n    • Xcode 9.3.1, Build version 9E501\r\n    • ios-deploy 1.9.2\r\n    • CocoaPods version 1.5.2\r\n\r\n[✓] Android Studio (version 3.1)\r\n    • Android Studio at /Applications/Android Studio.app/Contents\r\n    ✗ Flutter plugin not installed; this adds Flutter specific functionality.\r\n    ✗ Dart plugin not installed; this adds Dart specific functionality.\r\n    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)\r\n\r\n[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.3)\r\n    • IntelliJ at /Users/carlos/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app\r\n    • Flutter plugin version 24.2.2\r\n    • Dart plugin version 181.4892.1\r\n\r\n[!] VS Code (version 1.23.1)\r\n    • VS Code at /Applications/Visual Studio Code.app/Contents\r\n    • Dart Code extension not installed; install from\r\n      https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code\r\n\r\n[✓] Connected devices (1 available)\r\n    • iPhone X • 9EC8619A-000C-40FC-888A-01A4C0594722 • ios • iOS 11.3 (simulator)\r\n\r\n! Doctor found issues in 1 category.\r\n```\r\n"}}
{"actor":{"display_login":"carlosjs23"}}