Apple, Google and Microsoft might just stop you as they get a better cut from the multimillion dollar app partners. Or your app might have some libraries that are having security issues.
I'd happily change the libs if there was an issue. I'm not aware of any and Apple hasn't indicated any. I take effort to keep libraries up to date, but certainly don't have everything on latest.
2.5 years ago I had Bugsnag setup as part of the app, but removed it in the redesign because the developer agreement indicated something about analytics/tracking and I felt it'd be safest just to remove it. No advertising tracking in the MacOS app ever.