bugsnag-js
bugsnag-js copied to clipboard
TVOS support
Will this library support Apple TV?
@ndillon1 the current release of the library doesn't support tvOS. However, we're experimenting with support in a PR which I've referenced in this issue.
👍 for tvOS support
I was able to get this running on tvOS simply by changing the podspec in node_modules. The issue was MessageUI framework which is only available on iOS. Bugsnag files look the same between iOS and tvOS from a quick glance, but I haven't fully tested out the capabilities. We'll be using this podspec for bugsnag-react-native and I'll update if we run into any issues. My changes were:
- added
s.tvos.deployment_target = '9.2'
(Got v9.2 from official Bugsnag pod spec https://github.com/CocoaPods/Specs/blob/master/Specs/c/1/5/Bugsnag/6.1.0/Bugsnag.podspec.json) - changed
s.platform = :ios, '8.0'
-->s.ios.deployment_target = '8.0'
- changed
s.frameworks = 'MessageUI', 'SystemConfiguration'
-->s.framework = 'SystemConfiguration'
- added
s.ios.framework = 'MessageUI'
(this is only compatible with iOS)
Full BugsnagReactNative.podspec file(renamed to *.txt so that I could upload to Github):
This has been transferred to the bugsnag-js repo as the Bugsnag react native library is now part of this repository (as of v7.3).
@fractalwrench - What ever happened to the PR you guys were experimenting with for tvOS support?
@ChrisCodeCole - were you saying that you got the iOS Bugsnag React Native module working for tvOS with your changes?
@fractalwrench - What ever happened to the PR you guys were experimenting with for tvOS support?
Hi @dlynns
In the past we were experimenting with a basic tvOS example on this PR in the deprecated bugsnag-react-native repository: https://github.com/bugsnag/bugsnag-react-native/pull/158
To officially support all Bugsnag features on tvOS for React Native apps would need more substantial testing and implementation effort, which is something we're considering on our roadmap but haven't yet scheduled.