Unable to delete scheduled notification

Please provide the following:

  1. SDK Version:
  2. Platforms(Android/iOS/web/all): ios
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

2nd picture on press i am suppose to delete the scheduled alarm but it is not working

the other part of the code