You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What OS and version are you using to local deploy your application?
macOS 13.2.1
What platforms are you seeing the problem on?
iOS
pubspec.yaml
name: abeedescription: 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 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+8environment:
sdk: '>=2.19.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: flutterflutter_phoenix: ^1.1.1flutter_bloc: ^8.1.2# flutter_svg: ^2.0.5introduction_screen: ^3.1.8dio: ^5.2.1animations: ^2.0.7easy_localization: ^3.0.1flutter_credit_card: ^3.0.6flutter_carousel_widget: ^2.0.2# image_picker: ^1.0.2shared_preferences: ^2.1.1gap: ^3.0.0cached_network_image: ^3.2.3# in_app_review: ^2.0.6webview_flutter: ^4.2.3# modal_bottom_sheet: ^2.1.2# device_preview: ^1.1.0# permission_handler: ^10.2.0# fluttertoast: ^8.2.1lottie: ^2.3.2# pinput: ^2.2.31accordion: ^2.5.1# credit_card_type_detector: ^3.0.0carousel_indicator: ^1.0.6local_auth: ^2.1.6is_first_run: ^1.0.0shimmer: ^3.0.0flutter_conditional_rendering: ^2.0.0pull_to_refresh: ^2.0.0app_settings: ^5.0.0firebase_core: ^2.15.0firebase_auth: ^4.7.1google_sign_in: ^6.1.4# intl_phone_field: ^3.2.0flutter_facebook_auth: ^6.0.1# dart_ipify: ^1.1.1connectivity_plus: ^4.0.1bottom_loader: ^0.2.2intl_phone_number_input: ^0.7.3+1http_parser: ^4.0.2image_cropper: ^5.0.0firebase_messaging: ^14.6.5flutter_local_notifications: ^16.1.0logger: ^2.0.1change_app_package_name: ^1.1.0flutter_screenutil: ^5.9.0persistent_bottom_nav_bar_v2: ^4.2.8# flutter_native_splash:# android: true# ios: true# web: false# The following adds the Cupertino Icons font to your application.# Use with the CupertinoIcons class for iOS style icons.cupertino_icons: ^1.0.2dev_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.0flutter_native_splash: ^2.2.19flutter_launcher_icons: ^0.13.1flutter_native_splash:
fullscreen: trueandroid: trueios: trueweb: falseimage: assets/images/png/Logo512whiteAndroid11.pngcolor: "#28AEE4"image_dark: assets/images/png/Logo512whiteAndroid11.pngcolor_dark: "#28AEE4"android_12:
image: assets/images/png/Logo512whiteAndroid12.pngimage_dark: assets/images/png/Logo512whiteAndroid12.png# Splash screen background color.color: "#28AEE4"color_dark: "#28AEE4"# App icon background color# icon_background_color: "#111111"flutter_launcher_icons:
android: truemin_sdk_android: 21image_path: "assets/icon/android-launcer-icon.png"# adaptive_icon_background: "#28AEE4"# adaptive_icon_foreground: "assets/icon/android-launcer-icon.png"ios: trueimage_path_ios: "assets/icon/ios-launcher-icon.png"# image_path_ios TODO provider better looking ios launcher icon# 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/svg/
- assets/images/png/# - assets/images/webp/
- assets/images/jpg/
- assets/animations/
- assets/languages/ar-DZ.json
- assets/languages/en-US.json# - 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: Poppinsfonts:
- asset: assets/fonts/Poppins-Black.ttf
- asset: assets/fonts/Poppins-BlackItalic.ttf
- asset: assets/fonts/Poppins-Bold.ttf
- asset: assets/fonts/Poppins-BoldItalic.ttf
- asset: assets/fonts/Poppins-ExtraBold.ttf
- asset: assets/fonts/Poppins-ExtraBoldItalic.ttf
- asset: assets/fonts/Poppins-ExtraLight.ttf
- asset: assets/fonts/Poppins-ExtraLightItalic.ttf
- asset: assets/fonts/Poppins-Italic.ttf
- asset: assets/fonts/Poppins-Light.ttf
- asset: assets/fonts/Poppins-LightItalic.ttf
- asset: assets/fonts/Poppins-Medium.ttf
- asset: assets/fonts/Poppins-MediumItalic.ttf
- asset: assets/fonts/Poppins-Regular.ttf
- asset: assets/fonts/Poppins-SemiBold.ttf
- asset: assets/fonts/Poppins-SemiBoldItalic.ttf
- asset: assets/fonts/Poppins-Thin.ttf
- asset: assets/fonts/Poppins-ThinItalic.ttf# 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
Facebook login function crashes when tapping the button responsible for the signInWithFacebook() function. It crashes right before FacebookAuth.instance. It seems to fail to get an instance on iOS. Same function is used on Android and it is working fine. iOS simulator is on iOS 16.4
Expected Behavior
Redirect to browser to proceed with login.
To Reproduce
No clear ways to reproduce. It was working fine up until very recently. Facebook app is set up correctly. Firebase is set up correctly. It just crashes without giving ant information inside the IDE. I can only see through the log output.
# 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
The text was updated successfully, but these errors were encountered:
@Abdullah-RashedMW log out put says that the login function was called but it crashed the app. Some times this is due a bad sdk configuration. check your info.plist
What version are you using?
flutter_facebook_auth: 6.0.1
What OS and version are you using to local deploy your application?
macOS 13.2.1
What platforms are you seeing the problem on?
iOS
pubspec.yaml
Describe the Bug
Facebook login function crashes when tapping the button responsible for the signInWithFacebook() function. It crashes right before FacebookAuth.instance. It seems to fail to get an instance on iOS. Same function is used on Android and it is working fine. iOS simulator is on iOS 16.4
Expected Behavior
Redirect to browser to proceed with login.
To Reproduce
No clear ways to reproduce. It was working fine up until very recently. Facebook app is set up correctly. Firebase is set up correctly. It just crashes without giving ant information inside the IDE. I can only see through the log output.
Relevant log output
flutter doctor -v
Info.plist (iOS)
Podfile (iOS)
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response
The text was updated successfully, but these errors were encountered: