Apple constantly misuses "private" API to give their own applications feature they don’t want to see in other applications on the AppStore.
At some point, the current situation is to be expected. It’s ok. Electron apps will be fixed and it will be all right.