facebook_core 0.1.0
facebook_core: ^0.1.0 copied to clipboard

Flutter Android iOS

Flutter plugin for Facebook Core.

facebook_core #

Flutter plugin for Facebook Core.

Android #

// android/app/build.gradle
android {
    defaultConfig {
        manifestPlaceholders = [
                FACEBOOK_APP_ID : "your facebook app id",
        ]
    }
}

iOS #

//  app.xcconfig

FACEBOOK_APP_ID=your facebook app id
FACEBOOK_DISPLAY_NAME=your facebook app display name
//  Debug.xcconfig
#include "app.xcconfig"
//  Release.xcconfig
#include "app.xcconfig"
	<!-- Info.plist -->
	<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>CFBundleURLName</key>
			<string></string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>fb$(FACEBOOK_APP_ID)</string>
			</array>
		</dict>
	</array>
	<key>FacebookAppID</key>
	<string>$(FACEBOOK_APP_ID)</string>
	<key>FacebookDisplayName</key>
	<string>$(FACEBOOK_DISPLAY_NAME)</string>
	<key>LSApplicationQueriesSchemes</key>
	<array>
		<string>fbapi</string>
		<string>fbapi20130214</string>
		<string>fbapi20130410</string>
		<string>fbapi20130702</string>
		<string>fbapi20131010</string>
		<string>fbapi20131219</string>
		<string>fbapi20140410</string>
		<string>fbapi20140116</string>
		<string>fbapi20150313</string>
		<string>fbapi20150629</string>
		<string>fbapi20160328</string>
		<string>fbauth</string>
		<string>fb-messenger-share-api</string>
		<string>fbauth2</string>
		<string>fbshareextension</string>
	</array>

Flutter #

# pubspec.yaml
dependencies:
  facebook_core:
    git:
      url: https://github.com/rxreader/flutter_facebook.git
      path: facebook_core
# pubspec.yaml
dependencies:
  facebook_core: ^${latestVersion}

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

0
likes
80
pub points
34%
popularity

Flutter plugin for Facebook Core.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

zv7lin@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on facebook_core