title: Android 10 app notifications not working after an upgrade from only testing android 7
body: <p>I made an android app in java and it worked on my old device that ran nougat (android 7), I recently got a new phone that runs Android 10, and the entire app works just fine, except for creating a notification.
  Why is this happening? and how do I fix it?
  Thanks in advance.</p>