Closed Alex2105 closed 4 years ago
Hello Which notification message do you want to clear?
When I started the application, I create and initialize HydraSdk in Application, I add a notification during initialization (HydraSdk.init (this, clientInfo notification, hydraSDKConfig)), but when I clear applications from back stack, the notification continues to live, I tried to clear with update, but it doesn't work (HydraSdk.update (NotificationConfig.newBuilder (). disabled (). build ()))
what is you config for notification in HydraSdk.init call?
In method init, Hydra Sdk take NotificationConfig class
notification for what state you cannot clear? idle/connected? You can pass disabled NotificationConfig, it will not show notifications NotificationConfig notificationConfig = NotificationConfig.newBuilder() .title(getResources().getString(R.string.app_name)) .channelId(CHANNEL_ID) .disabled() .build();
Hello!!! How clear notification message in Hydra?