Skip to content

Commit 0541919

Browse files
feat: Add ability to configure messaging channels for local notifications (#247)
1 parent 25eb734 commit 0541919

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ android {
6060
dependencies {
6161
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
6262
// Customer.io SDK
63-
def cioVersion = "4.6.3"
63+
def cioVersion = "4.7.0"
6464
implementation "io.customer.android:datapipelines:$cioVersion"
6565
implementation "io.customer.android:messaging-push-fcm:$cioVersion"
6666
implementation "io.customer.android:messaging-in-app:$cioVersion"

apps/amiapp_flutter/android/app/src/main/AndroidManifest.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,18 @@
7676
<meta-data
7777
android:name="flutterEmbedding"
7878
android:value="2" />
79+
80+
<!-- These meta-data customizes CIO push notification messaging channel-->
81+
<meta-data
82+
android:name="io.customer.notification_channel_id"
83+
android:value="custom_channel_flutter" />
84+
<meta-data
85+
android:name="io.customer.notification_channel_name"
86+
android:value="CIO Test" />
87+
<!-- This values corresponds to Android Notification Manager' importance
88+
as described here: https://developer.android.com/develop/ui/views/notifications/channels#importance -->
89+
<meta-data
90+
android:name="io.customer.notification_channel_importance"
91+
android:value="4" />
7992
</application>
8093
</manifest>

apps/amiapp_flutter/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ packages:
103103
path: "../.."
104104
relative: true
105105
source: path
106-
version: "2.3.0"
106+
version: "2.3.1"
107107
dbus:
108108
dependency: transitive
109109
description:

0 commit comments

Comments
 (0)