A flutter plugin to add login with facebook in your flutter app

Overview

image

pub version last commit license stars

Features

  • Login on iOS, Android and Web.
  • Express login on Android.
  • Granted and declined permissions.
  • User information, picture profile and more.
  • Provide an access token to make request to the Graph API.

Full documentation πŸ‘‰ https://facebook.meedu.app

βœ… Don't forget to leave your like if this plugin was useful for you.

IMPORTANT: When you install this plugin you need to configure the plugin on Android before run the project again . If you don't do it you will have a No implementation found error because the facebook SDK on Android throws an Exception when the configuration is not defined yet and this locks the other plugins in your project. If you don't need the plugin yet please remove or comment it.

Comments
  • MissingPluginException

    MissingPluginException

    What version are you using?

    ^5.0.0-dev.4

    What OS and version are you using to local deploy your application?

    windows 10

    What platforms are you seeing the problem on?

    Android

    pubspec.yaml

    name: foodybite
    description: A new Flutter project.
    
    # The following line prevents the package from being accidentally published to
    # pub.dev using `pub publish`. This is preferred for private packages.
    publish_to: 'none' # Remove this line if you wish to publish to pub.dev
    
    # The following defines the version and build number for your application.
    # A version number is three numbers separated by dots, like 1.2.43
    # followed by an optional build number separated by a +.
    # Both the version and the builder number may be overridden in flutter
    # build by specifying --build-name and --build-number, respectively.
    # In Android, build-name is used as versionName while build-number used as versionCode.
    # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
    # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
    # Read more about iOS versioning at
    # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
    version: 1.0.0+1
    
    environment:
      sdk: ">=2.12.0 <3.0.0"
    
    dependencies:
      flutter:
        sdk: flutter
      flutter_rating_bar: ^4.0.0
      shared_preferences: ^2.0.13
      flutter_bloc: ^8.0.1
      equatable: ^2.0.3
      flutter_staggered_grid_view: ^0.6.1
      photo_view: ^0.13.0
      easy_localization: ^3.0.0
      shimmer: ^2.0.0
      package_info_plus: ^1.3.0
      fluttertoast: ^8.0.8
      url_launcher: ^6.0.18
      video_player: ^2.4.7
      modal_bottom_sheet: ^2.0.0
      #flutter_qr_bar_scanner: ^2.0.0
      image_picker: ^0.8.4+4
      mime: ^1.0.1
      chewie: ^1.2.2
      flutter_signin_button: ^2.0.0
      google_sign_in: ^5.4.1
      firebase_auth: ^3.3.8
      firebase_core: ^1.12.0
      cloud_firestore: ^3.1.6
      linkedin_login: ^2.2.1
      flutter_facebook_auth: ^5.0.0-dev.4
      permission_handler: ^10.0.2
     
    
      
    
    
      # The following adds the Cupertino Icons font to your application.
      # Use with the CupertinoIcons class for iOS style icons.
      cupertino_icons: ^1.0.4
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
    
    dependency_overrides:
      platform: ^3.1.0
    
    # For information on the generic Dart part of this file, see the
    # following page: https://dart.dev/tools/pub/pubspec
    
    # The following section is specific to Flutter.
    flutter:
    
      # The following line ensures that the Material Icons font is
      # included with your application, so that you can use the icons in
      # the material Icons class.
      uses-material-design: true
    
      # To add assets to your application, add an assets section, like this:
      assets:
        - assets/images/
        - assets/images/1.5x/
        - assets/images/2.0x/
        - assets/images/3.0x/
        - assets/images/4.0x/
        - assets/languages/
      
      fonts:
        - family: JosefinSans
          fonts:
            - asset: assets/fonts/JosefinSans-Regular.ttf
              weight: 400
            - asset: assets/fonts/JosefinSans-SemiBold.ttf
              weight: 500
            - asset: assets/fonts/JosefinSans-Bold.ttf
              weight: 700
    

    Describe the Bug

    i configure every as per your documentation but still no implementation found

    Expected Behavior

    facebook successfull login and info

    i did everything flutter clean keyhash new config strings.xml

    To Reproduce

    loginFb() async {

    //final LoginResult result = await FacebookAuth.instance.login();
    
    final result =
        await FacebookAuth.i.login(permissions: ['public_profile']);
    if (result.status == LoginStatus.success) {
      final userData = await FacebookAuth.i.getUserData();
      print(userData);
    }
    
    final _userData = await FacebookAuth.instance.getUserData();
    print(_userData);
    

    }

    Relevant log output

    E/flutter (30021): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method login on channel app.meedu/flutter_facebook_auth)
    E/flutter (30021): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:294:7)
    E/flutter (30021): <asynchronous suspension>
    E/flutter (30021): #1      FacebookAuthPlatformImplementation.login (package:flutter_facebook_auth_platform_interface/src/facebook_auth_implementation.dart:34:22)     
    E/flutter (30021): <asynchronous suspension>
    E/flutter (30021): #2      _LoginPageState.loginFb (package:foodybite/pages/login/login_page.dart:185:9)
    E/flutter (30021): <asynchronous suspension>
    

    flutter doctor -v

    [√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version 10.0.19044.1826], locale en-US)
    [!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
        X Android license status unknown.
          Run `flutter doctor --android-licenses` to accept the SDK licenses.
          See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
    [√] Chrome - develop for the web
    [√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.15)
    [√] Android Studio (version 2021.2)
    [√] VS Code (version 1.71.2)
    [√] Connected device (5 available)
    [√] HTTP Host Availability
    

    Info.plist (iOS)

    No response

    Podfile (iOS)

    No response

    AndroidManifest.xml

    No response

    MainActivity.java

    No response

    MainActivity.kt

    No response

    index.html

    No response

    Info.plist (macOS)

    No response

    invalid waiting for customer response insufficient information 
    opened by shahid31346 21
  • MissingPluginException(No implementation found for method login on channel app.meedu/flutter_facebook_auth)

    MissingPluginException(No implementation found for method login on channel app.meedu/flutter_facebook_auth)

    What version are you using?

    flutter_facebook_auth:4.3.4+2

    What OS and version are you using to local deploy your application?

    macOS Monterey 12.4

    What platforms are you seeing the problem on?

    Android

    Describe the Bug

    I have recently upgraded to flutter 3.0.1 and upgraded this package to version 4.3.4+2. I followed the documentation via https://facebook.meedu.app and setup everything for ios and android. iOS is working fine but on android I am facing the MissingPluginException issue. I have tried many times today but haven't found any solution to this.

    Expected Behavior

    Should be able to login on android using this plugin.

    To Reproduce

    final LoginResult result = await FacebookAuth.instance.login();

    Relevant log output

    No response

    flutter doctor -v

    flutter doctor -v
    [βœ“] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-x64, locale en-AU)
        β€’ Flutter version 3.0.1 at /Users/zat_km/Desktop/flutter
        β€’ Upstream repository https://github.com/flutter/flutter.git
        β€’ Framework revision fb57da5f94 (4 weeks ago), 2022-05-19 15:50:29 -0700
        β€’ Engine revision caaafc5604
        β€’ Dart version 2.17.1
        β€’ DevTools version 2.12.2
    
    [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
        β€’ Android SDK at /Users/zat_km/Library/Android/sdk
        β€’ Platform android-32, build-tools 33.0.0
        β€’ Java binary at: /Library/Java/JavaVirtualMachines/jdk-14.0.2.jdk/Contents/Home/bin/java
        β€’ Java version Java(TM) SE Runtime Environment (build 14.0.2+12-46)
        β€’ All Android licenses accepted.
    
    [βœ“] Xcode - develop for iOS and macOS (Xcode 13.4)
        β€’ Xcode at /Applications/Xcode.app/Contents/Developer
        β€’ CocoaPods version 1.11.3
    
    [βœ“] Chrome - develop for the web
        β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [βœ“] Android Studio (version 2021.2)
        β€’ Android Studio at /Applications/Android Studio.app/Contents
        β€’ Flutter plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter
        β€’ Dart plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart
        β€’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    
    [βœ“] VS Code (version 1.68.0)
        β€’ VS Code at /Applications/Visual Studio Code.app/Contents
        β€’ Flutter extension version 3.42.0
    
    [βœ“] Connected device (3 available)
        β€’ sdk gphone x86 (mobile) β€’ emulator-5554 β€’ android-x86    β€’ Android 11 (API 30) (emulator)
        β€’ macOS (desktop)         β€’ macos         β€’ darwin-x64     β€’ macOS 12.4 21F79 darwin-x64
        β€’ Chrome (web)            β€’ chrome        β€’ web-javascript β€’ Google Chrome 102.0.5005.115
    
    [βœ“] HTTP Host Availability
        β€’ All required HTTP hosts are available
    
    β€’ No issues found!
    

    Info.plist (iOS)

    No response

    Podfile (iOS)

    No response

    AndroidManifest.xml

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.spsc.kontact.android">
        <queries>
            <provider android:authorities="com.facebook.katana.provider.PlatformProvider" />
        </queries>
       
        <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.CAMERA" />
    
        <application
            android:name=".Application"
            android:extractNativeLibs="false"
            android:icon="@mipmap/kapp"
            android:label="@string/app_name"
            android:requestLegacyExternalStorage="true"
            android:allowBackup="false"
            android:usesCleartextTraffic="true">
            <meta-data
                android:name="com.facebook.sdk.ApplicationId"
                android:value="@string/facebook_app_id" />
            <meta-data
                android:name="com.facebook.sdk.ClientToken"
                android:value="@string/facebook_client_token" />
    
            <meta-data
                android:name="com.google.firebase.messaging.default_notification_channel_id"
                android:value="@string/default_notification_channel_id" />
            <meta-data
                android:name="com.google.firebase.messaging.default_notification_icon"
                android:resource="@mipmap/kapp" />
    
            <activity
                android:name="com.yalantis.ucrop.UCropActivity"
                android:screenOrientation="portrait"
                android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
    
            <activity
                android:name=".MainActivity"
                android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
                android:hardwareAccelerated="true"
                android:launchMode="singleTop"
                android:theme="@style/LaunchTheme"
                android:exported="true"
                android:windowSoftInputMode="adjustResize">
                <meta-data
                    android:name="io.flutter.embedding.android.NormalTheme"
                    android:resource="@style/NormalTheme" />
    
                <meta-data
                    android:name="io.flutter.embedding.android.SplashScreenDrawable"
                    android:resource="@drawable/launch_background" />
    
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
    
                <intent-filter>
                    <action android:name="FLUTTER_NOTIFICATION_CLICK" />
                    <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>
    
    
            </activity>
            <!--
     Don't delete the meta-data below.
                 This is used by the Flutter tool to generate GeneratedPluginRegistrant.java
            -->
            <meta-data
                android:name="flutterEmbedding"
                android:value="2" />
        </application>
    
    </manifest>
    

    MainActivity.java

    No response

    MainActivity.kt

    package com.spsc.kontact.android
    
    
    import io.flutter.embedding.android.FlutterActivity
    
    
    class MainActivity: FlutterActivity() {
    
    }
    

    index.html

    No response

    Info.plist (macOS)

    No response

    opened by zatkontact 21
  • build error using flutter_facebook_auth

    build error using flutter_facebook_auth

    What version are you using?

    flutter_facebook_auth: ^5.0.0+2

    What OS and version are you using to local deploy your application?

    windows 11

    What platforms are you seeing the problem on?

    Android

    pubspec.yaml

    name: finefair
    description: A new Flutter project.
    
    # The following line prevents the package from being accidentally published to
    # pub.dev using `flutter pub publish`. This is preferred for private packages.
    publish_to: 'none' # Remove this line if you wish to publish to pub.dev
    
    # The following defines the version and build number for your application.
    # A version number is three numbers separated by dots, like 1.2.43
    # followed by an optional build number separated by a +.
    # Both the version and the builder number may be overridden in flutter
    # build by specifying --build-name and --build-number, respectively.
    # In Android, build-name is used as versionName while build-number used as versionCode.
    # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
    # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
    # Read more about iOS versioning at
    # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
    version: 1.0.0+1
    
    environment:
      sdk: ">=2.17.5 <3.0.0"
    
    # Dependencies specify other packages that your package needs in order to work.
    # To automatically upgrade your package dependencies to the latest versions
    # consider running `flutter pub upgrade --major-versions`. Alternatively,
    # dependencies can be manually updated by changing the version numbers below to
    # the latest version available on pub.dev. To see which dependencies have newer
    # versions available, run `flutter pub outdated`.
    dependencies:
      flutter:
        sdk: flutter
    
      # The following adds the Cupertino Icons font to your application.
      # Use with the CupertinoIcons class for iOS style icons.
      cupertino_icons: ^1.0.2
      http: ^0.13.4
      provider: ^6.0.3
      hive: ^2.2.3
      hive_flutter: ^1.1.0
      share_plus: ^4.0.10
      store_redirect: ^2.0.1
      url_launcher: ^6.1.5
      shared_preferences: ^2.0.15
      flutter_phone_direct_caller: ^2.1.1
      connectivity_plus: ^2.3.6
      internet_connection_checker: ^0.0.1+4
      intl: ^0.17.0
    
      firebase_core: ^1.24.0
      firebase_auth: ^3.7.0
      google_sign_in: ^5.4.1
      sign_in_with_apple: ^4.1.0
      flutter_facebook_auth: ^5.0.0+2
      firebase_messaging: ^13.0.0
      flutter_local_notifications: ^9.9.1
      
      badges: ^2.0.3
      shimmer: ^2.0.0
      google_fonts: ^3.0.1
      fluttertoast: ^8.0.9
      circle_nav_bar: ^1.0.2
      dotted_border: ^2.0.0+2
      delayed_display: ^2.0.0
      carousel_slider: ^4.1.1
      swipeable_tile: ^2.0.0+1 #dissmissable
      intl_phone_field: ^3.0.0
      cached_network_image: ^3.2.1
      top_snackbar_flutter: ^1.1.1
      date_picker_timeline: ^1.2.3
      easy_localization: ^3.0.1
      readmore: ^2.2.0
      flutter_widget_from_html: ^0.8.5
      
    
      
    
      
    
    
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
    
      # The "flutter_lints" package below contains a set of recommended lints to
      # encourage good coding practices. The lint set provided by the package is
      # activated in the `analysis_options.yaml` file located at the root of your
      # package. See that file for information about deactivating specific lint
      # rules and activating additional ones.
      flutter_lints: ^2.0.0
      hive_generator: ^1.1.3
      build_runner: ^2.1.11
      flutter_native_splash: ^2.2.4
      flutter_launcher_icons: ^0.10.0
      
    
    flutter_native_splash:
      ##color: "#FFFFFF"
      background_image: assets/images/splash-background.png
      image: assets/images/logo-splash.png
    
    flutter_icons:
      android: true
      ios: true
      image_path: "assets/images/appicon.png"
     
    # For information on the generic Dart part of this file, see the
    # following page: https://dart.dev/tools/pub/pubspec
    
    # The following section is specific to Flutter packages.
    flutter:
    
      # The following line ensures that the Material Icons font is
      # included with your application, so that you can use the icons in
      # the material Icons class.
      uses-material-design: true
    
      # To add assets to your application, add an assets section, like this:
      assets:
         - assets/images/
         - assets/translations/
      #   - images/a_dot_ham.jpeg
    
      # An image asset can refer to one or more resolution-specific "variants", see
      # https://flutter.dev/assets-and-images/#resolution-aware
    
      # For details regarding adding assets from package dependencies, see
      # https://flutter.dev/assets-and-images/#from-packages
    
      # To add custom fonts to your application, add a fonts section here,
      # in this "flutter" section. Each entry in this list should have a
      # "family" key with the font family name, and a "fonts" key with a
      # list giving the asset and other descriptors for the font. For
      # example:
      fonts:
        - family: Ktm
          fonts:
            - asset: assets/fonts/Ktm.ttf
      #   - family: Trajan Pro
      #     fonts:
      #       - asset: fonts/TrajanPro.ttf
      #       - asset: fonts/TrajanPro_Bold.ttf
      #         weight: 700
      #
      # For details regarding fonts from package dependencies,
      # see https://flutter.dev/custom-fonts/#from-packages
    

    Describe the Bug

    I was using flutter facebook auth till saturday 29/10/2022 app was running good with facebook login, on monday 31/10/2022 app is not getting build , its exits with facebook sdk error as shown below

    FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':app:mergeDebugAssets'.

      Could not resolve com.facebook.android:facebook-android-sdk:latest.release. Required by: project :app > Failed to list versions for com.facebook.android:facebook-android-sdk. > Unable to load Maven meta-data from https://jcenter.bintray.com/com/facebook/android/facebook-android-sdk/maven-metadata.xml. > Could not HEAD 'https://jcenter.bintray.com/com/facebook/android/facebook-android-sdk/maven-metadata.xml'. > Read timed out

    • Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 2m 25s Exception: Gradle task assembleDebug failed with exit code 1

    Expected Behavior

    need to compile and run the app , but its not running showing facebook sdk eror like i attached the eror

    To Reproduce

    check any project with facebook sdk

    Relevant log output

    No response

    flutter doctor -v

    [√] Flutter (Channel stable, 3.3.6, on Microsoft Windows [Version 10.0.22621.755], locale en-IN)
        β€’ Flutter version 3.3.6 on channel stable at C:\Users\user112\development\sdks\flutter
        β€’ Upstream repository https://github.com/flutter/flutter.git
        β€’ Framework revision 6928314d50 (5 days ago), 2022-10-25 16:34:41 -0400
        β€’ Engine revision 3ad69d7be3
        β€’ Dart version 2.18.2
        β€’ DevTools version 2.15.0
    
    [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
        β€’ Android SDK at C:\Users\user112\AppData\Local\Android\sdk
        β€’ Platform android-33, build-tools 31.0.0
        β€’ Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
        β€’ Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
        β€’ All Android licenses accepted.
        β€’ Flutter plugin can be installed from:
           https://plugins.jetbrains.com/plugin/9212-flutter
        β€’ Dart plugin can be installed from:
           https://plugins.jetbrains.com/plugin/6351-dart
        β€’ Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    
    [√] VS Code (version 1.72.2)
        β€’ VS Code at C:\Users\user112\AppData\Local\Programs\Microsoft VS Code
        β€’ Flutter extension version 3.50.0
    
    [√] Connected device (4 available)
        β€’ sdk gphone x86 (mobile) β€’ emulator-5554 β€’ android-x86    β€’ Android 11 (API 30) (emulator)
        β€’ Windows (desktop)       β€’ windows       β€’ windows-x64    β€’ Microsoft Windows [Version 10.0.22621.755]
        β€’ Chrome (web)            β€’ chrome        β€’ web-javascript β€’ Google Chrome 107.0.5304.87
        β€’ Edge (web)              β€’ edge          β€’ web-javascript β€’ Microsoft Edge 107.0.1418.26
    
    [√] HTTP Host Availability
        β€’ All required HTTP hosts are available
    

    Info.plist (iOS)

    No response

    Podfile (iOS)

    No response

    AndroidManifest.xml

    No response

    MainActivity.java

    No response

    MainActivity.kt

    No response

    index.html

    No response

    Info.plist (macOS)

    No response

    opened by suhail600 19
  • Facebook Login not working on real device

    Facebook Login not working on real device

    Facebook login is working on android emulator but it is not working in real device showing the following in that function hit

    Running with unsound null safety For more information see https://dart.dev/null-safety/unsound-null-safety E/ (26513): [ZeroHung]zrhung_get_config: Get config failed for wp[0x0008] D/AwareBitmapCacher(26513): handleInit switch not opened pid=26513 D/ZrHung.AppEyeUiProbe(26513): notify runnable to start. D/ZrHung.AppEyeUiProbe(26513): restart watching I/OpenGLRenderer(26513): Initialized EGL, version 1.4, mEglDisplay 0x1 D/OpenGLRenderer(26513): Swap behavior 2 D/mali_winsys(26513): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 D/mali_winsys(26513): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 W/libEGL (26513): EGLNativeWindowType 0x7d6f997010 disconnect failed D/mali_winsys(26513): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/ViewRootImpl(26513): jank_removeInvalidNode jank list is null W/InputMethodManager(26513): startInputReason = 1 W/InputMethodManager(26513): startInputReason = 5 V/AudioManager(26513): playSoundEffect effectType: 0 V/AudioManager(26513): querySoundEffectsEnabled... I/flutter (26513): Erro! nnnnn D/ZrHung.AppEyeUiProbe(26513): stop checker. W/ActivityThread(26513): handleWindowVisibility: no activity for token android.os.BinderProxy@c1a388c D/ZrHung.AppEyeUiProbe(26513): notify runnable to start. V/ActivityThread(26513): Skipping new config:{1.0 410mcc4mnc [en_US] ldltr sw360dp w360dp h686dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2150) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:4 s.48}, config:{1.0 410mcc4mnc [en_US] ldltr sw360dp w360dp h686dp 480dpi nrml long port finger -keyb/v/h -nav/h winConfig={ mBounds=Rect(0, 0 - 0, 0) mAppBounds=Rect(0, 90 - 1080, 2150) mWindowingMode=fullscreen mActivityType=undefined} nonFullScreen=0 suim:4 s.48} for app:com.ababeel.ababeel V/ActivityThread(26513): callActivityOnCreate I/HwPhoneWindow(26513): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=0, mNavBarShow=false, mIsFloating=false I/HwPhoneWindow(26513): updateLayoutParamsColor true mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=ff000000, mNavBarShow=false, mIsFloating=false D/ActivityThread(26513): add activity client record, r= ActivityRecord{97550af token=android.os.BinderProxy@c1a388c {com.ababeel.ababeel/com.facebook.FacebookActivity}} token= android.os.BinderProxy@c1a388c D/ZrHung.AppEyeUiProbe(26513): notify runnable to start. D/OpenGLRenderer(26513): HWUI Binary is enabled I/HwPhoneWindow(26513): updateLayoutParamsColor false mSpecialSet=false, mForcedNavigationBarColor=false, navigationBarColor=ff000000, mNavBarShow=true, mIsFloating=false I/HiTouch_HiTouchSensor(26513): enabledInPad = false,isPcCastMode = false D/HiTouch_PressGestureDetector(26513): onAttached, package=com.ababeel.ababeel, windowType=1, mHiTouchRestricted=false D/ZrHung.AppEyeUiProbe(26513): stop checker. D/mali_winsys(26513): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000 I/ViewRootImpl(26513): jank_removeInvalidNode all the node in jank list is out of time D/OpenGLRenderer(26513): HWUI Binary is enabled D/ZrHung.AppEyeUiProbe(26513): Current Activity:false D/ZrHung.AppEyeUiProbe(26513): not watching, wait. D/ZrHung.AppEyeUiProbe(26513): notify runnable to start. D/ZrHung.AppEyeUiProbe(26513): restart watching W/InputMethodManager(26513): startInputReason = 1 D/ZrHung.AppEyeUiProbe(26513): stop checker. D/ZrHung.AppEyeUiProbe(26513): notify runnable to start. W/InputMethodManager(26513): startInputReason = 1 I/flutter (26513): LoginStatus.failed D/ViewRootImplFacebookActivity: surface should not be released D/ActivityThread(26513): Remove activity client record, r= ActivityRecord{97550af token=android.os.BinderProxy@c1a388c {com.ababeel.ababeel/com.facebook.FacebookActivity}} token= android.os.BinderProxy@c1a388c W/libEGL (26513): EGLNativeWindowType 0x7d62be9010 disconnect failed

    Flutter doctor -v [√] Flutter (Channel stable, 2.0.2, on Microsoft Windows [Version 10.0.19042.1237], locale en-US) β€’ Flutter version 2.0.2 at C:\src\flutter β€’ Framework revision 8962f6dc68 (7 months ago), 2021-03-11 13:22:20 -0800 β€’ Engine revision 5d8bf811b3 β€’ Dart version 2.12.1

    [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) β€’ Android SDK at C:\Users\shahi\AppData\Local\Android\sdk β€’ Platform android-30, build-tools 30.0.3 β€’ Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java β€’ Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) β€’ All Android licenses accepted.

    [√] Chrome - develop for the web β€’ Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

    [√] Android Studio β€’ Android Studio at C:\Program Files\Android\Android Studio1 β€’ Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart β€’ android-studio-dir = C:\Program Files\Android\Android Studio1 β€’ Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

    [√] VS Code (version 1.60.2) β€’ VS Code at C:\Users\shahi\AppData\Local\Programs\Microsoft VS Code β€’ Flutter extension version 3.26.0

    [√] Connected device (4 available) β€’ ANE LX1 (mobile) β€’ 9WVDU18418001867 β€’ android-arm64 β€’ Android 9 (API 28) β€’ sdk gphone x86 (mobile) β€’ emulator-5554 β€’ android-x86 β€’ Android 11 (API 30) (emulator) β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 94.0.4606.61 β€’ Edge (web) β€’ edge β€’ web-javascript β€’ Microsoft Edge 93.0.961.52

    β€’ No issues found!

    Packages i used cupertino_icons: ^1.0.2 http: ^0.13.3 firebase_core: ^1.7.0 flutter_facebook_auth: ^3.5.2

    my manifest

    <activity android:name="com.facebook.FacebookActivity"
        android:configChanges=
                "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="@string/app_name" />
    <activity
        android:name="com.facebook.CustomTabActivity"
        android:exported="true">
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="@string/fb_login_protocol_scheme" />
        </intent-filter>
    </activity>
    
        <activity
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <!-- Displays an Android View that continues showing the launch screen
                 Drawable until Flutter paints its first frame, then this splash
                 screen fades out. A splash screen is useful to avoid any visual
                 gap between the end of Android's launch screen and the painting of
                 Flutter's first frame. -->
            <meta-data
              android:name="io.flutter.embedding.android.SplashScreenDrawable"
              android:resource="@drawable/launch_background"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
         
    
        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
    </application>
    

    string.xml

    my app name
    <!-- Replace "000000000000" with your Facebook App ID here. -->
    <string name="facebook_app_id">my app id</string>
    
    <!--
      Replace "000000000000" with your Facebook App ID here.
      **NOTE**: The scheme needs to start with `fb` and then your ID.
    -->
    <string name="fb_login_protocol_scheme">fb my app id</string>
    

    my function

    Future<List> facebookSignin() async { try { final _instance = FacebookAuth.instance; print("Erro! nnnnn");

      final result = await _instance.login(permissions: ["public_profile", "email"],);
      print(result.status);
    } catch (e) {
      return ["Erro! aaaaaaaa", e.toString()];
    }
    

    }

    when i hit this function facebook dialogue appear for a second and then gone

    opened by shahid31346 19
  • FBSDKCoreKit/FBSDKCoreKit.h file not found

    FBSDKCoreKit/FBSDKCoreKit.h file not found

    Hello. I have error in iOS: "FBSDKCoreKit/FBSDKCoreKit.h file not found"

    I added the following to the PodFile, after which the error popped up: post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) target.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0' end end end Otherwise, I had an error: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

    I use version 3.5.0 of flutter-facebook-auth. Please help me. Thanks.

    opened by Wolfaks 18
  • Login failed

    Login failed

    Describe the bug I've followed every step from the docs, and i got to the point where triggering the facebook login event pops the facebook account selector. But after choosing the account and pressing login, my flutter app gives login failed (error: FacebookAuthErrorCode.FAILED)

    Environment Flutter doctor: [√] Flutter (Channel dev, 1.27.0-1.0.pre, on Microsoft Windows [Version 10.0.19041.804], locale en-US) β€’ Flutter version 1.27.0-1.0.pre at D:\flutter β€’ Framework revision 68c96f100e (10 days ago), 2021-02-08 16:14:15 -0800 β€’ Engine revision b04955656c β€’ Dart version 2.13.0 (build 2.13.0-0.0.dev)

    [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2) β€’ Android SDK at C:\Users\dani\AppData\Local\Android\Sdk β€’ Platform android-29, build-tools 29.0.2 β€’ Java binary at: C:\Program Files\Java\jdk1.8.0_202\bin\java β€’ Java version Java(TM) SE Runtime Environment (build 1.8.0_202-b08) β€’ All Android licenses accepted.

    [√] Chrome - develop for the web β€’ Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

    [√] Android Studio (version 4.1.0) β€’ Android Studio at D:\AndroidStudio β€’ Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

    [!] Android Studio β€’ Android Studio at D:\AndroidStudio\bin β€’ Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart X android-studio-dir = D:\AndroidStudio\bin X Unable to find bundled Java version. β€’ Try updating or re-installing Android Studio. β€’ Consider removing your android-studio-dir setting by running: flutter config --android-studio-dir=

    [√] IntelliJ IDEA Community Edition (version 2020.2) β€’ IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.3 β€’ Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart

    [√] Connected device (3 available) β€’ SM A505FN (mobile) β€’ R58M73TGJWT β€’ android-arm64 β€’ Android 10 (API 29) β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 88.0.4324.150 β€’ Edge (web) β€’ edge β€’ web-javascript β€’ Microsoft Edge 88.0.705.68

    ! Doctor found issues in 1 category.

    Pubspec.yaml: name: fitter_fit_2 description: A new Flutter project. publish_to: 'none' version: 1.27.0-1.0.pre

    environment: sdk: ">=2.7.0 <3.0.0"

    dependencies: flutter: sdk: flutter provider: ^4.3.2+3 firebase_core: ^0.8.0-1.0.nullsafety.0 firebase_auth: ^0.21.0-1.1.nullsafety.1 cloud_firestore: ^0.17.0-1.0.nullsafety.0 google_sign_in: ^5.0.0-nullsafety flutter_facebook_auth: ^2.0.2 regexpattern: ^1.0.0

    flushbar: ^1.10.4

    tuple: ^2.0.0-nullsafety.0 flutter_svg: ^0.20.0-nullsafety.3 font_awesome_flutter: ^9.0.0-nullsafety

    . cupertino_icons: ^1.0.0

    dev_dependencies: flutter_test: sdk: flutter

    flutter:

    uses-material-design: true

    assets: - Assets/Workout2.svg - Assets/GoogleIcon.svg

    AndroidManifest.xml:

    <uses-permission android:name="android.permission.INTERNET" />
    
    <application
        android:name="io.flutter.app.FlutterApplication"
        android:label="@string/app_name"
        android:icon="@mipmap/ic_launcher">
    
        <meta-data 
          android:name="com.facebook.sdk.ApplicationId"
          android:value="@string/facebook_app_id"/>
        <activity 
          android:name="com.facebook.FacebookActivity"
          android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
          android:label="@string/app_name" />
        <activity
          android:name="com.facebook.CustomTabActivity"
          android:exported="true">
          <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="@string/fb_login_protocol_scheme" />
          </intent-filter>
        </activity>
        
        <activity
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <meta-data
              android:name="io.flutter.embedding.android.SplashScreenDrawable"
              android:resource="@drawable/launch_background"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
    </application>
    

    strings.xml:

    FitterFit2 ########## fb########

    To Reproduce Please add your code to reproduce the issue

    Expected behavior A clear and concise description of what you expected to happen.

    Video

    the user that i'm using in the video is a Test user generated with facebook developers site, the app is in development mode, it's not published yet

    https://user-images.githubusercontent.com/48672840/108399304-a2c1da80-7222-11eb-8493-2155c80849c2.mp4

    opened by bereznic 18
  • CONNECTION_FAILURE: CONNECTION_FAILURE Login Failed

    CONNECTION_FAILURE: CONNECTION_FAILURE Login Failed

    Describe the bug I have imported latest package (flutter_facebook_auth: ^4.1.2) and followed all the documentaion on the website https://facebook.meedu.app/ for android. Now when I click on "sign in with facebook" Button . It takes me to facebook app where I allow the authorization. After this it closes and I am shifted back to app But I am not signed in the app. I got the following output from the debug Console: PP: result.status: Login Failed PP: result.message: CONNECTION_FAILURE: CONNECTION_FAILURE

    I confirm internet is working fine and even I used vpn to check if it is problem of my local internet. I even cleared my cache by flutter clean command. I have also added required fields on facebook including SHA-1 in form of Base64 and turned on facebook authentication.

    To Reproduce Flutter Code:

     Future<String?>? _signInWithFacebook() async {
        final LoginResult result = await FacebookAuth.instance
            .login();
        if (result.status == LoginStatus.success) {
          print(' Logged In');
        } else {
          print('PP: result.status ${result.status}');
          print('PP: result message: ${result.message}');
        }
    

    Environment Add your flutter doctor -v

    [√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Version 10.0.22000.556], locale en-GB)
        β€’ Flutter version 2.10.4 at C:\Users\Public\@Apps\flutter
        β€’ Upstream repository https://github.com/flutter/flutter.git
        β€’ Framework revision c860cba910 (2 weeks ago), 2022-03-25 00:23:12 -0500
        β€’ Engine revision 57d3bac3dd
        β€’ Dart version 2.16.2
        β€’ DevTools version 2.9.2
    
    [!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
        β€’ Android SDK at C:\Users\afzlw\AppData\Local\Android\sdk
        X cmdline-tools component is missing
          Run `path/to/sdkmanager --install "cmdline-tools;latest"`
          See https://developer.android.com/studio/command-line for more details.
        X Android license status unknown.
          Run `flutter doctor --android-licenses` to accept the SDK licenses.
          See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.        
          27) (emulator)
        β€’ Windows (desktop)                  β€’ windows            β€’ windows-x64    β€’ Microsoft Windows    
          [Version 10.0.22000.556]
        β€’ Edge (web)                         β€’ edge               β€’ web-javascript β€’ Microsoft Edge       
          100.0.1185.29
    
    [√] HTTP Host Availability
        β€’ All required HTTP hosts are available
    
    ! Doctor found issues in 3 categories.
    

    Add your pubspec.yaml

    name: dot_now
    description: A new Flutter project.
    publish_to: 'none'
    version: 1.0.0+1
    
    environment:
      sdk: ">=2.16.2 <3.0.0"
    dependencies:
      flutter:
        sdk: flutter
      cloud_firestore: ^3.1.11
      cupertino_icons: ^1.0.2
      easy_mask: ^2.0.1
      firebase_auth: ^3.3.12
      firebase_core: ^1.14.0
      flutter_countdown_timer: ^4.1.0
      firebase_database: ^9.0.9
      flutter_facebook_auth: ^4.1.2
      flutter_signin_button: ^2.0.0
      flutter_svg: ^1.0.3
      fluttertoast: ^8.0.9
      google_fonts: ^2.3.1
      google_sign_in: ^5.2.4
      introduction_screen: ^3.0.2
      pinput: ^2.2.7
      sembast: ^3.2.0
      sentry: ^6.4.0
      vxstate: ^2.1.0
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
      flutter_lints: ^1.0.0
    flutter:
      uses-material-design: true
      assets:
        - assets/svg/landing_page/
    
    

    Add your Info.plist

    Not relevent as I am testing for android only.

    Add your AppDelegate.swift

    Not relevent as I am testing for android only.

    Add your MainActivity

    package pk.dotnow.dot_now
    
    import io.flutter.embedding.android.FlutterActivity
    
    class MainActivity: FlutterActivity() {
    }
    

    Add your AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="pk.dotnow.dot_now">
        <queries>
            <provider android:authorities="com.facebook.katana.provider.PlatformProvider" />
        </queries>
    
       <application
            android:label="dot_now"
            android:name="${applicationName}"
            android:icon="@mipmap/ic_launcher">
            <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
    <meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token"/>
            <activity
                android:name=".MainActivity"
                android:exported="true"
                android:launchMode="singleTop"
                android:theme="@style/LaunchTheme"
                android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
                android:hardwareAccelerated="true"
                android:windowSoftInputMode="adjustResize">
                <!-- Specifies an Android theme to apply to this Activity as soon as
                     the Android process has started. This theme is visible to the user
                     while the Flutter UI initializes. After that, this theme continues
                     to determine the Window background behind the Flutter UI. -->
                <meta-data
                  android:name="io.flutter.embedding.android.NormalTheme"
                  android:resource="@style/NormalTheme"
                  />
                <intent-filter>
                    <action android:name="android.intent.action.MAIN"/>
                    <category android:name="android.intent.category.LAUNCHER"/>
                </intent-filter>
            </activity>
            
    
            <!-- Don't delete the meta-data below.
                 This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
            <meta-data
                android:name="flutterEmbedding"
                android:value="2" />
        </application>
        <uses-permission android:name="android.permission.INTERNET"/>
    </manifest>
    
    

    Add your /app/res/values/strings.xml

    <?xml version="1.0" encoding="utf-8"?>
    <resources>
        <string name="facebook_app_id">516060370HIDDEN</string>
        <string name="facebook_client_token">c95ccef4b55f41dcd80289c849HIDDEN</string>
    </resources>
    
    opened by afzl-wtu 16
  • iOS 16 App not launching when using version 5 of the package. Android works

    iOS 16 App not launching when using version 5 of the package. Android works

    Version 4 working without issues

    dyld[10178]: Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit Referenced from: <421700C1-D9B8-3DC8-80AE-5E896A43F549> /Users/apps_by_koketso/Library/Developer/CoreSimulator/Devices/955346C0-9960-4AF6-BE99-E2EF80B4E4D2/data/Containers/Bundle/Application/5BD2DD9C-CECE-4670-893E-086BD1BD336A/Runner.app/Runner Reason: tried: '/Users/apps_by_koketso/Library/Developer/Xcode/DerivedData/Runner-gwverkqqismtghfiorcolgakhntk/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/Users/apps_by_koketso/Library/Developer/CoreSimulator/Devices/955346C0-9960-4AF6-BE99-E2EF80B4E4D2/data/Containers/Bundle/Application/5BD2DD9C-CECE-4670-893E-086BD1BD336A/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/Users/apps_by_koketso/Library/Developer/CoreSimulator/Devices/955346C0-9960-4AF6-BE99-E2EF80B4E4D2/data/Containers/Bundle/Application/5BD2DD9C-CECE-4670-893E-086BD1BD336A/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/Users/apps_by_koketso/Library/Developer/CoreSimulator/Devices/955346C0-9960-4AF6-BE99-E2EF80B4E4D2/data/Containers/Bundle/Application/5BD2DD9C-CECE-4670-893E-086BD1BD336A/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/Users/apps_by_koketso/Library/Developer/CoreSimulator/Devices/955346C0-9960-4AF6-BE99-E2EF80B4E4D2/data/Containers/Bundle/Application/5BD2DD9C-CECE-4670-893E-086BD1BD336A/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/Users/apps_by_koketso/Library/Developer/CoreSimulator/Devices/955346C0-9960-4AF6-BE99-E2EF80B4E4D2/data/Containers/Bundle/Application/5BD2DD9C-CECE-4670-893E-086BD1BD336A/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/Users/apps_by_koketso/Library/Developer/CoreSimulator/Devices/955346C0-9960-4AF6-BE99-E2EF80B4E4D2/data/Containers/Bundle/Application/5BD2DD9C-CECE-4670-893E-086BD1BD336A/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2) Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit Referenced from: <421700C1-D9B8-3DC8-80AE-5E896A43F549> /Users/apps_by_koketso/Library/Developer/CoreSimulator/Devices/955346C0-9960-4AF6-BE99-E2EF80B4E4D2/data/Containers/Bundle/Application/5BD2DD9C-CECE-4670-893E-086BD1BD336A/Runner.app/Runner Reason: tried: '/Users/apps_by_koketso/Library/Developer/Xcode/DerivedData/Runner-gwverkqqismtghfiorcolgakhntk/Build/Products/Debug-iphonesimulator/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/FBSDKCoreKit.framew dyld config: DYLD_SHARED_CACHE_DIR=/Users/apps_by_koketso/Library/Developer/CoreSimulator/Caches/dyld/21G72/com.apple.CoreSimulator.SimRuntime.iOS-16-0.20A360 DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/apps_by_koketso/Library/Developer/Xcode/DerivedData/Runner-gwverkqqismtghfiorcolgakhntk/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/apps_by_koketso/Library/Developer/Xcode/DerivedData/Runner-gwverkqqismtghfiorcolgakhntk/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib (lldb)

    insufficient information don't follow the issue template 
    opened by mashegoindustries 15
  • Compile errors in dependent packages when making minor changes to FacebookAuthPlatform

    Compile errors in dependent packages when making minor changes to FacebookAuthPlatform

    Describe the bug

    flutter_facebook_auth_platform_interface's use of plugin_platform_interface is not consistent with documentation and could lead to compile errors in other dependent packages if it changes.

    A minor update to FacebookAuthPlatform (such as adding a new method) is a breaking change for apps that depend on flutter_facebook_auth directly. It is also a compile error if they depend flutter_facebook_auth indirectly, e.g. through the flutterfire_ui package, because they'll pick up the minor update through the transitive dependency on facebook_auth_platform_interface. It breaks builds even for users who are not using Facebook auth at all, but are using another auth provider.

    Suggested fix:

    /cc @stuartmorgan @Ehesp

    Environment flutter_facebook_auth_platform_interface 2.7.1 flutter_facebook_auth 3.5.7

    To Reproduce

    • flutter create an app
    • Add a dependency of flutterfire_ui: ^0.3.1 to the app's pubspec.yaml and import 'package:flutterfire_ui/auth.dart';.
    • Use dependency_overrides to point to a local version of flutter_facebook_auth_platform_interface in pubspec.yaml.
    • Add a method void test() {} in the local version of FacebookAuthPlatform
    • flutter run on the command line in the root of the app
    • The following compile error appears:
    /../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-3.5.7/lib/flutter_facebook_auth.dart:8:7: Error: The non-abstract class
    'FacebookAuth' is missing implementations for these members:
     - FacebookAuthPlatform.test
    Try to either
     - provide an implementation,
     - inherit an implementation from a superclass or mixin,
     - mark the class as abstract, or
     - provide a 'noSuchMethod' implementation.
    
    class FacebookAuth implements FacebookAuthPlatform {
          ^^^^^^^^^^^^
    facebook_auth_platform_interface/lib/src/facebook_auth_plaftorm.dart:36:8: Context: 'FacebookAuthPlatform.test' is defined here.
      void test() {}
           ^^^^
    

    Expected behavior App should build

    opened by collinjackson 15
  • TypeError: dart.global.FacebookAuth is not a constructor

    TypeError: dart.global.FacebookAuth is not a constructor

    Describe the bug Getting this stacktrace on startup of my webapp, although the following script was added to the index.html

    <body>
    
      <script>
          var FACEBOOK_APP_ID = "1541669779240401";
          window.fbAsyncInit = function () {
            FB.init({
              appId: FACEBOOK_APP_ID,
              cookie: true,
              xfbml: true,
              version: "v9.0",
            });
            FB.AppEvents.logPageView();
          };
        </script>
      <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js" ></script>
      <script src="flutter_facebook_auth.js" type="application/javascript" ></script>
    

    TypeError: dart.global.FacebookAuth is not a constructor at new auth.Auth.new (http://localhost:7357/packages/flutter_facebook_auth_web/src/interop/auth.dart.lib.js:177:40) at new facebook_auth_plugin.FlutterFacebookAuthPlugin.new (http://localhost:7357/packages/flutter_facebook_auth_web/src/facebook_auth_plugin.dart.lib.js:94:44) at Function.registerWith (http://localhost:7357/packages/flutter_facebook_auth_web/src/facebook_auth_plugin.dart.lib.js:46:80) at Object.registerPlugins (http://localhost:7357/packages/koerbchen/generated_plugin_registrant.dart.lib.js:45:52) at main (http://localhost:7357/web_entrypoint.dart.lib.js:44:35) at main.next () at runBody (http://localhost:7357/dart_sdk.js:39052:34) at Object._async [as async] (http://localhost:7357/dart_sdk.js:39083:7) at main$ (http://localhost:7357/web_entrypoint.dart.lib.js:43:18) at http://localhost:7357/main_module.bootstrap.js:19:10 at Array.forEach () at window.$dartRunMain (http://localhost:7357/main_module.bootstrap.js:18:32) at :1:8 at Object.runMain (http://localhost:7357/dwds/src/injected/client.js:8656:21) at http://localhost:7357/dwds/src/injected/client.js:22068:19 at _wrapJsFunctionForAsync_closure.$protected (http://localhost:7357/dwds/src/injected/client.js:3830:15) at _wrapJsFunctionForAsync_closure.call$2 (http://localhost:7357/dwds/src/injected/client.js:10905:12) at Object._asyncStartSync (http://localhost:7357/dwds/src/injected/client.js:3794:20) at main__closure1.$call$body$main__closure (http://localhost:7357/dwds/src/injected/client.js:22080:16) at main__closure1.call$1 (http://localhost:7357/dwds/src/injected/client.js:22007:19) at StaticClosure._rootRunUnary [as call$2$5] (http://localhost:7357/dwds/src/injected/client.js:4153:16) at _CustomZone.runUnary$2$2 (http://localhost:7357/dwds/src/injected/client.js:12136:39) at _CustomZone.runUnaryGuarded$1$2 (http://localhost:7357/dwds/src/injected/client.js:12068:14) at _ControllerSubscription._sendData$1 (http://localhost:7357/dwds/src/injected/client.js:11697:19) at _DelayedData.perform$1 (http://localhost:7357/dwds/src/injected/client.js:11849:59) at _PendingEvents_schedule_closure.call$0 (http://localhost:7357/dwds/src/injected/client.js:11898:14) at Object._microtaskLoop (http://localhost:7357/dwds/src/injected/client.js:3990:24) at StaticClosure._startMicrotaskLoop (http://localhost:7357/dwds/src/injected/client.js:3996:11) at _AsyncRun__initializeScheduleImmediate_internalCallback.call$1 (http://localhost:7357/dwds/src/injected/client.js:10774:9) at invokeClosure (http://localhost:7357/dwds/src/injected/client.js:1250:26) at MutationObserver. (http://localhost:7357/dwds/src/injected/client.js:1269:18)

    Environment [βœ“] Flutter (Channel stable, 2.0.2, on macOS 11.0.1 20B50 darwin-x64, locale de-DE) β€’ Flutter version 2.0.2 at /Users/christiankirst/development/flutter β€’ Framework revision 8962f6dc68 (10 days ago), 2021-03-11 13:22:20 -0800 β€’ Engine revision 5d8bf811b3 β€’ Dart version 2.12.1

    flutter_facebook_auth: 3.1.1

    opened by Klabauterman 15
  • Swift Compiler Error (Xcode): No such module 'FBSDKCoreKit'

    Swift Compiler Error (Xcode): No such module 'FBSDKCoreKit'

    What version are you using?

    4.3.4

    What OS and version are you using to local deploy your application?

    Intel Mac Pro

    What platforms are you seeing the problem on?

    iOS

    Describe the Bug

    I am getting error that Swift Compiler is not able to find FBSDKCoreKit in flutter_facebook_auth package when I try to create an archive.

    Swift Compiler Error (Xcode): No such module 'FBSDKCoreKit'
    /Users/builder/programs/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_auth-4.3.4/ios/Classes/FacebookAuth.swift:8:7
    

    Expected Behavior

    It should compile and build archive!

    To Reproduce

    Make iOS archive with your plugin.

    flutter doctor -v

    [βœ“] Flutter (Channel stable, 2.10.4, on macOS 11.6.5 20G527 darwin-x64, locale en-IN)
        β€’ Flutter version 2.10.4 at /Users/devarsh.ranpara/fvm/versions/2.10.4
        β€’ Upstream repository https://github.com/flutter/flutter.git
        β€’ Framework revision c860cba910 (2 months ago), 2022-03-25 00:23:12 -0500
        β€’ Engine revision 57d3bac3dd
        β€’ Dart version 2.16.2
        β€’ DevTools version 2.9.2
    
    [βœ“] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
        β€’ Android SDK at /Users/devarsh.ranpara/Library/Android/sdk
        β€’ Platform android-31, build-tools 31.0.0
        β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
        β€’ Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
        β€’ All Android licenses accepted.
    
    [βœ“] Xcode - develop for iOS and macOS (Xcode 13.0)
        β€’ Xcode at /Applications/Xcode.app/Contents/Developer
        β€’ CocoaPods version 1.11.2
    
    [βœ“] Chrome - develop for the web
        β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [βœ“] Android Studio (version 2021.1)
        β€’ Android Studio at /Applications/Android Studio.app/Contents
        β€’ Flutter plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter
        β€’ Dart plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart
        β€’ Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    
    [βœ“] VS Code (version 1.67.2)
        β€’ VS Code at /Applications/Visual Studio Code.app/Contents
        β€’ Flutter extension version 3.42.0
    
    [βœ“] Connected device (4 available)
        β€’ sdk gphone x86 (mobile) β€’ emulator-5554             β€’ android-x86    β€’ Android 11 (API 30) (emulator)
        β€’ SF-MOB-022 (mobile)     β€’ ######### β€’ ios            β€’ iOS 15.3.1 19D52
        β€’ macOS (desktop)         β€’ macos                     β€’ darwin-x64     β€’ macOS 11.6.5 20G527 darwin-x64
        β€’ Chrome (web)            β€’ chrome                    β€’ web-javascript β€’ Google Chrome 102.0.5005.61
    
    [βœ“] HTTP Host Availability
        β€’ All required HTTP hosts are available
    
    β€’ No issues found!
    

    This issue is already reported in https://github.com/darwin-morocho/flutter-facebook-auth/issues/251 But solution is not described there!

    Screenshot of issue.

    image image

    opened by DevarshRanpara 14
  • Login error

    Login error

    What version are you using?

    5.0.7

    What OS and version are you using to local deploy your application?

    Windows 11

    What platforms are you seeing the problem on?

    Android

    pubspec.yaml

    # The following line prevents the package from being accidentally published to
    # pub.dev using `flutter pub publish`. This is preferred for private packages.
    publish_to: 'none' # Remove this line if you wish to publish to pub.dev
    
    # The following defines the version and build number for your application.
    # A version number is three numbers separated by dots, like 1.2.43
    # followed by an optional build number separated by a +.
    # Both the version and the builder number may be overridden in flutter
    # build by specifying --build-name and --build-number, respectively.
    # In Android, build-name is used as versionName while build-number used as versionCode.
    # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
    # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
    # Read more about iOS versioning at
    # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
    # In Windows, build-name is used as the major, minor, and patch parts
    # of the product and file versions while build-number is used as the build suffix.
    version: 1.0.0+1
    
    environment:
      sdk: '>=2.18.6 <3.0.0'
    
    # Dependencies specify other packages that your package needs in order to work.
    # To automatically upgrade your package dependencies to the latest versions
    # consider running `flutter pub upgrade --major-versions`. Alternatively,
    # dependencies can be manually updated by changing the version numbers below to
    # the latest version available on pub.dev. To see which dependencies have newer
    # versions available, run `flutter pub outdated`.
    dependencies:
      flutter:
        sdk: flutter
    
    
      # The following adds the Cupertino Icons font to your application.
      # Use with the CupertinoIcons class for iOS style icons.
      cupertino_icons: ^1.0.2
      firebase_core: ^2.4.1
      firebase_analytics: ^10.1.0
      firebase_app_check: ^0.1.1+8
      firebase_auth: ^4.2.5
      cloud_firestore: ^4.3.1
      cloud_functions: ^4.0.7
      firebase_storage: ^11.0.10
      flutter_dotenv: ^5.0.2
      shared_preferences: ^2.0.15
      provider: ^6.0.5
      flutter_easyloading: ^3.0.5
      flutter_facebook_auth: ^5.0.7
      flutter_login: ^4.1.1
      rflutter_alert: ^2.0.4
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
    
      # The "flutter_lints" package below contains a set of recommended lints to
      # encourage good coding practices. The lint set provided by the package is
      # activated in the `analysis_options.yaml` file located at the root of your
      # package. See that file for information about deactivating specific lint
      # rules and activating additional ones.
      flutter_lints: ^2.0.0
    
    # For information on the generic Dart part of this file, see the
    # following page: https://dart.dev/tools/pub/pubspec
    
    # The following section is specific to Flutter packages.
    flutter:
    
      # The following line ensures that the Material Icons font is
      # included with your application, so that you can use the icons in
      # the material Icons class.
      uses-material-design: true
    
      # To add assets to your application, add an assets section, like this:
      assets:
        - images/fulllogo.png
        - .env
        - .env_prod
    
      # An image asset can refer to one or more resolution-specific "variants", see
      # https://flutter.dev/assets-and-images/#resolution-aware
    
      # For details regarding adding assets from package dependencies, see
      # https://flutter.dev/assets-and-images/#from-packages
    
      # To add custom fonts to your application, add a fonts section here,
      # in this "flutter" section. Each entry in this list should have a
      # "family" key with the font family name, and a "fonts" key with a
      # list giving the asset and other descriptors for the font. For
      # example:
      # fonts:
      #   - family: Schyler
      #     fonts:
      #       - asset: fonts/Schyler-Regular.ttf
      #       - asset: fonts/Schyler-Italic.ttf
      #         style: italic
      #   - family: Trajan Pro
      #     fonts:
      #       - asset: fonts/TrajanPro.ttf
      #       - asset: fonts/TrajanPro_Bold.ttf
      #         weight: 700
      #
      # For details regarding fonts from package dependencies,
      # see https://flutter.dev/custom-fonts/#from-packages
    

    Describe the Bug

    Login error after launching the FB native app. All the configuration seems valid, I have put all the debug and release hashes, I have configured it on FB console, manifest files and on my emulator I am logged in with a test user account from this app because it's not live yet. I have asked permission for email and public profile.

    Expected Behavior

    login

    To Reproduce

    final LoginResult loginResult = await FacebookAuth.instance.login();

    // Create a credential from the access token
    final OAuthCredential facebookAuthCredential =
    FacebookAuthProvider.credential(loginResult.accessToken!.token);
    

    Relevant log output

    No response

    flutter doctor -v

    [√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [Version 10.0.22621.963], locale en-US)
        β€’ Flutter version 3.3.10 on channel stable at C:\src\flutter
        β€’ Upstream repository https://github.com/flutter/flutter.git
        β€’ Framework revision 135454af32 (4 weeks ago), 2022-12-15 07:36:55 -0800
        β€’ Engine revision 3316dd8728
        β€’ Dart version 2.18.6
        β€’ DevTools version 2.15.0
    
    [√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
        β€’ Android SDK at C:\Users\arisg\AppData\Local\Android\Sdk
        β€’ Platform android-33, build-tools 33.0.1
        β€’ ANDROID_HOME = C:\Users\arisg\AppData\Local\Android\Sdk
        β€’ Java binary at:
          C:\Users\arisg\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\211.7628.21.2111.8092744\jre\bin\java
        β€’ Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
        β€’ All Android licenses accepted.
    
    [√] Chrome - develop for the web
        β€’ Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    
    [√] Visual Studio - develop for Windows (Visual Studio Build Tools 2022 17.3.5)
        β€’ Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
        β€’ Visual Studio Build Tools 2022 version 17.3.32922.545
        β€’ Windows 10 SDK version 10.0.19041.0
    
    [√] Android Studio (version 2021.1)
        β€’ Android Studio at C:\Users\arisg\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\211.7628.21.2111.8092744
        β€’ Flutter plugin version 63.2.1
        β€’ Dart plugin version 203.8452
        β€’ Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    
    [√] IntelliJ IDEA Community Edition (version 2022.2)
        β€’ IntelliJ at C:\Users\arisg\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\222.4459.24
        β€’ Flutter plugin version 71.2.5
        β€’ Dart plugin version 222.4459.16
    
    [√] IntelliJ IDEA Community Edition (version 2022.3)
        β€’ IntelliJ at C:\Users\arisg\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-0\223.8214.52
        β€’ Flutter plugin version 71.3.6
        β€’ Dart plugin version 223.8214.16
    
    [√] VS Code (version 1.74.1)
        β€’ VS Code at C:\Users\arisg\AppData\Local\Programs\Microsoft VS Code
        β€’ Flutter extension version 3.54.0
    
    [√] Connected device (4 available)
        β€’ sdk gphone64 x86 64 (mobile) β€’ emulator-5554 β€’ android-x64    β€’ Android 13 (API 33) (emulator)
        β€’ Windows (desktop)            β€’ windows       β€’ windows-x64    β€’ Microsoft Windows [Version 10.0.22621.963]
        β€’ Chrome (web)                 β€’ chrome        β€’ web-javascript β€’ Google Chrome 108.0.5359.125
        β€’ Edge (web)                   β€’ edge          β€’ web-javascript β€’ Microsoft Edge 107.0.1418.52
    
    [√] HTTP Host Availability
        β€’ All required HTTP hosts are available
    
    β€’ No issues found!
    

    Info.plist (iOS)

    No response

    Podfile (iOS)

    No response

    AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.jouverse.jouverse"
              xmlns:tools="http://schemas.android.com/tools">
        <queries>
            <provider android:authorities="com.facebook.katana.provider.PlatformProvider" />
        </queries>
       <application
            android:label="jouverse"
            android:name="${applicationName}"
            android:icon="@mipmap/ic_launcher">
            <activity
                android:name=".MainActivity"
                android:exported="true"
                android:launchMode="singleTop"
                android:theme="@style/LaunchTheme"
                android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
                android:hardwareAccelerated="true"
                android:windowSoftInputMode="adjustResize">
                <!-- Specifies an Android theme to apply to this Activity as soon as
                     the Android process has started. This theme is visible to the user
                     while the Flutter UI initializes. After that, this theme continues
                     to determine the Window background behind the Flutter UI. -->
                <meta-data
                  android:name="io.flutter.embedding.android.NormalTheme"
                  android:resource="@style/NormalTheme"
                  />
                <intent-filter>
                    <action android:name="android.intent.action.MAIN"/>
                    <category android:name="android.intent.category.LAUNCHER"/>
                </intent-filter>
    
            </activity>
    
    <!--       <activity android:name="com.facebook.FacebookActivity"-->
    <!--                 android:configChanges=-->
    <!--                         "keyboard|keyboardHidden|screenLayout|screenSize|orientation"-->
    <!--                 android:label="@string/app_name" />-->
    <!--       <activity-->
    <!--               android:name="com.facebook.CustomTabActivity"-->
    <!--               android:exported="true">-->
    <!--           <intent-filter>-->
    <!--               <action android:name="android.intent.action.VIEW" />-->
    <!--               <category android:name="android.intent.category.DEFAULT" />-->
    <!--               <category android:name="android.intent.category.BROWSABLE" />-->
    <!--               <data android:scheme="@string/fb_login_protocol_scheme" />-->
    <!--           </intent-filter>-->
    <!--       </activity>-->
    
            <!-- Don't delete the meta-data below.
                 This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
            <meta-data
                android:name="flutterEmbedding"
                android:value="2" />
           <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
           <meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token"/>
        </application>
        <uses-permission android:name="android.permission.INTERNET"/>
        <uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/>
    
    </manifest>
    

    MainActivity.java

    No response

    MainActivity.kt

    No response

    index.html

    No response

    Info.plist (macOS)

    No response

    opened by arisAlexis 0
  • Ask for add queries even when I added it

    Ask for add queries even when I added it

    What version are you using?

    5.0.4

    What OS and version are you using to local deploy your application?

    win10

    What platforms are you seeing the problem on?

    Android

    pubspec.yaml

    name: MCB
    description: Aplicativo do NΓΊcleo ComunitΓ‘rio do Brasil
    
    publish_to: "none"
    
    version: 0.5.8+16
    
    environment:
      sdk: ">=2.17.0 <3.0.0"
    
    dependencies:
      http: ^0.13.4
      flutter_secure_storage: ^7.0.1
      path_provider: ^2.0.10
      youtube_player_iframe: ^3.1.0
      photo_view: ^0.14.0
      mask_text_input_formatter: ^2.3.0
      flutter_svg: ^1.1.0
      url_launcher: ^6.1.3
      package_info_plus: ^1.4.2
      wechat_assets_picker: ^8.1.1
      google_sign_in: ^5.4.2
      firebase_core: ^2.4.1
      flutter_facebook_auth: ^5.0.7
      flutter:
        sdk: flutter
      flutter_localizations:
        sdk: flutter
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
    
      dart_code_metrics: ^4.14.0
      flutter_lints: ^1.0.0
    
    flutter:
      uses-material-design: true
      assets:
        - assets/instagram.svg
        - assets/youtube.svg
    

    Describe the Bug

    Even when add the queries to allow Android 30+ communication, show in console the message below and don't work authentication:

    Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared. Please follow https://developers.facebook.com/docs/android/troubleshooting/#faq_267321845055988 to make the declaration.

    Expected Behavior

    The authentication works.

    To Reproduce

    I follow all steps of tutorial, includes the hash key and add MainActivity, but still not working.

    Relevant log output

    No response

    flutter doctor -v

    [√] Flutter (Channel stable, 3.3.10, on Microsoft Windows [versΓ†o 10.0.19044.2364],
        locale pt-BR)
        β€’ Flutter version 3.3.10 on channel stable at C:\flutter
        β€’ Upstream repository https://github.com/flutter/flutter.git
        β€’ Framework revision 135454af32 (3 weeks ago), 2022-12-15 07:36:55 -0800        
        β€’ Engine revision 3316dd8728
        β€’ Dart version 2.18.6
        β€’ DevTools version 2.15.0
    

    Info.plist (iOS)

    No response

    Podfile (iOS)

    No response

    AndroidManifest.xml

    No response

    MainActivity.java

    No response

    MainActivity.kt

    No response

    index.html

    No response

    Info.plist (macOS)

    No response

    insufficient information don't follow the issue template 
    opened by LeandroMoura3 9
  • Unhandled Exception: MissingPluginException(No implementation found for method login on channel app.meedu/flutter_facebook_auth)

    Unhandled Exception: MissingPluginException(No implementation found for method login on channel app.meedu/flutter_facebook_auth)

    What version are you using?

    5.0.6

    What OS and version are you using to local deploy your application?

    MacOS 13

    What platforms are you seeing the problem on?

    Android

    pubspec.yaml

    name: perdex
    description: A new Flutter project.
    publish_to: 'none' # Remove this line if you wish to publish to pub.dev
    
    version: 1.0.0+1
    
    environment:
      sdk: ">=2.7.0 <3.0.0"
    
    dependencies:
      flutter:
        sdk: flutter
    
      cupertino_icons: ^0.1.3
      flutter_tts: ^2.1.0
      tflite_flutter: ^0.9.0
      hive: ^2.2.3
      hive_flutter: ^1.1.0
      gallery_saver: ^2.3.2
      image: ^3.0.2
      path_provider: ^2.0.1
      image_picker: ^0.8.5+3
      scidart: ^0.0.1-dev.9
      sqflite: ^2.0.2
      ml_linalg: ^13.10.0
    
      # Firebase
      firebase_core: ^2.3.0
      firebase_analytics: ^10.0.6
      cloud_firestore: ^4.1.0
      google_sign_in: ^5.4.2
      flutter_facebook_auth: ^4.4.1+1
      firebase_auth: ^4.1.3
      sign_in_with_apple: ^4.2.0
      crypto: ^3.0.2
    
    
      # Android
      camera: ^0.8.1+3
      tflite_flutter_helper:
        git:
          url: https://github.com/filofan1/tflite_flutter_helper.git
          ref: 783f15e5a87126159147d8ea30b98eea9207ac70
    
      # IOS
    #  camera: ^0.9.4+5
    #  tflite_flutter_helper: ^0.3.1
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
    
    flutter:
      uses-material-design: true
    
      assets:
        - assets/
    

    Describe the Bug

    Cannot sign in with facebook.

    Expected Behavior

    Login facebook succesful.

    To Reproduce

    Future signInWithFacebook() async { // Trigger the sign-in flow final LoginResult loginResult = await FacebookAuth.instance.login();

    // Create a credential from the access token final OAuthCredential facebookAuthCredential = FacebookAuthProvider.credential(loginResult.accessToken.token);

    // Once signed in, return the UserCredential return FirebaseAuth.instance.signInWithCredential(facebookAuthCredential); }

    Relevant log output

    No response

    flutter doctor -v

    (tf) lkt@LKT-Macbook ~ % flutter doctor -v
    [βœ“] Flutter (Channel stable, 3.3.0, on macOS 13.0.1 22A400 darwin-arm, locale
        en-VN)
        β€’ Flutter version 3.3.0 on channel stable at
          /Users/lkt/Data/3.Flutter/SDK/flutter
        β€’ Upstream repository https://github.com/flutter/flutter.git
        β€’ Framework revision ffccd96b62 (3 months ago), 2022-08-29 17:28:57 -0700
        β€’ Engine revision 5e9e0e0aa8
        β€’ Dart version 2.18.0
        β€’ DevTools version 2.15.0
    
    [βœ“] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
        β€’ Android SDK at /Users/lkt/Library/Android/sdk
        β€’ Platform android-33, build-tools 31.0.0
        β€’ Java binary at: /Applications/Android
          Studio.app/Contents/jre/Contents/Home/bin/java
        β€’ Java version OpenJDK Runtime Environment (build
          11.0.13+0-b1751.21-8125866)
        β€’ All Android licenses accepted.
    
    [βœ“] Xcode - develop for iOS and macOS (Xcode 14.1)
        β€’ Xcode at /Applications/Xcode.app/Contents/Developer
        β€’ Build 14B47b
        β€’ CocoaPods version 1.11.3
    
    [βœ“] Chrome - develop for the web
        β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [βœ“] Android Studio (version 2021.3)
        β€’ Android Studio at /Applications/Android Studio.app/Contents
        β€’ Flutter plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter
        β€’ Dart plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart
        β€’ Java version OpenJDK Runtime Environment (build
          11.0.13+0-b1751.21-8125866)
    
    [βœ“] VS Code (version 1.73.1)
        β€’ VS Code at /Applications/Visual Studio Code.app/Contents
        β€’ Flutter extension version 3.52.0
    
    [βœ“] Connected device (3 available)
        β€’ M2012K11AG (mobile) β€’ 192.168.1.62:5555 β€’ android-arm64  β€’ Android 12 (API
          31)
        β€’ macOS (desktop)     β€’ macos             β€’ darwin-arm64   β€’ macOS 13.0.1
          22A400 darwin-arm
        β€’ Chrome (web)        β€’ chrome            β€’ web-javascript β€’ Google Chrome
          107.0.5304.110
    
    [βœ“] HTTP Host Availability
        β€’ All required HTTP hosts are available
    
    β€’ No issues found!
    (tf) lkt@LKT-Macbook ~ %
    

    Info.plist (iOS)

    No response

    Podfile (iOS)

    No response

    AndroidManifest.xml

    No response

    MainActivity.java

    No response

    MainActivity.kt

    No response

    index.html

    No response

    Info.plist (macOS)

    I can run on ios without issue but android has this problem.
    Please help me!
    Thanks.
    
    opened by eav-solution 8
  • FacebookActivity: Resources$NotFoundException

    FacebookActivity: Resources$NotFoundException

    What version are you using?

    4.4.0+1

    What OS and version are you using to local deploy your application?

    MacOS 12.4

    What platforms are you seeing the problem on?

    Android

    pubspec.yaml

    name: myapp
    publish_to: none
    
    # The following defines the version and build number for your application.
    # A version number is three numbers separated by dots, like 1.2.43
    # followed by an optional build number separated by a +.
    # Both the version and the builder number may be overridden in flutter
    # build by specifying --build-name and --build-number, respectively.
    # In Android, build-name is used as versionName while build-number used as versionCode.
    # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
    # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
    # Read more about iOS versioning at
    # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
    version: 1.1.0+36
    
    environment:
      sdk: ">=2.12.0 <3.0.0"
      flutter: ^3.3.4
    
    dependencies:
      flutter:
        sdk: flutter
      flutter_localizations:
        sdk: flutter
    
      collection: ^1.16.0
      equatable: ^2.0.2
      redux: ^5.0.0
      redux_thunk: ^0.4.0
      redux_logging: any
      flutter_redux: ^0.10.0
      flutter_redux_navigation: ^0.7.0
      intl: any
      uuid: any
      package_info_plus: ^1.4.3+1
    
      page_transition: ^2.0.2
      carousel_slider: ^4.1.1
    
      logging: ^1.0.1
    
      path_provider: any # path_provider required for temp directory on upload
      image: ^3.0.2
      image_picker: any
      palette_generator: any
      image_cropper: ^2.0.3
    
      blurhash_dart: ^1.0.2
      shimmer: any
    
      photofilters: ^3.0.1
      exif: ^3.1.1
      reorderables: any
      in_app_purchase: ^3.0.2
      dotted_border: any
      flutter_image: ^4.1.0
      meta: ^1.1.8
      brand:
        path: ../os_brand
      os_core:
        path: ../os_core
      chroma:
        path: ../chroma
    
      pinch_zoom: ^1.0.0
      loading_indicator: ^3.1.0
      http: ^0.13.4
      open_store: ^0.3.1
    
      device_info: any
      lottie: ^1.3.0
    
      firebase_core: ^1.5.0
      cloud_firestore: ^3.1.8
      firebase_app_check: ^0.0.6+17
      firebase_auth: ^3.0.2
      firebase_storage: ^10.0.2
      firebase_analytics: ^9.0.4
      firebase_remote_config: ^2.0.0
      firebase_messaging: ^12.0.0
      firebase_crashlytics: ^2.8.7
      flutter_local_notifications: ^9.0.3
      audioplayers: ^1.0.0
      store_redirect: ^2.0.1
      flutter_markdown: ^0.6.9+1
      jovial_svg: ^1.1.5
      url_launcher: ^6.0.18
      csv: ^5.0.1
    
      package_info: any
      encrypt: any
    
      quiver: any
      cloud_firestore_platform_interface: any
    
      settings_ui: ^2.0.2
      ink_page_indicator: ^0.2.1
      transparent_image: ^2.0.0
    
    
      # For geo
      geolocator: ^9.0.1
    
      # Auth
      google_sign_in: ^5.0.4
      flutter_facebook_auth: ^4.0.1
      sign_in_with_apple: ^4.0.0
    
      crypto: ^3.0.1
      intl_phone_number_input: ^0.7.0+2
      pinput: ^2.2.4
    
      # Misc
      confetti: ^0.7.0
      material_design_icons_flutter: ^5.0.5955-rc.1
      badges: ^2.0.1
      animate_countdown_text: ^1.1.2
      animated_text_kit: ^4.2.2
      flutter_placeholder_textlines: ^1.1.2
    

    Describe the Bug

    Getting numerous crash repots via Crashalytics on Android production:

    Fatal Exception: android.content.res.Resources$NotFoundException: Resource ID #0x7f0d0000
           at android.content.res.Resources.getValue(Resources.java:1351)
           at android.content.res.Resources.getDrawable(Resources.java:804)
           at android.content.Context.getDrawable(Context.java:458)
           at com.android.internal.widget.ToolbarWidgetWrapper.setIcon(ToolbarWidgetWrapper.java:322)
           at com.android.internal.widget.ActionBarOverlayLayout.setIcon(ActionBarOverlayLayout.java:737)
           at com.android.internal.policy.PhoneWindow.setDefaultIcon(PhoneWindow.java:1664)
           at android.app.Activity.initWindowDecorActionBar(Activity.java:2158)
           at android.app.Activity.getMenuInflater(Activity.java:3707)
           at android.app.Activity.onCreatePanelMenu(Activity.java:2853)
           at com.android.internal.policy.PhoneWindow.preparePanel(PhoneWindow.java:567)
           at com.android.internal.policy.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java:939)
           at com.android.internal.policy.PhoneWindow$1.run(PhoneWindow.java:271)
           at android.os.Handler.handleCallback(Handler.java:739)
           at android.os.Handler.dispatchMessage(Handler.java:95)
           at android.os.Looper.loop(Looper.java:148)
           at android.app.ActivityThread.main(ActivityThread.java:5421)
           at java.lang.reflect.Method.invoke(Method.java)
           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    

    I've been struggling to track down where this is coming from, however looking at the logs- the last screen before the crash is always FacebookActivity:

    image

    Could it be looking for an icon/logo that doesn't exist in my app and thats causing the crash?

    Expected Behavior

    No crashes

    To Reproduce

    Hard to say

    Relevant log output

    No response

    flutter doctor -v

    [βœ“] Flutter (Channel stable, 3.3.4, on macOS 12.4
        21F79 darwin-arm, locale en-GB)
        β€’ Flutter version 3.3.4 on channel stable at
          /Users/jimmyff/sdks/flutter
        β€’ Upstream repository
          https://github.com/flutter/flutter.git
        β€’ Framework revision eb6d86ee27 (5 weeks ago),
          2022-10-04 22:31:45 -0700
        β€’ Engine revision c08d7d5efc
        β€’ Dart version 2.18.2
        β€’ DevTools version 2.15.0
    
    [βœ“] Android toolchain - develop for Android
        devices (Android SDK version 33.0.0)
        β€’ Android SDK at
          /Users/jimmyff/Library/Android/sdk
        β€’ Platform android-33, build-tools 33.0.0
        β€’ Java binary at: /Applications/Android
          Studio.app/Contents/jre/Contents/Home/bin/ja
          va
        β€’ Java version OpenJDK Runtime Environment
          (build 11.0.12+0-b1504.28-7817840)
        β€’ All Android licenses accepted.
    
    [βœ“] Xcode - develop for iOS and macOS (Xcode
        13.4.1)
        β€’ Xcode at
          /Applications/Xcode.app/Contents/Developer
        β€’ Build 13F100
        β€’ CocoaPods version 1.11.3
    
    [βœ“] Chrome - develop for the web
        β€’ Chrome at /Applications/Google
          Chrome.app/Contents/MacOS/Google Chrome
    
    [βœ“] Android Studio (version 2021.2)
        β€’ Android Studio at /Applications/Android
          Studio.app/Contents
        β€’ Flutter plugin can be installed from:
          πŸ”¨
          https://plugins.jetbrains.com/plugin/9212-fl
          utter
        β€’ Dart plugin can be installed from:
          πŸ”¨
          https://plugins.jetbrains.com/plugin/6351-da
          rt
        β€’ Java version OpenJDK Runtime Environment
          (build 11.0.12+0-b1504.28-7817840)
    
    [βœ“] VS Code (version 1.73.0)
        β€’ VS Code at /Applications/Visual Studio
          Code.app/Contents
        β€’ Flutter extension version 3.52.0
    
    [βœ“] Connected device (4 available)
        β€’ Pixel 5 (mobile)            β€’ 09021FDD40027X
          β€’ android-arm64  β€’ Android 13 (API 33)
        β€’ sdk gphone64 arm64 (mobile) β€’ emulator-5554
          β€’ android-arm64  β€’ Android 13 (API 33)
          (emulator)
        β€’ macOS (desktop)             β€’ macos
          β€’ darwin-arm64   β€’ macOS 12.4 21F79
          darwin-arm
        β€’ Chrome (web)                β€’ chrome
          β€’ web-javascript β€’ Google Chrome
          107.0.5304.87
    
    [βœ“] HTTP Host Availability
        β€’ All required HTTP hosts are available
    
    β€’ No issues found!
    jimmyff@jimmys-mbp-5 internal %
    

    Info.plist (iOS)

    No response

    Podfile (iOS)

    No response

    AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.myapp.app">
      <!-- io.flutter.app.FlutterApplication is an android.app.Application that
             calls FlutterMain.startInitialization(this); in its onCreate method.
             In most cases you can leave this as-is, but you if you want to provide
             additional functionality it is fine to subclass or reimplement
             FlutterApplication and put your custom class here. -->
    
      <!-- android:allowBackup="false" 
                android:fullBackupContent="false" added by jimmy to mitigate this
            issue with secure storage:
            https://github.com/mogol/flutter_secure_storage/issues/13#issuecomment-421083742
            -->
    
      <!--  Added by Jimmy for geolocation: 
    https://pub.dev/packages/geolocation
    -->
      <uses-permission android:name="android.permission.INTERNET" />
      <uses-permission android:name="com.android.vending.BILLING" />
    
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    
      <!-- <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" /> -->
    
      <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
      <!-- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> -->
    
      <application android:name="${applicationName}" android:label="My app" android:icon="@mipmap/ic_launcher" android:allowBackup="false" android:fullBackupContent="@xml/backup_rules">
    
    
        <!-- <meta-data
        android:name="com.google.firebase.messaging.default_notification_channel_id"
        android:value="channel_id_app" /> -->
    
        <!-- Added by Jimmy - not sure if these ar eint he right area... -->
        <!-- Set custom default icon. This is used when no icon is set for incoming notification messages.
         See README(https://goo.gl/l4GJaQ) for more. was @drawable/ic_stat_ic_notification -->
        <meta-data android:name="com.google.firebase.messaging.default_notification_icon" android:resource="@drawable/ic_stat_ic_notification" />
        <!-- Set color used with incoming notification messages. This is used when no color is set for the incoming
     notification message. See README(https://goo.gl/6BKBk7) for more. -->
        <meta-data android:name="com.google.firebase.messaging.default_notification_color" android:resource="@color/colorAccent" />
    
        <!-- Added by jimmy for facebook authentication -->
        <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id" />
        <meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token" />
    
        <activity android:name=".MainActivity" android:exported="true" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
          <!-- Specifies an Android theme to apply to this Activity as soon as
                     the Android process has started. This theme is visible to the user
                     while the Flutter UI initializes. After that, this theme continues
                     to determine the Window background behind the Flutter UI. -->
          <meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
          <!-- Displays an Android View that continues showing the launch screen
                     Drawable until Flutter paints its first frame, then this splash
                     screen fades out. A splash screen is useful to avoid any visual
                     gap between the end of Android's launch screen and the painting of
                     Flutter's first frame. -->
    
    
          <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
    
          <!-- FCM: https://pub.dev/packages/firebase_messaging -->
          <intent-filter>
            <action android:name="FLUTTER_NOTIFICATION_CLICK" />
            <category android:name="android.intent.category.DEFAULT" />
          </intent-filter>
    
        </activity>
        <activity android:name="com.yalantis.ucrop.UCropActivity" android:screenOrientation="portrait" android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
    
    
        <!-- Don't delete the meta-data below.
                 This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data android:name="flutterEmbedding" android:value="2" />
    
    
        <!-- Added by jimmy for facebook sign in -->
        <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id" />
    
        <activity android:name="com.facebook.FacebookActivity" android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation" android:label="@string/app_name" />
        <activity android:name="com.facebook.CustomTabActivity" android:exported="true">
          <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="@string/fb_login_protocol_scheme" />
          </intent-filter>
        </activity>
    
      </application>
    </manifest>
    

    MainActivity.java

    No response

    MainActivity.kt

    No response

    index.html

    No response

    Info.plist (macOS)

    No response

    opened by jimmyff 9
  • Can't run the app with version 5.0.1 on iOS 16

    Can't run the app with version 5.0.1 on iOS 16

    What version are you using?

    flutter_facebook_auth: 5.0.1

    What OS and version are you using to local deploy your application?

    MacOS 13.0

    What platforms are you seeing the problem on?

    iOS

    pubspec.yaml

    name: flutter_facebook_auth_example
    description: A new Flutter project.
    
    # The following line prevents the package from being accidentally published to
    # pub.dev using `flutter pub publish`. This is preferred for private packages.
    publish_to: 'none' # Remove this line if you wish to publish to pub.dev
    
    # The following defines the version and build number for your application.
    # A version number is three numbers separated by dots, like 1.2.43
    # followed by an optional build number separated by a +.
    # Both the version and the builder number may be overridden in flutter
    # build by specifying --build-name and --build-number, respectively.
    # In Android, build-name is used as versionName while build-number used as versionCode.
    # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
    # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
    # Read more about iOS versioning at
    # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
    version: 1.0.0+1
    
    environment:
      sdk: ">=2.17.6 <3.0.0"
    
    # Dependencies specify other packages that your package needs in order to work.
    # To automatically upgrade your package dependencies to the latest versions
    # consider running `flutter pub upgrade --major-versions`. Alternatively,
    # dependencies can be manually updated by changing the version numbers below to
    # the latest version available on pub.dev. To see which dependencies have newer
    # versions available, run `flutter pub outdated`.
    dependencies:
      flutter:
        sdk: flutter
    
    
      # The following adds the Cupertino Icons font to your application.
      # Use with the CupertinoIcons class for iOS style icons.
      cupertino_icons: ^1.0.2
      provider: ^6.0.3
      flutter_facebook_auth: ^5.0.1
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
    
      # The "flutter_lints" package below contains a set of recommended lints to
      # encourage good coding practices. The lint set provided by the package is
      # activated in the `analysis_options.yaml` file located at the root of your
      # package. See that file for information about deactivating specific lint
      # rules and activating additional ones.
      flutter_lints: ^2.0.0
    
    # For information on the generic Dart part of this file, see the
    # following page: https://dart.dev/tools/pub/pubspec
    
    # The following section is specific to Flutter packages.
    flutter:
    
      # The following line ensures that the Material Icons font is
      # included with your application, so that you can use the icons in
      # the material Icons class.
      uses-material-design: true
    
      # To add assets to your application, add an assets section, like this:
      # assets:
      #   - images/a_dot_burr.jpeg
      #   - images/a_dot_ham.jpeg
    
      # An image asset can refer to one or more resolution-specific "variants", see
      # https://flutter.dev/assets-and-images/#resolution-aware
    
      # For details regarding adding assets from package dependencies, see
      # https://flutter.dev/assets-and-images/#from-packages
    
      # To add custom fonts to your application, add a fonts section here,
      # in this "flutter" section. Each entry in this list should have a
      # "family" key with the font family name, and a "fonts" key with a
      # list giving the asset and other descriptors for the font. For
      # example:
      # fonts:
      #   - family: Schyler
      #     fonts:
      #       - asset: fonts/Schyler-Regular.ttf
      #       - asset: fonts/Schyler-Italic.ttf
      #         style: italic
      #   - family: Trajan Pro
      #     fonts:
      #       - asset: fonts/TrajanPro.ttf
      #       - asset: fonts/TrajanPro_Bold.ttf
      #         weight: 700
      #
      # For details regarding fonts from package dependencies,
      # see https://flutter.dev/custom-fonts/#from-packages
    

    Describe the Bug

    My iOS app can't run.

    I have run the example project as requested to check, even if the given client Token et App ID and it crashes the same way.

    Expected Behavior

    The app should run normally as on flutter_facebook_auth: 4.4.3

    To Reproduce

    Run the example project : https://github.com/darwin-morocho/flutter-facebook-auth/tree/master/facebook_auth/example on an iOS 16.1 device.

    Relevant log output

    On my real app : 
    
    
    (lldb) dyld[1852]: Symbol not found: _FBLinkable_NSNotificationCenter_NotificationDelivering
      Referenced from: <66419806-6AD3-3599-A5AF-DC1D8A94E700> /private/var/containers/Bundle/Application/9A86F6EF-C7AC-4A7C-A27A-79CA2E0F5C99/Runner.app/Frameworks/FBAEMKit.framework/FBAEMKit
      Expected in:     <2C1FABE1-6807-396C-9F57-A6F7E0C503AE> /private/var/containers/Bundle/Application/9A86F6EF-C7AC-4A7C-A27A-79CA2E0F5C99/Runner.app/Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics
    * thread #1, stop reason = signal SIGABRT
        frame #0: 0x00000001e2f74ce0 dyld`__abort_with_payload + 8
    dyld`:
    ->  0x1e2f74ce0 <+8>:  b.lo   0x1e2f74cfc               ; <+36>
        0x1e2f74ce4 <+12>: stp    x29, x30, [sp, #-0x10]!
        0x1e2f74ce8 <+16>: mov    x29, sp
        0x1e2f74cec <+20>: bl     0x1e2f18de4               ; cerror_nocancel
    

    With the example project :

    Launching lib/main.dart on Tommy’s iPhone in debug mode...
    Automatically signing iOS for device deployment using specified development team in Xcode project: XQ67HHZJUC
    Running pod install...
    Running Xcode build...
    Xcode build done.                                           44,2s
    Installing and launching...
    (lldb) dyld[2330]: Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit
      Referenced from: <0BD4548E-B9A5-3D3C-B537-0742E9BF990E> /private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Runner
      Reason: tried: '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/preboot/Cryptexes/OS@rpath/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/private/var/containers/Bundle/Application/C214B0A2-8925-4DA7-A06B-8661F42E64CA/Runner.app/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2), '/System/Library/Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit' (errno=2, not in dyld cache)
    * thread #1, stop reason = signal SIGABRT
        frame #0: 0x00000001e2f74ce0 dyld`__abort_with_payload + 8
    dyld`:
    ->  0x1e2f74ce0 <+8>:  b.lo   0x1e2f74cfc               ; <+36>
        0x1e2f74ce4 <+12>: stp    x29, x30, [sp, #-0x10]!
        0x1e2f74ce8 <+16>: mov    x29, sp
        0x1e2f74cec <+20>: bl     0x1e2f18de4               ; cerror_nocancel
    Target 0: (Runner) stopped.
    Error launching application on Tommy’s iPhone.
    
    
    
    ### flutter doctor -v
    
    ```shell
    [βœ“] Flutter (Channel stable, 3.3.6, on macOS 13.0 22A380 darwin-x64, locale fr-FR)
        β€’ Flutter version 3.3.6 on channel stable at /Users/foxtom/Desktop/flutter
        β€’ Upstream repository https://github.com/flutter/flutter.git
        β€’ Framework revision 6928314d50 (7 days ago), 2022-10-25 16:34:41 -0400
        β€’ Engine revision 3ad69d7be3
        β€’ Dart version 2.18.2
        β€’ DevTools version 2.15.0
    
    [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
        β€’ Android SDK at /Users/foxtom/Library/Android/sdk
        β€’ Platform android-33, build-tools 33.0.0
        β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
        β€’ Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
        β€’ All Android licenses accepted.
    
    [βœ“] Xcode - develop for iOS and macOS (Xcode 14.0.1)
        β€’ Xcode at /Applications/Xcode.app/Contents/Developer
        β€’ Build 14A400
        β€’ CocoaPods version 1.11.3
    
    [βœ“] Chrome - develop for the web
        β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [βœ“] Android Studio (version 2021.3)
        β€’ Android Studio at /Applications/Android Studio.app/Contents
        β€’ Flutter plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter
        β€’ Dart plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart
        β€’ Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    
    [βœ“] VS Code (version 1.72.2)
        β€’ VS Code at /Users/foxtom/Desktop/Visual Studio Code.app/Contents
        β€’ Flutter extension version 3.46.0
    
    [βœ“] Connected device (3 available)
        β€’ Tommy’s iPhone (mobile) β€’ 700c28e00d8978a132f439820a90d99c6327a990 β€’ ios            β€’ iOS 16.1 20B82
        β€’ macOS (desktop)         β€’ macos                                    β€’ darwin-x64     β€’ macOS 13.0 22A380 darwin-x64
        β€’ Chrome (web)            β€’ chrome                                   β€’ web-javascript β€’ Google Chrome 107.0.5304.87
    
    [βœ“] HTTP Host Availability
        β€’ All required HTTP hosts are available
    
    β€’ No issues found!
    

    Info.plist (iOS)

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    	<key>CFBundleDevelopmentRegion</key>
    	<string>$(DEVELOPMENT_LANGUAGE)</string>
    	<key>CFBundleDisplayName</key>
    	<string>Flutter Facebook Auth Example</string>
    	<key>CFBundleExecutable</key>
    	<string>$(EXECUTABLE_NAME)</string>
    	<key>CFBundleIdentifier</key>
    	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
    	<key>CFBundleInfoDictionaryVersion</key>
    	<string>6.0</string>
    	<key>CFBundleName</key>
    	<string>flutter_facebook_auth_example</string>
    	<key>CFBundlePackageType</key>
    	<string>APPL</string>
    	<key>CFBundleShortVersionString</key>
    	<string>$(FLUTTER_BUILD_NAME)</string>
    	<key>CFBundleSignature</key>
    	<string>????</string>
    	<key>CFBundleVersion</key>
    	<string>$(FLUTTER_BUILD_NUMBER)</string>
    	<key>LSRequiresIPhoneOS</key>
    	<true/>
    	<key>UILaunchStoryboardName</key>
    	<string>LaunchScreen</string>
    	<key>UIMainStoryboardFile</key>
    	<string>Main</string>
    	<key>UISupportedInterfaceOrientations</key>
    	<array>
    		<string>UIInterfaceOrientationPortrait</string>
    		<string>UIInterfaceOrientationLandscapeLeft</string>
    		<string>UIInterfaceOrientationLandscapeRight</string>
    	</array>
    	<key>UISupportedInterfaceOrientations~ipad</key>
    	<array>
    		<string>UIInterfaceOrientationPortrait</string>
    		<string>UIInterfaceOrientationPortraitUpsideDown</string>
    		<string>UIInterfaceOrientationLandscapeLeft</string>
    		<string>UIInterfaceOrientationLandscapeRight</string>
    	</array>
    	<key>UIViewControllerBasedStatusBarAppearance</key>
    	<false/>
    	<key>CADisableMinimumFrameDurationOnPhone</key>
    	<true/>
    	<key>CFBundleURLTypes</key>
    	<array>
    		<dict>
    			<key>CFBundleURLSchemes</key>
    			<array>
    				<string>fb1329834907365798</string>
    			</array>
    		</dict>
    	</array>
    	<key>FacebookAppID</key>
    	<string>1329834907365798</string>
    	<key>FacebookClientToken</key>
    	<string>a3227435cff010a782b23acbe1ff174f</string>
    	<key>FacebookDisplayName</key>
    	<string>Example</string>
    	<key>LSApplicationQueriesSchemes</key>
    	<array>
    		<string>fbapi</string>
    		<string>fb-messenger-share-api</string>
    		<string>fbauth2</string>
    		<string>fbshareextension</string>
    	</array>
    </dict>
    </plist>
    

    Podfile (iOS)

    # Uncomment this line to define a global platform for your project
    platform :ios, '12.0'
    
    # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
    ENV['COCOAPODS_DISABLE_STATS'] = 'true'
    
    project 'Runner', {
      'Debug' => :debug,
      'Profile' => :release,
      'Release' => :release,
    }
    
    def flutter_root
      generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
      unless File.exist?(generated_xcode_build_settings_path)
        raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
      end
    
      File.foreach(generated_xcode_build_settings_path) do |line|
        matches = line.match(/FLUTTER_ROOT\=(.*)/)
        return matches[1].strip if matches
      end
      raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
    end
    
    require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
    
    flutter_ios_podfile_setup
    
    target 'Runner' do
      use_frameworks!
      use_modular_headers!
    
      flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
    end
    
    post_install do |installer|
      installer.pods_project.targets.each do |target|
        flutter_additional_ios_build_settings(target)
      end
    end
    

    AndroidManifest.xml

    No response

    MainActivity.java

    No response

    MainActivity.kt

    No response

    index.html

    No response

    Info.plist (macOS)

    No response

    opened by Tom3652 18
  • Latest plugin still required FacebookSdk.sdkInitialize

    Latest plugin still required FacebookSdk.sdkInitialize

    What version are you using?

    flutter_facebook_auth: ^4.4.1+1

    What OS and version are you using to local deploy your application?

    MacOS Monterey 12.6

    What platforms are you seeing the problem on?

    Android

    pubspec.yaml

    name: flutter_apps
    description: A new Flutter application.
    publish_to: none
    version: 1.0+1
    
    environment:
      sdk: ">=2.6.0 <3.0.0"
    
    dependencies:
      flutter:
        sdk: flutter
      flutter_localizations:
        sdk: flutter
      add_2_calendar: ^2.1.3
      adjust_sdk: ^4.32.0
      app_review: ^2.1.2+1
      auto_size_text: ^3.0.0
      call_log: ^4.0.0
      carousel_slider: ^4.1.1
      country_pickers: ^2.0.0
      device_calendar: ^4.2.0 
      device_info: ^2.0.3 
      dio: ^4.0.6
      equatable: ^2.0.5
      expandable: ^5.0.1
      expandable_bottom_sheet: ^1.1.1+1
      firebase_analytics: ^9.3.8
      firebase_auth: ^3.11.2
      firebase_core: ^1.24.0
      firebase_crashlytics: ^2.9.0
      firebase_messaging: ^13.1.0
      firebase_performance: ^0.8.3+3
      flare_flutter: ^3.0.0 #?
      flutter_bloc: ^8.1.1
      flutter_card_swipper: ^0.4.0 
      flutter_exif_rotation: ^0.5.1
      flutter_facebook_auth: ^4.4.1+1
      flutter_html: ^3.0.0-alpha.6
      flutter_image_compress: ^1.1.3
      flutter_inappwebview: ^5.4.4+3
      flutter_jailbreak_detection: ^1.8.0
      flutter_local_notifications: ^8.0.0
      flutter_rating_bar: ^4.0.0
      flutter_screenutil: ^5.5.4
      flutter_spinkit: ^5.1.0
      flutter_widget_from_html: ^0.8.5
      fluttertoast: ^8.0.9
      formz: ^0.4.1
      gallery_saver: ^2.3.2
      get_it: ^7.2.0
      geocoding: ^2.0.5
      geolocator: ^9.0.2
      google_mobile_ads: ^2.1.0
      google_sign_in: ^5.4.2
      image: ^3.2.0
      image_picker: ^0.8.6
      intl: ^0.17.0
      launch_review: ^3.0.1
      logger: ^1.1.0
      lottie: ^1.4.3
      native_shared_preferences: ^2.0.6
      numberpicker: ^2.1.1
      package_info: ^2.0.2
      palette_generator: ^0.3.3+2
      path_drawing: ^1.0.1
      path_provider: ^2.0.11
      percent_indicator: ^4.2.2
      permission_handler: ^10.1.0
      photo_view: ^0.14.0
      provider: ^6.0.4
      pull_to_refresh: ^2.0.0
      qr_code_scanner: ^1.0.1
      rive: ^0.9.1
      rxdart: ^0.27.5
      screenshot: ^1.2.3 #OLD
      scroll_to_index: ^3.0.1
      share: ^2.0.1
      share_extend: ^2.0.0
      share_plus: ^5.0.0
      showcaseview: ^1.1.8
      sign_in_with_apple: ^4.1.0
      simple_gesture_detector: ^0.2.0
      store_redirect: ^2.0.1
      timeline_tile: ^2.0.0
      timezone: ^0.8.0
      tutorial_coach_mark: ^1.2.4
      ua_client_hints: ^1.1.2
      url_launcher: ^6.1.6
      uuid: ^3.0.6
      visibility_detector: ^0.3.3
      web_socket_channel: ^2.2.0
      webview_flutter: ^3.0.4
      youtube_player_flutter: ^8.1.1
    
    dependency_overrides:
      vector_math: ^2.1.4
    
    dev_dependencies:
      flutter_test:
        sdk: flutter
      flutter_driver:
        sdk: flutter
      flutter_launcher_icons: ^0.10.0
      uses-material-design: true
    
      assets:
        - assets/images/
    
      fonts:
        - family: Poppins
          fonts:
            - asset: assets/fonts/Poppins-Regular.ttf
        - family: Nunito
          fonts:
            - asset: assets/fonts/Nunito-Regular.ttf
        - family: Arista
          fonts:
            - asset: assets/fonts/arista-normal.ttf
              weight: 400
    

    Describe the Bug

    I just upgrade flutter 2.8.1 to 3.3.2 and my facebook login error.

    E/GeneratedPluginRegistrant: Error registering plugin flutter_facebook_auth, app.meedu.flutter_facebook_auth.FlutterFacebookAuthPlugin
        The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first.
            at com.facebook.internal.Validate.sdkInitialized(Validate.kt:129)
            at com.facebook.login.LoginManager.<init>(LoginManager.kt:1398)
            at com.facebook.login.LoginManager$Companion.getInstance(LoginManager.kt:1319)
            at com.facebook.login.LoginManager.getInstance(Unknown Source:2)
            at app.meedu.flutter_facebook_auth.FacebookAuth.<init>(FacebookAuth.java:27)
            at app.meedu.flutter_facebook_auth.FlutterFacebookAuthPlugin.<init>(FlutterFacebookAuthPlugin.java:20)
            at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:89)
            at java.lang.reflect.Method.invoke(Native Method)
            at io.flutter.embedding.engine.plugins.util.GeneratedPluginRegister.registerGeneratedPlugins(GeneratedPluginRegister.java:80)
            at io.flutter.embedding.android.FlutterActivity.configureFlutterEngine(FlutterActivity.java:1086)
            at com.example.android.MainActivity.configureFlutterEngine(MainActivity.java:39)
            at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:205)
            at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:498)
            at com.example.android.MainActivity.onCreate(MainActivity.java:141)
            at android.app.Activity.performCreate(Activity.java:8051)
            at android.app.Activity.performCreate(Activity.java:8031)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
            at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
            at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
            at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
            at android.os.Handler.dispatchMessage(Handler.java:106)
            at android.os.Looper.loopOnce(Looper.java:201)
            at android.os.Looper.loop(Looper.java:288)
            at android.app.ActivityThread.main(ActivityThread.java:7839)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
    

    After adding FacebookSdk.sdkInitialize(getApplicationContext()); to my MainActivity class. it shows:

    E/MethodChannel#app.meedu/flutter_facebook_auth: Failed to handle method call
        Log in attempt failed: FacebookActivity could not be started. Please make sure you added FacebookActivity to the AndroidManifest.
            at com.facebook.login.LoginManager.startLogin(LoginManager.kt:1014)
            at com.facebook.login.LoginManager.logIn(LoginManager.kt:746)
            at com.facebook.login.LoginManager.logIn(LoginManager.kt:719)
            at app.meedu.flutter_facebook_auth.FacebookAuth.login(FacebookAuth.java:47)
            at app.meedu.flutter_facebook_auth.FlutterFacebookAuthPlugin.onMethodCall(FlutterFacebookAuthPlugin.java:42)
            at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
            at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
            at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$DartMessenger(DartMessenger.java:319)
            at io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$TsixYUB5E6FpKhMtCSQVHKE89gQ.run(Unknown Source:12)
            at android.os.Handler.handleCallback(Handler.java:938)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loopOnce(Looper.java:201)
            at android.os.Looper.loop(Looper.java:288)
            at android.app.ActivityThread.main(ActivityThread.java:7839)
            at java.lang.reflect.Method.invoke(Native Method)
            at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
    

    I has follow the guide docs https://facebook.meedu.app/. It says that i don't need FacebookActivity and CustomTabActivity. and i only have to place this in manifest: <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id" /> <meta-data android:name="com.facebook.sdk.ClientToken" android:value="@string/facebook_client_token"/>

    android/build.gradle

    buildscript {
        repositories {
            google()
            mavenCentral()
            jcenter()
        }
    
        dependencies {
            classpath 'com.android.tools.build:gradle:4.2.2'
            classpath 'com.google.gms:google-services:4.3.14'
            classpath 'com.google.firebase:perf-plugin:1.4.1'
            classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0"
            classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
    
        }
    }
    
    allprojects {
        repositories {
            google()
            mavenCentral()
            jcenter()
        }
    }
    
    rootProject.buildDir = '../build'
    subprojects {
        project.buildDir = "${rootProject.buildDir}/${project.name}"
    }
    subprojects {
        project.evaluationDependsOn(':app')
    }
    
    task clean(type: Delete) {
        delete rootProject.buildDir
    }
    

    android/app/build.gradle

    def localProperties = new Properties()
    def localPropertiesFile = rootProject.file('local.properties')
    if (localPropertiesFile.exists()) {
        localPropertiesFile.withReader('UTF-8') { reader ->
            localProperties.load(reader)
        }
    }
    
    def flutterRoot = localProperties.getProperty('flutter.sdk')
    if (flutterRoot == null) {
        throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
    }
    
    def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
    if (flutterVersionCode == null) {
        flutterVersionCode = '1'
    }
    
    def flutterVersionName = localProperties.getProperty('flutter.versionName')
    if (flutterVersionName == null) {
        flutterVersionName = '1.0'
    }
    
    apply plugin: 'com.android.application'
    apply plugin: 'com.google.gms.google-services'
    apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
    apply plugin: "org.jetbrains.kotlin.android"
    apply plugin: 'com.google.firebase.firebase-perf'
    apply plugin: 'com.google.firebase.crashlytics'
    
    def keystoreProperties = new Properties()
    def keystorePropertiesFile = rootProject.file('key.properties')
    if (keystorePropertiesFile.exists()) {
        keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
    }
    
    android {
        compileSdkVersion 33
    
        lintOptions {
            checkReleaseBuilds false
            disable 'InvalidPackage'
        }
    
        compileOptions {
            sourceCompatibility 1.8
            targetCompatibility 1.8
        }
    
        defaultConfig {
            // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
            applicationId "com.example.android"
            minSdkVersion 23
            targetSdkVersion 33
            versionCode flutterVersionCode.toInteger()
            versionName flutterVersionName
            testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
            multiDexEnabled true
        }
    
        signingConfigs {
            release {
                keyAlias keystoreProperties['keyAlias']
                keyPassword keystoreProperties['keyPassword']
                storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
                storePassword keystoreProperties['storePassword']
            }
        }
    
        buildTypes {
            release {
                signingConfig signingConfigs.release
                shrinkResources false
            }
        }
    }
    
    flutter {
        source '../..'
    }
    
    dependencies {
        testImplementation 'junit:junit:4.12'
        androidTestImplementation 'androidx.test:runner:1.1.1'
        androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
        implementation 'androidx.multidex:multidex:2.0.1'
        implementation 'com.google.guava:guava:27.0.1-android'
        implementation 'com.google.android.gms:play-services-analytics:17.0.0'
        implementation 'com.android.installreferrer:installreferrer:1.0'
        implementation "androidx.appcompat:appcompat:1.5.1"
        implementation platform('com.google.firebase:firebase-bom:30.5.0')
        implementation 'com.facebook.android:facebook-android-sdk:15.0.1'
        implementation 'com.facebook.android:facebook-login:15.0.1'
        implementation 'com.google.firebase:firebase-core:21.1.1'
        implementation 'com.google.firebase:firebase-crashlytics:18.2.13'
        implementation 'com.google.firebase:firebase-analytics:21.1.1'
        implementation 'com.google.firebase:firebase-messaging:23.0.8'
    }
    

    Expected Behavior

    After upgrading to flutter 3.3.2. I Expect flutter_facebook_auth do not required to use FacebookActivity and CustomTabActivity.

    To Reproduce

    Don't know how to reproduce. I follow the docs https://facebook.meedu.app/ and found nothing wrong.

    Relevant log output

    No response

    flutter doctor -v

    [!] Flutter (Channel unknown, 3.3.2, on macOS 12.6 21G115 darwin-x64, locale en-ID)
        ! Flutter version 3.3.2 on channel unknown at /Users/username/Development/flutter
        ! Upstream repository unknown
        β€’ Framework revision e3c29ec00c (4 weeks ago), 2022-09-14 08:46:55 -0500
        β€’ Engine revision a4ff2c53d8
        β€’ Dart version 2.18.1
        β€’ DevTools version 2.15.0
    
    [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
        β€’ Android SDK at /Users/username/Library/Android/Sdk
        β€’ Platform android-33, build-tools 33.0.0-rc1
        β€’ ANDROID_HOME = /Users/username/Library/Android/Sdk
        β€’ ANDROID_SDK_ROOT = /Users/username/Library/Android/Sdk
        β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
        β€’ Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
        β€’ All Android licenses accepted.
    
    [βœ“] Xcode - develop for iOS and macOS (Xcode 13.3)
        β€’ Xcode at /Applications/Xcode.app/Contents/Developer
        β€’ Build 13E113
        β€’ CocoaPods version 1.11.3
    
    [βœ—] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
        ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
    
    [βœ“] Android Studio (version 2021.3)
        β€’ Android Studio at /Applications/Android Studio.app/Contents
        β€’ Flutter plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter
        β€’ Dart plugin can be installed from:
          πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart
        β€’ Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    
    [βœ“] VS Code (version 1.72.0)
        β€’ VS Code at /Applications/Visual Studio Code.app/Contents
        β€’ Flutter extension version 3.50.0
    
    [βœ“] Connected device (2 available)
        β€’ sdk gphone64 x86 64 (mobile) β€’ emulator-5554 β€’ android-x64 β€’ Android 12 (API 31) (emulator)
        β€’ macOS (desktop)              β€’ macos         β€’ darwin-x64  β€’ macOS 12.6 21G115 darwin-x64
    
    [βœ“] HTTP Host Availability
        β€’ All required HTTP hosts are available
    
    ! Doctor found issues in 2 categories.
    

    Info.plist (iOS)

    No response

    Podfile (iOS)

    No response

    AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        package="com.example.android">
        <uses-permission android:name="android.permission.INTERNET" />
        <uses-permission android:name="android.permission.READ_PHONE_STATE" />
        <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
        <uses-permission android:name="android.permission.READ_CALL_LOG" />
        <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
        <uses-permission android:name="android.permission.RECORD_AUDIO" />
        <uses-permission android:name="android.permission.CAMERA" />
        <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
        <uses-permission android:name="android.permission.VIDEO_CAPTURE" />
        <uses-permission android:name="android.permission.AUDIO_CAPTURE" />
    
        <uses-permission android:name="android.permission.CAPTURE_SECURE_VIDEO_OUTPUT" />
        <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT" />
        <uses-permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT" />
        <uses-permission android:name="android.permission.WAKE_LOCK" />
    
        <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
        <uses-permission android:name="android.permission.VIBRATE" />
        <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    
        <uses-permission android:name="android.permission.READ_CALENDAR" />
        <uses-permission android:name="android.permission.WRITE_CALENDAR" />
    
        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
        <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    
        <queries>
            <provider
                android:authorities="com.facebook.katana.provider.PlatformProvider"
                android:exported="false" />
            <intent>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="https" />
            </intent>
            <intent>
                <action android:name="android.intent.action.VIEW" />
                <data android:scheme="tel" />
            </intent>
            <intent>
                <action android:name="android.intent.action.VIEW" />
                <data android:scheme="sms" />
            </intent>
            <intent>
                <action android:name="android.intent.action.VIEW" />
                <data android:scheme="whatsapp" />
            </intent>
        </queries>
    
        <application
            android:name="${applicationName}"
            android:allowBackup="false"
            android:icon="@mipmap/ic_launcher"
            android:label="@string/app_name"
            android:usesCleartextTraffic="true"
            tools:replace="android:allowBackup,icon,label,name"
            tools:node="replace"
            tools:targetApi="m">
    
            <meta-data
                android:name="com.facebook.sdk.ApplicationId"
                tools:replace="android:value"
                android:value="@string/facebook_app_id" />
            <meta-data
                android:name="com.facebook.sdk.ClientToken"
                tools:replace="android:value"
                android:value="@string/facebook_client_token"/>
            <meta-data android:name="com.facebook.sdk.AutoInitEnabled"
                android:value="true"/>
    
            <activity
                android:name="com.aboutyou.dart_packages.sign_in_with_apple.SignInWithAppleCallback"
                android:exported="true">
                <intent-filter>
                    <action android:name="android.intent.action.VIEW" />
    
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
    
                    <data android:scheme="signinwithapple" />
                    <data android:path="/callback" />
                </intent-filter>
            </activity>
    
            <activity
                android:name=".MainActivity"
                android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
                android:hardwareAccelerated="true"
                android:launchMode="singleTask"
                android:theme="@style/LaunchTheme"
                android:resizeableActivity="true"
                android:supportsPictureInPicture="true"
                android:exported="true"
                android:windowSoftInputMode="adjustResize"
                tools:targetApi="n">
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
                <intent-filter android:autoVerify="true">
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
                    <data android:scheme="https" android:host="www.example.com" android:pathPrefix="/path"/>
                </intent-filter>
                <intent-filter android:autoVerify="true">
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
                    <data android:scheme="https" android:host="*.example.com" android:pathPrefix="/path"/>
                </intent-filter>
                <intent-filter android:autoVerify="true">
                    <action android:name="android.intent.action.VIEW" />
                    <category android:name="android.intent.category.DEFAULT" />
                    <category android:name="android.intent.category.BROWSABLE" />
                    <data android:scheme="example" android:host="path"/>
                </intent-filter>
            </activity>
            <meta-data
                android:name="delivery_metrics_exported_to_big_query_enabled"
                android:value="true" />
            <meta-data
                android:name="com.google.firebase.messaging.default_notification_icon"
                android:resource="@drawable/ic_notification" />
            <meta-data
                android:name="com.google.firebase.messaging.default_notification_color"
                android:resource="@color/purple" />
            <meta-data
                android:name="com.google.firebase.messaging.default_notification_channel_id"
                android:value="@string/channel" />
            <meta-data
                android:name="firebase_messaging_auto_init_enabled"
                android:value="false" />
            <meta-data
                android:name="firebase_analytics_collection_enabled"
                android:value="false" />
    
            <meta-data
                android:name="com.google.android.gms.ads.AD_MANAGER_APP"
                android:value="true" />
            <meta-data
                android:name="com.google.android.gms.ads.APPLICATION_ID"
                android:value="@string/gms_application_id" />
    
            <meta-data
                android:name="firebase_performance_logcat_enabled"
                android:value="true" />
    
    <!--        <activity-->
    <!--            android:name="com.facebook.FacebookActivity"-->
    <!--            android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"-->
    <!--            android:exported="true"-->
    <!--            android:label="@string/app_name" />-->
    <!--        <meta-data android:name="com.facebook.sdk.AutoLogAppEventsEnabled"-->
    <!--            android:value="true"/>>-->
    <!--        <meta-data android:name="com.facebook.sdk.AutoInitEnabled"-->
    <!--            android:value="true"/>-->
    
            <meta-data
                android:name="flutterEmbedding"
                android:value="2" />
    
            <meta-data
                android:name="com.google.android.gms.version"
                android:value="@integer/gms_version" />
    
            <activity
                android:name="com.google.android.gms.ads.AdActivity"
                android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
                android:exported="true"
                android:theme="@android:style/Theme.Translucent" />
    
    <!--        <activity-->
    <!--            android:name="com.facebook.CustomTabActivity"-->
    <!--            android:exported="true">-->
    <!--            <intent-filter>-->
    <!--                <action android:name="android.intent.action.VIEW" />-->
    
    <!--                <category android:name="android.intent.category.DEFAULT" />-->
    <!--                <category android:name="android.intent.category.BROWSABLE" />-->
    
    <!--                <data android:scheme="@string/fb_login_protocol_scheme" />-->
    <!--            </intent-filter>-->
    <!--        </activity>-->
            <activity
                android:name="com.yalantis.ucrop.UCropActivity"
                android:screenOrientation="portrait"
                android:exported="true"
                android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
    
            <receiver
                android:name="com.adjust.sdk.AdjustReferrerReceiver"
                android:exported="true"
                android:permission="android.permission.INSTALL_PACKAGES">
                <intent-filter>
                    <action android:name="com.android.vending.INSTALL_REFERRER" />
                </intent-filter>
            </receiver>
    
            <service
                android:name="com.google.firebase.components.ComponentDiscoveryService"
                android:directBootAware="true"
                android:exported="true"
                tools:targetApi="n">
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar" />
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.auth.FirebaseAuthRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar" />
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.crashlytics.CrashlyticsRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar"/>
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.messaging.FirebaseMessagingRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar" />
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar" />
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.perf.FirebasePerfRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar" />
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.remoteconfig.RemoteConfigRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar" />
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.datatransport.TransportRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar" />
                <meta-data
                    android:name="com.google.firebase.components:com.google.firebase.abt.component.AbtRegistrar"
                    android:value="com.google.firebase.components.ComponentRegistrar"/>
            </service>
    
            <service
                android:name="com.google.android.datatransport.runtime.backends.TransportBackendDiscovery"
                android:exported="false">
                <meta-data
                    android:name="backend:com.google.android.datatransport.cct.CctBackendFactory"
                    android:value="cct"/>
            </service>
    
            <service
                android:name="com.google.android.datatransport.runtime.scheduling.jobscheduling.JobInfoSchedulerService"
                android:exported="false"
                android:permission="android.permission.BIND_JOB_SERVICE" >
            </service>
    
            <activity
                android:name="com.google.android.gms.auth.api.signin.internal.SignInHubActivity"
                android:screenOrientation="portrait"
                android:exported="true"
                android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
    
        </application>
    </manifest>
    

    MainActivity.java

    No response

    MainActivity.kt

    No response

    index.html

    No response

    Info.plist (macOS)

    No response

    opened by tovidd 2
Releases(v5.0.4)
Owner
Darwin Morocho
Native and cross-platform mobile developer.
Darwin Morocho
A flutter plugin to add login with facebook in your flutter app

Features Login on iOS, Android and Web. Express login on Android. Granted and declined permissions. User information, picture profile and more. Provid

Darwin Morocho 157 Jan 6, 2023
A flutter plugin to get facebook deep links and log app events using the latest Facebook SDK to include support for iOS 14

Facebook Sdk For Flutter LinkedIn GitHub facebook_sdk_flutter allows you to fetch deep links, deferred deep links and log facebook app events. This wa

Saad Farhan 23 Dec 17, 2022
Flutter Login Screen with Firebase Auth and Facebook Login

Flutter Login Screen with Firebase Auth and Facebook Login Jumpstart your Flutter app development with this pre-built Flutter starter kit. Don't reinv

null 296 Dec 29, 2022
Flutter Login Screen with Firebase Auth and Facebook Login

Jumpstart your Flutter app development with this pre-built Flutter starter kit. Don't reinvent the wheel by writing the boring boilerplate starter code.

null 12 Dec 19, 2022
Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort.

flutter_image_add_drag_sort Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort, support video fi

null 5 Jun 23, 2020
Facebook-redesign - An app developed that show a Facebook inspired UI design

Superbe Lecteur de Musique fait avec Flutter ! Captures d'Γ‰cran Construire depui

Youssef Marzouk 4 Jul 7, 2022
Flutter + Firebase Auth Demo App that uses Google, Facebook, Email/Password Signup/Login, Email Verification and more!

Flutter Firebase Auth Demo Flutter + Firebase Auth Demo App that uses Google, Facebook, Email/Password Signup/Login, Email Verification and more! Feat

Rivaan Ranawat 55 Jan 7, 2023
KGE social login (google, facebook)

social_logain A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

null 1 Dec 23, 2021
Eder Zambrano 0 Feb 13, 2022
Flutter Plugin for Facebook App Events

facebook_app_events Flutter plugin for Facebook App Events. An app event is an action that takes place in your app or on your web page such as a perso

oddbit 93 Jan 3, 2023
Flutter Login Signup - Flutter Login and Signup App

Flutter_Login_Signup Authors @Adiikust License MIT ?? Skills Dart, Flutter, Adob

Adnan Hameed 6 Nov 6, 2022
Login-and-reisp - A Mobile app Login Page UI with Flutter

Flutter Login Page UI Watch it on YouTube Mobile app Minimal Auth Screen with Fl

null 10 Sep 8, 2022
Tinder login page - Implementation of the Tinder app login screen with flutter

Tinder (login page) Implementação da tela de login do app Tinder a partir da lei

Eduardo Farias 0 Feb 5, 2022
Plugin to integrate Facebook Native Banner Ad

flutter_fbaudience_network Plugin to integrate Facebook Native Ad to Flutter application Warning: The plugin is based on Flutter PlatformView (Android

Duy Duong 8 May 13, 2020
This is just the simplyfied Flutter Plugin use for one of the popular flutter plugin for social media login.

social_media_logins Flutter Plugin to login via Social Media Accounts. Available Social Media Logins: Facebook Google Apple Getting Started To use thi

Reymark Esponilla 3 Aug 24, 2022
Login-page-ui - An animated login page, designed with dart

Beautiful Login Page UI Design and Animation ScreenShots This is one of my best

Munem Sarker 11 Nov 22, 2022
Login-with-Register-page - A Login with Register page combined with all movable images made with Dart

Flutter login page with register page A new dart project designed for login page

Munem Sarker 3 Aug 2, 2022
A Flutter plugin that allows you to add an inline WebView.

native_webview A Flutter plugin that allows you to add an inline WebView. Motivation There is already a useful library for working with WebViews in Fl

hisaichi5518 46 Dec 14, 2022
Flutter plugin, support android/ios.Support crop, flip, rotate, color martix, mix image, add text. merge multi images.

image_editor The version of readme pub and github may be inconsistent, please refer to github. Use native(objc,kotlin) code to handle image data, it i

FlutterCandies 317 Jan 3, 2023