bugsnag-js icon indicating copy to clipboard operation
bugsnag-js copied to clipboard

TVOS support

Open ndillon1 opened this issue 7 years ago • 7 comments

Will this library support Apple TV?

ndillon1 avatar Oct 04 '17 10:10 ndillon1

@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.

fractalwrench avatar Oct 09 '17 14:10 fractalwrench

👍 for tvOS support

benoitdion avatar Sep 09 '19 18:09 benoitdion

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):

BugsnagReactNative.txt

ChrisCodeCole avatar Jul 10 '20 15:07 ChrisCodeCole

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).

johnkiely1 avatar Sep 14 '20 10:09 johnkiely1

@fractalwrench - What ever happened to the PR you guys were experimenting with for tvOS support?

dlynns avatar Oct 30 '20 16:10 dlynns

@ChrisCodeCole - were you saying that you got the iOS Bugsnag React Native module working for tvOS with your changes?

dlynns avatar Oct 30 '20 16:10 dlynns

@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.

mattdyoung avatar Nov 02 '20 13:11 mattdyoung