Sending notifications across apps

I have 2 apps with a shred database.

I am triggering a notification in one app to specific users in my other app.
However this notification isn’t coming through.

I am doing this on testflight - i don’t know if that affects it.

Does anyone have a solution for this.