How can we block all type of notification using Knox SDK.

Below my code work with Premium Knox SDK -

ApplicationPolicy ap = edm.getApplicationPolicy();
ap.setApplicationNotificationMode(ApplicationPolicy.NOTIFICATION_MODE_BLOCK_ALL);

After update Premium to Knos SDK getting error "cannot find symbol 'NOTIFICATION_MODE_BLOCK_ALL'"

 

Thanks.

Konrad Sobczak
Jan 02, 2019
2:39 pm

Hello Sayaji Kadam,

 

When migrating from Knox Premium SDK to Knox SDK there are number of changes that need to be done in order to succesfully migrate to new platform.

What device are you using during your app creation? For devices with Knox v 2.7 and lower you will also need support library.

You can find more details here on how to migrate app from older Knox Premium to consolidated Knox SDK:

https://seap.samsung.com/html-docs/android/Content/migration-intro.htm

 

Best regards, Konrad.