Flutter Plugin for Facebook App Events

Overview

facebook_app_events

pub package

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 person installing your app or completing a purchase. Facebook App Events allows you to track these events to measure ad performance, and build audiences for ad targeting.

Flutter plugin for Facebook App Events, an app measurement solution that provides insight on app usage and user engagement.

Setting things up

You must first create an app at Facebook for developers: https://developers.facebook.com/

Get your app id (referred to as [APP_ID] below)

Configure Android

Read through the "Getting Started with App Events for Android" tutuorial and in particular, follow step 2 by adding the following into /app/res/values/strings.xml (or into respective debug or release build flavor)

<string name="facebook_app_id">[APP_ID]</string>

After that, add that string resource reference to your main AndroidManifest.xml file, directly under the <application> tag.

<meta-data
  android:name="com.facebook.sdk.ApplicationId"
  android:value="@string/facebook_app_id" />

Configure iOS

Read through the "Getting Started with App Events for iOS" tutuorial and in particular, follow step 4 by opening info.plist "As Source Code" and add the following

  • If your code does not have CFBundleURLTypes, add the following just before the final </dict> element:
<key>CFBundleURLTypes</key>
<array>
  <dict>
  <key>CFBundleURLSchemes</key>
  <array>
    <string>fb[APP_ID]</string>
  </array>
  </dict>
</array>
<key>FacebookAppID</key>
<string>[APP_ID]</string>
<key>FacebookDisplayName</key>
<string>[APP_NAME]</string>
  • If your code already contains CFBundleURLTypes, insert the following:
<array>
 <dict>
 <key>CFBundleURLSchemes</key>
 <array>
   <string>fb[APP_ID]</string>
 </array>
 </dict>
</array>
<key>FacebookAppID</key>
<string>[APP_ID]</string>
<key>FacebookDisplayName</key>
<string>[APP_NAME]</string>

About Facebook App Events

Please refer to the official SDK documentation for iOS and Android respectively for the correct and expected behavior. Please report an issue if you find anything that is not working according to official documentation.

Getting involved

First of all, thank you for even considering to get involved. You are a real super and we ❤️ you!

Reporting bugs and issues

Use the configured Github issue report template when reporting an issue. Make sure to state your observations and expectations as objectively and informative as possible so that we can understand your need and be able to troubleshoot.

Discussions and ideas

We're happy to discuss and talk about ideas in the repository discussions and/or post your question to StackOverflow.

Feel free to open a thread if you are having any questions on how to use either the Facebook App Events as a reporting tool itself or even on how to use this plugin.

Comments
  • Not sending events to Facebook on iOS 14+

    Not sending events to Facebook on iOS 14+

    Expected Behavior

    Sending events from iOS 14 and receive them at the events tester.

    Current Behavior

    No events received.

    Possible Solution

    I read about upgrade Facebook SDK version at least to 8.0 (9.0 if you need login), but I think that is not the problem. Here we use 9.1

    Steps to Reproduce (for bugs)

    1. Send an event
    2. On IntelliJ logs, you can see everything is working well and it was sent
    3. Nothing appears at the events tester.

    Context

    We are working to improve our analytics for better campaigns and better KPIs.

    Your Environment

    • Operating System and version: MacOS Big Sur
    • flutter_facebook_app_events version: 0.11.2
    opened by andreshndz 39
  • [Bug]: iOS Compilation error with version 0.14.3

    [Bug]: iOS Compilation error with version 0.14.3

    Is there an existing issue for this?

    • [X] I have searched the existing issues

    Current Behavior

    i update to 0.14.3, i clean flutter and iOS

    When building the project, I'm getting the following error messages:

    Cannot convert value of type '[AppEvents.ParameterName : Any]' to expected argument type '[String : Any]'

    Cannot convert value of type '[AppEvents.ParameterName : Any]' to expected argument type '[String : Any]'

    problem is on this code: (SwiftFacebookAppEventsPlugin)

    private func handleLogEvent(_ call: FlutterMethodCall, result: @escaping FlutterResult) { let arguments = call.arguments as? [String: Any] ?? [String: Any]() let eventName = arguments["name"] as! String let parameters = arguments["parameters"] as? [AppEvents.ParameterName: Any] ?? [AppEvents.ParameterName: Any]() if arguments["_valueToSum"] != nil && !(arguments["_valueToSum"] is NSNull) { let valueToDouble = arguments["_valueToSum"] as! Double AppEvents.logEvent(AppEvents.Name(eventName), valueToSum: valueToDouble, parameters: parameters) } else { AppEvents.logEvent(AppEvents.Name(eventName), parameters: parameters) }

    Expected Behavior

    Build should be successful.

    Steps To Reproduce

    Using Xcode 13.1, flutter version 2.2.3:

    Platform

    iOS

    Flutter Doctor

    [✓] Flutter (Channel stable, 2.2.3, on macOS 11.6 20G165 darwin-x64, locale en-FR)
        • Flutter version 2.2.3 at /Users/mac/development/flutter
        • Framework revision f4abaa0735 (4 months ago), 2021-07-01 12:46:11 -0700
        • Engine revision 241c87ad80
        • Dart version 2.13.4
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
        • Android SDK at /Users/mac/Library/Android/sdk
        • Platform android-31, build-tools 31.0.0
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 13.1, Build version 13A1030d
        • CocoaPods version 1.11.2
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 2020.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.10+0-b96-7281165)
    
    [✓] Connected device (1 available)
        • Chrome (web) • chrome • web-javascript • Google Chrome 95.0.4638.69
        ! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)
    
    • No issues found!
    
    bug🐞 
    opened by zitob9 34
  • [Bug]: Maven not found

    [Bug]: Maven not found

    Is there an existing issue for this?

    • [X] I have searched the existing issues

    Current Behavior

    Hello i got a issue when i try to compile....the error is something like cannot reach https://jcenter.bintray.com/com/facebook/android/facebook-android-sdk/maven-metadata.xml

    neither of versions works (14,15+)....i used the first one buy today is not working.....after that i tried to cahnge to 15+ and still not working.....

    can you confirm is problem about the central repository or package?

    ERROR: (The error is the same with 15.+)

    FAILURE: Build failed with an exception.

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

    Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not resolve com.facebook.android:facebook-android-sdk:14.+. Required by: project :app > project :facebook_app_events > 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

    Expected Behavior

    Compile

    Steps To Reproduce

    Just try tu running the app

    Platform

    Android

    Flutter Doctor

    [√] Flutter (Channel stable, 3.3.2, on Microsoft Windows [Version    10.0.19044.2130], locale en-US)
        • Flutter version 3.3.2 on channel stable at C:\src\flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision e3c29ec00c (7 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)
        • Android SDK at C:\Users\Amilkar\AppData\Local\Android\sdk
        • Platform android-33, build-tools 33.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.
    
    [√] Chrome - develop for the web
        • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    
    [X] Visual Studio - develop for Windows
        X Visual Studio not installed; this is necessary for Windows development.
          Download at https://visualstudio.microsoft.com/downloads/.
          Please install the "Desktop development with C++" workload, including all of its default components
    
    [√] Android Studio (version 2021.2)
        • Android Studio at C:\Program Files\Android\Android Studio
        • 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\Amilkar\AppData\Local\Programs\Microsoft VS Code
        • Flutter extension can be installed from:
           https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
    
    [√] 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.19044.2130]
        • Chrome (web)                 • chrome        • web-javascript • Google Chrome 107.0.5304.87
        • Edge (web)                   • edge          • web-javascript • Microsoft Edge 107.0.1418.24
    
    [√] HTTP Host Availability
        • All required HTTP hosts are available
    
    bug🐞 
    opened by amilkarSingular 20
  • 'FBSDKCoreKit' has a minimum deployment target of iOS 9.0

    'FBSDKCoreKit' has a minimum deployment target of iOS 9.0

    I'm getting this error Compiling for iOS 8.0, but module 'FBSDKCoreKit' has a minimum deployment target of iOS 9.0:

    Expected Behavior

    Build App

    Current Behavior

    App not building

    Possible Solution

    Update facebook_app_events target to iOS 9.0

    Steps to Reproduce (for bugs)

    update package to 0.8.1

    • Operating System and version: iPhone 12 mini, iOS 14.2 emulator
    opened by diegogarciar 19
  • Facebook Auth and facebook app events is not compatible

    Facebook Auth and facebook app events is not compatible

    Hi I am using flutter_facebook_auth and facebook_app_events pod install fails due to different FBSDKCore kit used please update to the latest in facebook_app_events.

    Thanks

    opened by sukhkmr19 16
  • Package Duplication Conflict when using facebook_app_events with flutter_facebook_login plugins in the same project

    Package Duplication Conflict when using facebook_app_events with flutter_facebook_login plugins in the same project

    Hi,

    I added facebook login feature using the flutter_facebook_login package and it works as excpected but after adding the facebook_app_events to the project to send events to facebook analytics the app crashes when trying to login using facebook for the first time and throws the below exception. after some searching i figured out that this error may happen because of plugins duplication or adding plugin multiple time with different versions. i faced a similar issue on IOS but i solved it by changing the version of the FBSDKCoreKit to 7.1.0 manualy in ios/.symlinks/plugins/flutter_facebook_login/ios/flutter_facebook_login.podspec to be the same as the version which facebook_app_events works on but i can't solve the issue with Android. How can i solve this conflict and prevent package duplication on android? Any Help??

    Error Message

    java.lang.NoSuchMethodError: No static method createProxyAuthIntent(Landroid/content/Context;Ljava/lang/String;Ljava/util/Collection;Ljava/lang/String;ZZLcom/facebook/login/DefaultAudience;Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent; in class Lcom/facebook/internal/NativeProtocol; or its super classes (declaration of 'com.facebook.internal.NativeProtocol' appears in /data/app/com.newtawfeer-k4dXPHAXLmhz25tQs0r01w==/base.apk!classes2.dex)
    E/AndroidRuntime(20938): 	at com.facebook.login.KatanaProxyLoginMethodHandler.tryAuthorize(KatanaProxyLoginMethodHandler.java:44)
    E/AndroidRuntime(20938): 	at com.facebook.login.LoginClient.tryCurrentHandler(LoginClient.java:264)
    E/AndroidRuntime(20938): 	at com.facebook.login.LoginClient.tryNextHandler(LoginClient.java:216)
    E/AndroidRuntime(20938): 	at com.facebook.login.GetTokenLoginMethodHandler.getTokenCompleted(GetTokenLoginMethodHandler.java:119)
    E/AndroidRuntime(20938): 	at com.facebook.login.GetTokenLoginMethodHandler$1.completed(GetTokenLoginMethodHandler.java:74)
    E/AndroidRuntime(20938): 	at com.facebook.internal.PlatformServiceClient.callback(PlatformServiceClient.java:163)
    E/AndroidRuntime(20938): 	at com.facebook.internal.PlatformServiceClient.handleMessage(PlatformServiceClient.java:143)
    E/AndroidRuntime(20938): 	at com.facebook.internal.PlatformServiceClient$1.handleMessage(PlatformServiceClient.java:64)
    E/AndroidRuntime(20938): 	at android.os.Handler.dispatchMessage(Handler.java:107)
    E/AndroidRuntime(20938): 	at android.os.Looper.loop(Looper.java:224)
    E/AndroidRuntime(20938): 	at android.app.ActivityThread.main(ActivityThread.java:7560)
    E/AndroidRuntime(20938): 	at java.lang.reflect.Method.invoke(Native Method)
    E/AndroidRuntime(20938): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
    E/AndroidRuntime(20938): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
    E/MQSEventManagerDelegate(20938): failed to get MQSService.
    
    opened by MohamadSobhy 16
  • [Bug]:

    [Bug]:

    Is there an existing issue for this?

    • [X] I have searched the existing issues

    Current Behavior

    After running the latest (0.16.0) version, while compiling for iOS, the compilation fails with the error No such module 'FBSDKCoreKit'. If I downgrade to the previous 0.15.0 version, the compilation works as expected.

    Expected Behavior

    Compilation to happen with no issues.

    Steps To Reproduce

    1. Set pod and deployment targets to 11.0 iOS
    2. Download 0.16.0 pod version
    3. Compile

    Platform

    iOS

    Flutter Doctor

    [✓] Flutter (Channel stable, 3.0.0, on macOS 12.3.1 21E258 darwin-arm (Rosetta), locale en-MK)
    [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    [✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    [✓] Chrome - develop for the web
    [✓] Android Studio
    [✓] Android Studio (version 2021.2)
    [✓] VS Code (version 1.67.1)
    [✓] Connected device (3 available)
    [✓] HTTP Host Availability
    
    bug🐞 
    opened by jovanovski 13
  • [Bug]: Getting error after adding

    [Bug]: Getting error after adding "facebook_app_events: ^0.14.8" into my project

    Is there an existing issue for this?

    • [x] I have searched the existing issues

    Current Behavior

    Currently getting error while running the project appevents_issue

    Expected Behavior

    Need to run the project without errors

    Steps To Reproduce

    1. Added facebook_app_events: ^0.14.8 in my pubspec.yaml
    2. Executed "flutter pub get" and "flutter doctor" successfully
    3. Then I tried to run the project and getting error, please find the attachment below appevents_issue

    Platform

    No response

    Flutter Doctor

    Doctor summary (to see all details, run flutter doctor -v):
    [√] Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1466], locale en-GB)
    [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc3)
    [√] Chrome - develop for the web
    [√] Android Studio (version 4.1.0)
    [√] Connected device (3 available)
    
    bug🐞 
    opened by sreeraj43 13
  • [Bug]:  exception when calling the logEvent method

    [Bug]: exception when calling the logEvent method

    Is there an existing issue for this?

    • [x] I have searched the existing issues

    Current Behavior

    Flutter Facebook App Events gives the error: kotlin.UninitializedPropertyAccessException: lateinit property appEventsLogger has not been initialized

    I am using the latest version of FaceBook App Events plugin in Flutter with the latest version of Flutter as well. On click event, I am calling the logEvent method like this:

    facebookAppEvents.logEvent(
        name: 'Link Clicked',
        parameters: {'url': request.url},
    );
    

    where the facebookAppEvents defined and initialized in the class itself:

    static final facebookAppEvents = FacebookAppEvents();
    

    Expected Behavior

    It should properly log the event the properly without any error.

    Steps To Reproduce

    No response

    Platform

    Android

    Flutter Doctor

    [✓] Flutter (Channel stable, 2.8.1, on macOS 12.0.1 21A559 darwin-arm, locale en-IN)
        • Flutter version 2.8.1 at /Users/harshagrawal/Documents/development/flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision 77d935af4d (5 weeks ago), 2021-12-16 08:37:33 -0800
        • Engine revision 890a5fca2e
        • Dart version 2.15.1
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
        • Android SDK at /Users/harshagrawal/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.10+0-b96-7281165)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
        • 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 2020.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.10+0-b96-7281165)
    
    [✓] VS Code (version 1.63.2)
        • VS Code at /Users/harshagrawal/Documents/development/Visual Studio Code.app/Contents
        • Flutter extension version 3.32.0
    
    [✓] Connected device (1 available)
        • Chrome (web) • chrome • web-javascript • Google Chrome 97.0.4692.71
    
    • No issues found!
    
    bug🐞 
    opened by agrawalharsh90 13
  • Adding facebook_app_events dependency causes fatal problems with other plugins' MethodChannels on Android

    Adding facebook_app_events dependency causes fatal problems with other plugins' MethodChannels on Android

    Hello,

    Please do something as simple as this

    1. new Flutter project
    2. pubspec.yaml, add to dependencies (without specyfing version, but it is 0.7.0):
    path_provider:
    facebook_app_events:
    
    1. main.dart, at the beginning of build method
    print(getTemporaryDirectory());
    

    Result:

    I/flutter (  881): Instance of 'Future<Directory>'
    E/flutter (  881): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method getTemporaryDirectory on channel plugins.flutter.io/path_provider)
    E/flutter (  881): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159:7)
    E/flutter (  881): <asynchronous suspension>
    E/flutter (  881): #1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:334:12)
    E/flutter (  881): #2      MethodChannelPathProvider.getTemporaryPath (package:path_provider_platform_interface/src/method_channel_path_provider.dart:34:26)
    E/flutter (  881): #3      getTemporaryDirectory (package:path_provider/path_provider.dart:60:39)
    E/flutter (  881): #4      _MyHomePageState.build (package:fbattempt/main.dart:69:11)
    E/flutter (  881): #5      StatefulElement.build (package:flutter/src/widgets/framework.dart:4663:28)
    E/flutter (  881): #6      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4546:15)
    E/flutter (  881): #7      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4719:11)
    E/flutter (  881): #8      Element.rebuild (package:flutter/src/widgets/framework.dart:4262:5)
    E/flutter (  881): #9      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4525:5)
    E/flutter (  881): #10     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4710:11)
    E/flutter (  881): #11     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4520:5)
    E/flutter (  881): #12     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3490:14)
    E/flutter (  881): #13     Element.updateChild (package:flutter/src/widgets/framework.dart:3258:18)
    E/flutter (  881): #14     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5874:14)
    E/flutter (  881): #15     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3490:14)
    E/flutter (  881): #16     Element.updateChild (package:flutter/src/widgets/framework.dart:3258:18)
    E/flutter (  881): #17     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4571:16)
    E/flutter (  881): #18     Element.rebuild (package:flutter/src/widgets/framework.dart:4262:5)
    E/flutter (  881): #19     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4525:5)
    E/flutter (  881): #20     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4520:5)
    E/flutter (  881): #21     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3490:14)
    E/flutter (  881): #22     Element.updateChild (package:flutter/src/widgets/framework.dart:3258:18)
    E/flutter (  881): #23     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5874:14)
    E/flutter (  881): #24     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3490:14)
    E/flutter (  881): #25     Element.updateChild (package:flutter/src/widgets/framework.dart:3258:18)
    E/flutter (  881): #26     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5874:14)
    E/flutter (  881): #27     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3490:14)
    E/flutter (  881): #28     Element.updateChild (package:flutter/src/widgets/framework.dart:3258:18)
    E/flutter (  881): #29     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4571:16)
    E/flutter (  881): #30     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4719:11)
    E/flutter (  881): #31     Element.rebuild (package:flutter/src/widgets/framework.dart:4262:5)
    E/flutter (  881): #32     ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4525:5)
    E/flutter (  881): #33     StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4710:11)
    E/flutter (  881): #34     ComponentElement.mount (package:flutter/src/widgets/framework.dart:4520:5)
    E/flutter (  881): #35     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3490:14)
    E/flutter (  881): #36     Element.updateChild (package:flutter/src/widgets/framework.dart:3258:18)
    E/flutter (  881): #37     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5874:14)
    E/flutter (  881): #38     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3490:14)
    E/flutter (  881): #39     Element.updateChild (package:flutter/src/widgets/framework.dart:3258:18)
    E/flutter (  881): #40     SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5874:14)
    E/flutter (  881): #41     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3490:14)
    E/flutter (  881): #42     Element.updateChild (package:flutter/src/widgets/framework.dart:3258:18)
    E/flutter (  881): #43     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4571:16)
    E/flutter (  881): #44 
    

    This is not the problem with path provider. Every plugin using method channel starts failing after adding facebook_app_events - flutter_statusbarcolor, sqflite, shared_preferences...

    This affect Android only, iOS works flawlessly. I know that I haven't configured the AndroidManifest etc in order to make the plugin work - but in the correctly configured project (I assume) I have exactly the same problem.

    Flutter 1.20.2 • channel stable • https://github.com/flutter/flutter.git
    Framework • revision bbfbf1770c (2 weeks ago) • 2020-08-13 08:33:09 -0700
    Engine • revision 9d5b21729f
    Tools • Dart 2.9.1
    
    user-error 
    opened by chris-rutkowski 12
  • App events not received in iOS.

    App events not received in iOS.

    Currently, I am using this package to send custom events. On Android devices everything is working fine. I see events in the overview and in event testing tab on the Facebook event dashboard. However, I do not see anything when I am running the app on a iOS Device. In my Facebook dashboard no error are shown and it is telling me, that everything is up to date.

    Possible Solution

    I saw that a lot of people are struggling with iOS Device on sending out the events on iOS 14.5 and higher. I tried everything that these people where suggestion, but I can not try everything since some of the suggested fixes are only possible to do for people who use Swift / native development. Tracking for this iOS devices was allowed, but it did not change anything.

    Steps to Reproduce (for bugs)

    1. modifie info.plist file as described on pub dev
    2. activate app in Facebook
    3. place a custom app event and trigger it with user behavior.

    Context

    Your Environment

    • no errors for flutter doctor
    • Operating System and version: iOS 14.5
    • package version: 13.5
    • flutter version: 2.5.2
    opened by Young-Slim-Jim 11
Owner
oddbit
Software development agency building great things with Firebase.
oddbit
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
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
A flutter plugin to show Truecaller like overlay window, over all other apps along with callback events

A flutter plugin to show Truecaller like overlay window, over all other apps along with callback events. Android Go or Android 11 & above, this plugin shows notification bubble, in other android versions, it shows an overlay window.

Venkata Sai Vamsi Penupothu 85 Dec 29, 2022
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
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
Flutter Events App Ui Challenge Speed Code

Flutter Events app made with Flutter, Hosted on Codemagic. Don't forget to star ⭐ the repo it motivates me to share more open source Design Credits Uv

Sanskar Tiwari 402 Dec 29, 2022
SeizeYourSpace - An App to capture details about folks interested in joining Publicis Sapient. Especially useful at events!

photo_job A simple app to take in candidate applications at a Conference Booth. This simplifies the work for a recruiter and eliminates the paper work

Pavan Podila 4 Jul 11, 2022
Keep track of college events of various boards in a single app along with personal to-do list feature.

Keep track of college events of various boards in a single app along with personal to-do list feature.

Akshat Mittal 1 Jun 16, 2022
Flutter project to find and discover events with Clean Architecture and Bloc from SeatGeek API.

Flutter project to find and discover events with Clean Architecture and Bloc from SeatGeek API.

Abel Dagnew 3 Dec 6, 2022
To detect impression events for widgets in flutter.

flutter_impression This is a user behavior tracking (UBT) tool to analyze impression events for flutter. Inspired by ImpressionKit and visibility_dete

Yanni Wang 王氩 9 Oct 27, 2022
At its core, Mah-Event lets end-users initiate and find events corresponding to their interests and location

Mah-Event Application At its core, Mah-Event lets end-users initiate and find events corresponding to their interests and location. It allows people t

Palm Jumnongrat 4 Oct 23, 2022
how to Integrating facebook audience network to flutter app for banner, interstitial, rewarded, native and native banner

fb_ads_flutter_12 A new Flutter project. Getting Started Watch the complite tutorial for integrating Facebook ads into the Flutter app in our Youtube

null 4 Nov 26, 2022
The app to demo animation with Flutter by implement Facebook reactions

Facebook Reactions Animation Description The app to demo animation with Flutter by implement Facebook reactions. Watch the demo video for more clarity

Duy Tran 316 Dec 30, 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
Creating complete social media app like instagram, facebook using flutter dart.

instoo The social media application that allows user to check out new feed, like, comment and even check other user’s profile. It has search, follow,

Pratul Pant 9 Dec 1, 2022
An app that opens Facebook, Google, Youtube by Click on the navigation bar items specifically for each.

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

dev_allauddin 3 Feb 3, 2022
dos downloader app is developed for downloading video. You can download video from YouTube and Facebook. You can also play video on background

dosdownloader Dos downloader app is developed for downloading video. You can download video from YouTube and Facebook. You can also play video on back

Md Abir Ahsan Tahmim 1 Dec 8, 2021
A UI clone of the Facebook app that created using Flutte

facebook_ui_flutter Star ⭐ this repo if you like what you see. facebook clone About A UI clone of the Facebook app that i created using Flutter. Snaps

David Chinedu 3 Nov 17, 2022
Authentication API client with Flutter (Login, Register, Google Login, Facebook Login, Apple Login)

Flutter Auth App (Login, Register, Google Login, Facebook Login, Apple Login) To use this client, get the server up and running. Try it out now! App S

Denzel Giraldo 50 Jan 4, 2023