Android SDK - Notification support Android O+
RéponduRainbow 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!
-
Commentaire officiel
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
Actions pour les commentaires
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire