Skip to main content

Flutter and React Native

The Flyy Flutter plugin and react-native-flyy call the native SDKs. v2 keeps every v1 method name and signature, so the plugins work unchanged — you only bump the native dependencies.

Android​

The Android SDK keeps a facade under the v1 package theflyy.com.flyy, so plugin code compiles without import changes. In the plugin's (or your app's) android/build.gradle:

repositories {
maven { url 'https://cdn.flyyx.in/maven' }
}

dependencies {
implementation 'com.theflyy:flyy:2.1.0'
}

Push from Dart or JS: forward the message data to FlyyNotificationHandler.handleCrossPlatformNotification (Android) as before.

iOS​

Bump the pod and the iOS platform:

ios/Podfile
platform :ios, '14.0'

pod 'FlyyFramework', '~> 3.0'
cd ios && pod install --repo-update

Building your own bridge​

Every Android entry point is @JvmStatic, so a MethodChannel onto Flyy is enough. For inline widgets, wrap FlyyEmbedView (Android) or FlyyEmbedView (iOS) in a platform view.