rafalbednarczuk/facebook_analytics
Flutter facebook analytics
- Stars
- 9
- Forks
- 9
- Last push (UTC)
- Mar 2, 2021
- Project status
- Active
LanguagesDartRubyKotlinSwiftShellObjective-C
Dependencies used
Dependency list 2 items
- flutter
{"sdk":"flutter"} - flutter_testDevelopment
{"sdk":"flutter"}
Original README
English project snapshot. Visit GitHub for the latest content.
Expand / collapse project README
facebook_analytics
Flutter Package implementing Facebook Analytics.
Installation
Android
https://developers.facebook.com/quickstarts/
Complete only: Add SKD, App Info, Key Hashes
iOS
https://developers.facebook.com/quickstarts/
Complete only: Configure(add XML snippet to plist), Bundle Identifier
add this line in ios/Podfile to 9.0 (in most cases just uncomment this line in the beginning of Podfile)
platform :ios, '9.0'
Example
import 'package:facebook_analytics/facebook_analytics.dart';
final facebookAnalytics = FacebookAnalytics();
...
RaisedButton(onPressed: () {
facebookAnalytics.logEvent(
name: "test_event",
parameters: {"value": 10, "subname": "exampleStringValue"},
);
})