Huawei battety optimizations mixed with doze are very s*tty and just as much ineffective. I often get my Fb messenger notifications late, but other apps like snapchat dont even send them anymore. Even my own app does not work that uses and oreo optimized third-party library. My advice is that dont expect a solution from devs, we cannot do anything about it unfortunately 