Closed BFELFISH closed 9 months ago
@BFELFISH sorry but this is not an issue of this plugin. I think you must investigate about this and how to use the native facebook sdk on android for this purpose.
@BFELFISH sorry but this is not an issue of this plugin. I think you must investigate about this and how to use the native facebook sdk on android for this purpose.
But if I add “ FacebookSdk.sdkInitialize(context); ” before “ loginManager = LoginManager.getInstance(); ” on FacebookAuth class 's constructor.It works. Is there any problem doing that ?
What version are you using?
flutter_facebook_auth:3.5.7
What OS and version are you using to local deploy your application?
MacOs 11.5
What platforms are you seeing the problem on?
Android
pubspec.yaml
Describe the Bug
I make my MainActivity which extends FlutterActivity as a child process,when MainActivity call super.configureFlutterEngine(flutterEngine), get the error. But if i make MainActivity as main process,it works fine. So how can i regist flutter_facebook_auth on child process.
Expected Behavior
I want to regist flutter_facebook_auth on child process.My main process is a native Activity names LaunchActivity,and i startActivity(new Intent(this,MainActivity.class)) immediately in LaunchActivity onCreate.
To Reproduce
1.create a Flutter project.make LuanchActivity as Main and Launch Activity. 2.create a MainActivity extends FlutterActivity 3.start MainActivity on LaunchActivity onCreate() 4.regist plugin on MainActivity configureFlutterEngine()
Relevant log output
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
MainActivity.java
No response
MainActivity.kt
index.html
No response
Info.plist (macOS)
No response