Last updated:
0 purchases
facebook applinks
facebook_applinks #
Flutter plugin for Facebook App Links.
Android #
<!-- src/main/AndroidManifest.xml -->
<application>
<meta-data
android:name="facebook_applinks"
android:value="\${FACEBOOK_APP_LINKS}" />
<activity android:name=".MainActivity">
<!-- facebook applinks -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="\${FACEBOOK_APP_LINKS}" />
</intent-filter>
</activity>
</application>
copied to clipboard
// android/app/build.gradle
android {
defaultConfig {
manifestPlaceholders = [
FACEBOOK_APP_LINKS : "your facebook app link scheme",
]
}
}
copied to clipboard
iOS #
// app.xcconfig
FACEBOOK_APP_LINKS=your facebook app link scheme
copied to clipboard
<!-- Info.plist -->
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>facebook_applinks</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$(FACEBOOK_APP_LINKS)</string>
</array>
</dict>
</array>
copied to clipboard
Flutter #
# pubspec.yaml
dependencies:
facebook_applinks:
git:
url: https://github.com/rxreader/flutter_facebook.git
path: facebook_applinks
copied to clipboard
# pubspec.yaml
dependencies:
facebook_applinks: ^${latestVersion}
copied to clipboard
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.