flutter_facebook_sdk
flutter_facebook_sdk copied to clipboard
After adding sdk, android build is not working
Hi,
When i try to add facebook sdk to app, shows that android build has this problem. does anyone has this issue?
e: /Users/user/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_sdk-1.0.0/android/src/main/kotlin/saad/farhan/flutter_facebook_sdk/FlutterFacebookSdkPlugin.kt: (31, 1): Class 'FlutterFacebookSdkPlugin' is not abstract and does not implement abstract member public abstract fun onNewIntent(p0: Intent): Boolean defined in io.flutter.plugin.common.PluginRegistry.NewIntentListener
e: /Users/user/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_facebook_sdk-1.0.0/android/src/main/kotlin/saad/farhan/flutter_facebook_sdk/FlutterFacebookSdkPlugin.kt: (258, 5): 'onNewIntent' overrides nothing
Flutter 3.3.8 • channel stable • https://github.com/flutter/flutter.git Framework • revision *** (4 months ago) • 2022-11-09 12:09:26 +0800 Engine • revision *** Tools • Dart 2.18.4 • DevTools 2.15.0
Same problem here!!!
Any workaround? Got the same issue. Sounds like this package is no more maintained :/ I'll give a try to alternative, just in case
I don't know yet if it's gonna work, but I successfully built on Android removing question mark here:
override fun onNewIntent(intent: Intent?): Boolean {
This way it builds:
override fun onNewIntent(intent: Intent): Boolean {
did anyone fix the problem?
I don't know yet if it's gonna work, but I successfully built on Android removing question mark here:
override fun onNewIntent(intent: Intent?): Boolean {
This way it builds:
override fun onNewIntent(intent: Intent): Boolean {
From where i can edit it?