moengage_inbox_2 4.0.2 moengage_inbox_2: ^4.0.2 copied to clipboard
Flutter Plugin for using Notification Center feature of MoEngage Platform, to provide an Inbox to view all the notifications received by your application.
Note #
This Plugin was old and unmaintained. For the benefit or larger Flutter dev community, I had to step in and upgrade it to support flutter 3.0 with some other maintanence stuff.
If anyone from MoEngage is reading this, Please let me know if you need contribution in the official plugin.
Thanks.
MoEngage Inbox Plugin #
Inbox Plugin for MoEngage Platform
SDK Installation #
To add the MoEngage Flutter SDK to your application, edit your application's pubspec.yaml
file and add the below dependency to it:
dependencies:
moengage_inbox: $latestSdkVersion
replace $latestSdkVersion
with the latest SDK version.
Run flutter packages get to install the SDK.
Note: This plugin is dependent on moengage_flutter
plugin. Make sure you have installed the moengage_flutter
make sure you have installed the moengage_flutter
plugin as well. Refer to the
Android Installation #
Once you install the Flutter Plugin add MoEngage's native Android SDK dependency to the Android project of your application.
Navigate to android --> app --> build.gradle
. Add the MoEngage Android SDK's dependency in the dependencies
block
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation("com.moengage:addon-inbox:$sdkVersion")
}
where $sdkVersion
should be replaced by the latest version of the MoEngage SDK.
Refer to the Documentation for complete integration guide.