Notifications with gif or picture not working

I have two problems:

  1. When I send a notification to my phone with a attached gif or picture it does not show. The notification is there but when I swipe to view it just opens the IOS app. This is what I’m using as a test.
  - alias: testNotify
    trigger:
      platform: state
      entity_id: input_boolean.door_timer
      from: 'off'
      to: 'on'
    action:
      service: notify.ios_daves
      data:
        message: Something happened at home!
        data:
          attachment:
           url: https://media.giphy.com/media/3oEdva9BUHPIs2SkGk/giphy.gif
           content-type: gif
           hide-thumbnail: false

Next is my notifications when entering a zone only works sometimes. I have tried the background settings and even leaving the app open and they still don’t work.
Do I need something more in my configuration.yaml file?

I also cannot get .gif attachments to work.
.jpg attachments work fine.

As to zone notification, I also find them to be completely unreliable.

Worked a few times today. Maybe its owntrackes interfering ?