Flutter - Facebook login and authentication example. Read me here
developerlibs / flutter_facebook_auth Goto Github PK
View Code? Open in Web Editor NEWFlutter Facebook login and user info example.
License: Apache License 2.0
Flutter Facebook login and user info example.
License: Apache License 2.0
Flutter - Facebook login and authentication example. Read me here
it showing this
The method 'logInWithReadPermissions' isn't defined for the type 'FacebookLogin'.
I get the following build errors:
** BUILD FAILED **
Xcode's output:
โณ
warning: The iOS Simulator deployment target is set to 7.0, but the range of supported deployment target versions for this platform is
8.0 to 12.1. (in target 'Flutter')
/Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:38:33: warning:
'UIApplicationOpenURLOptionsSourceApplicationKey' is only available on iOS 9.0 or newer [-Wunguarded-availability]
sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'UIKit' imported from /Users/bert/Projects/flutter_facebook_auth/ios/Pods/Target Support
Files/flutter_facebook_login/flutter_facebook_login-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Fra
meworks/UIKit.framework/Headers/UIApplication.h:538:51: note: 'UIApplicationOpenURLOptionsSourceApplicationKey' has been explicitly
marked partial here
UIKIT_EXTERN UIApplicationOpenURLOptionsKey const UIApplicationOpenURLOptionsSourceApplicationKey NS_AVAILABLE_IOS(9_0); // value is
an NSString containing the bundle ID of the originating application
^
/Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:38:33: note: enclose
'UIApplicationOpenURLOptionsSourceApplicationKey' in an @available check to silence this warning
sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:39:33: warning:
'UIApplicationOpenURLOptionsAnnotationKey' is only available on iOS 9.0 or newer [-Wunguarded-availability]
annotation:options[UIApplicationOpenURLOptionsAnnotationKey]];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In module 'UIKit' imported from /Users/bert/Projects/flutter_facebook_auth/ios/Pods/Target Support
Files/flutter_facebook_login/flutter_facebook_login-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk/System/Library/Fra
meworks/UIKit.framework/Headers/UIApplication.h:539:51: note: 'UIApplicationOpenURLOptionsAnnotationKey' has been explicitly marked
partial here
UIKIT_EXTERN UIApplicationOpenURLOptionsKey const UIApplicationOpenURLOptionsAnnotationKey NS_AVAILABLE_IOS(9_0); // value is a
property-list typed object corresponding to what the originating application passed in UIDocumentInteractionController's annotation
property
^
/Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:39:33: note: enclose
'UIApplicationOpenURLOptionsAnnotationKey' in an @available check to silence this warning
annotation:options[UIApplicationOpenURLOptionsAnnotationKey]];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:85:12: error: use of
undeclared identifier 'FBSDKLoginBehaviorNative'; did you mean 'FBSDKLoginBehaviorBrowser'?
return FBSDKLoginBehaviorNative;
^~~~~~~~~~~~~~~~~~~~~~~~
FBSDKLoginBehaviorBrowser
In file included from /Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:3:
In file included from /Users/bert/Projects/flutter_facebook_auth/ios/Pods/Headers/Private/FBSDKLoginKit/FBSDKLoginKit.h:27:
In file included from /Users/bert/Projects/flutter_facebook_auth/ios/Pods/Headers/Private/FBSDKLoginKit/FBSDKLoginButton.h:23:
/Users/bert/Projects/flutter_facebook_auth/ios/Pods/Headers/Private/FBSDKLoginKit/FBSDKLoginManager.h:90:3: note:
'FBSDKLoginBehaviorBrowser' declared here
FBSDKLoginBehaviorBrowser = 0,
^
/Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:89:12: error: use of
undeclared identifier 'FBSDKLoginBehaviorWeb'; did you mean 'FBSDKLoginBehaviorBrowser'?
return FBSDKLoginBehaviorWeb;
^~~~~~~~~~~~~~~~~~~~~
FBSDKLoginBehaviorBrowser
In file included from /Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:3:
In file included from /Users/bert/Projects/flutter_facebook_auth/ios/Pods/Headers/Private/FBSDKLoginKit/FBSDKLoginKit.h:27:
In file included from /Users/bert/Projects/flutter_facebook_auth/ios/Pods/Headers/Private/FBSDKLoginKit/FBSDKLoginButton.h:23:
/Users/bert/Projects/flutter_facebook_auth/ios/Pods/Headers/Private/FBSDKLoginKit/FBSDKLoginManager.h:90:3: note:
'FBSDKLoginBehaviorBrowser' declared here
FBSDKLoginBehaviorBrowser = 0,
^
/Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:105:7: error: no visible
@interface for 'FBSDKLoginManager' declares the selector 'logInWithReadPermissions:fromViewController:handler:'
logInWithReadPermissions:permissions
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bert/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_login-2.0.1/ios/Classes/FacebookLoginPlugin.m:120:7: error: no visible
@interface for 'FBSDKLoginManager' declares the selector 'logInWithPublishPermissions:fromViewController:handler:'
logInWithPublishPermissions:permissions
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 4 errors generated.
note: Using new build systemnote: Planning buildnote: Constructing build description
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.