Run ipad apps in mac, can't get notification from server

Current mac version: 10.15 Beta (19A512f)
I run my ipad apps in mac, but I can't get notification after I send a request to APNS server without error.
I had debuged, I did register success and get mac's device token.
And notification is worked when I run in ipad.
And in first beta version of mac 10.15, it also work in mac.
Is anyone knows reason?
I didn't see anything releated in release note.

Replies

I get answer now...
Need Add

<key>com.apple.developer.aps-environment</key>

<string>development</string>

In entitlements file.

<key>aps-environment</key>

<string>development</string>

is for iOS

<key>com.apple.developer.aps-environment</key>

<string>development</string>

is for Mac OS
Only add

<key>aps-environment</key>

<string>development</string>

will not work when ipad app runs in mac

Not work in release version now.
Sometimes can't get notifiaction.
Anyone has idea about this?