Flutter
Flutter Installation
How to install the Linkrunner SDK for Flutter
Flutter SDK Installation
This guide will help you install and set up the Linkrunner SDK in your Flutter application.
Requirements
- Flutter 3.0 or higher
- Dart 3.3 or higher
Installation
Step 1: Add the Package
Add the Linkrunner package to your pubspec.yaml
file:
Step 2: Install Dependencies
Run the following command to install the package:
Step 3: Platform Specific Setup
Android Configuration
- Ensure your project’s
minSdkVersion
is at least 21 in yourandroid/app/build.gradle
file:
- Add the following permissions to your
AndroidManifest.xml
file:
iOS Configuration
- Update your iOS deployment target to iOS 12.0 or higher in your
ios/Podfile
:
- Add the following to your
Info.plist
file for App Tracking Transparency:
Dependencies
The Linkrunner SDK uses the following packages:
- advertising_id
- android_play_install_referrer
- app_links
- connectivity_plus
- device_info_plus
- http
- package_info_plus
- shared_preferences
- url_launcher
These are automatically installed when you add the Linkrunner SDK to your application.
Next Steps
After installation, proceed to the Usage Guide to learn how to initialize and use the Linkrunner SDK in your Flutter application.