Android SDK - Notification support Android O+
BeantwortetRainbow SDK crash on new version of Android (O+). This is caused by a depreciated call to notification builder in the RainbowSdk class :
//RainbowSdk
public void setNotificationBuilder(Context context, Class activity,inticonId, String contentTitle, String contentText,intcolorId) {
// ...
this.m_notificationBuilder = (new Builder(this.m_context)).setWhen(System.currentTimeMillis()).setSmallIcon(iconId).setContentTitle(contentTitle).setContentText(contentText).setContentIntent(contentIntent).setColor(colorId);
}
new Builder(Context) is depreciated. You have to set a notification channel id.
Hope the SDK team can investigate this issue!
-
Offizieller Kommentar
Hi Florian,
Unfortunately the current version 1.44 of our SDK doesn't support Android 8.1, a fix version is planned for the 1.46 delivery in one month.
Regards
Vincent
Aktionen für Kommentare
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar