Local notification exit my device

i’m working with android , so when i try to run it on an emulator it works perfectly but when i run it on a real device it crushes and the app exits so i’m asking if you know the problem . Reminder : i’m working with android
Also i check my device settings because at first i thought that notification settings were the problem but their configuration was fine i’m so confused what’s the problem

i’m using android version 7.1.1