Flutter Installation
Flutter Installation
Technical Requirements
const Technical_Requirements = {
XCODE_VERSION: '10.0+',
STUDIO_VERSION: '3.3.2+',
IOS_VERSION: '11.0+',
ANDROID_VERSION: '5.0+',
FLUTTER_ENV: {
SDK: '>=2.12.0 <3.0.0',
FLUTTER: '>=1.10.0'
},
SDK_VERSION: '3.0.0'
};
Flutter SDK Manual Installation
As the Wunderkind Flutter SDK is a private SDK we only currently support manual SDK integration. Please follow these steps to manually integrate:
- Download the 3.0.0 WSDK archive from this link.
- Unarchive folder, rename it to be wunderkind_sdk and paste it in the root directory of your Flutter project.
- Open
pubspec.yaml
and specify wunderkind_sdk local dependency as it is done below:
dependencies:
wunderkind_sdk:
path: wunderkind_sdk
iOS Podfile Update
Since Wunderkind Flutter SDK utilizes Wunderkind iOS SDK under the hood, we need to properly integrate the latter one. Wunderkind iOS SDK is stored in Wunderkind's Google Cloud Storage, hence you need to attach a link to Wunderkind iOS SDK's podspec in the appropriate place.
In iOS/Podfile
at the end of target 'Runner'
just before end line please add the corresponding line:
...
target 'Runner' do
use_frameworks!
pod 'Wunderkind', podspec: 'https://storage.googleapis.com/wunderkind-ios-sdk/3.0.0.podspec'
end
Android Maven Update
Since Wunderkind Flutter SDK utilizes Wunderkind Android SDK under the hood, you'll find below the steps required to install the Wunderkind Android SDK which is hosted on Google Platform Artifact Registry.
Navigate to android/app/build.gradle
and add these lines in the corresponding sections:
android {
repositories {
maven {
url "https://us-central1-maven.pkg.dev/wk-production-sdk/wunderkind-android-sdk-production"
}
}
}
dependencies {
implementation "co.wunderkind.sdk:wunderkindsdk:3.0.0"
}
Run flutter pub get
to complete installation.
Updated about 1 month ago