@@ -16,26 +16,31 @@ import {
1616} from 'react-native'
1717import { Button } from '../components/button'
1818import * as c from '../components/colors'
19- import { tracker } from '../../analytics'
20- import bugsnag from '../../bugsnag'
19+ // import {tracker} from '../../analytics'
20+ // import bugsnag from '../../bugsnag'
2121
2222const kstoProtocol = 'KSTORadio://'
2323const kstoAppStoreLink = 'itms://itunes.apple.com/us/app/ksto/id953916647'
2424const kstoWebPage = 'https://www.stolaf.edu/multimedia/play/embed/ksto.html'
2525const image = require ( '../../../images/streaming/ksto/ksto-logo.png' )
2626
27+ /*
28+ * I disabled the ga/bugsnag tracking here because dismissing the dialogs
29+ * causes us to get an error... and I can't really see how these would fail?
30+ */
31+
2732function kstoWebsite ( ) {
2833 Linking . openURL ( kstoWebPage ) . catch ( err => {
29- tracker . trackException ( `opening Android KSTO url: ${ err . message } ` )
30- bugsnag . notify ( err )
34+ // tracker.trackException(`opening Android KSTO url: ${err.message}`)
35+ // bugsnag.notify(err)
3136 console . warn ( 'An error occurred opening the Android KSTO url' , err )
3237 } )
3338}
3439
3540function iosKstoAppDownload ( ) {
3641 Linking . openURL ( kstoAppStoreLink ) . catch ( err => {
37- tracker . trackException ( `opening KSTO download url: ${ err . message } ` )
38- bugsnag . notify ( err )
42+ // tracker.trackException(`opening KSTO download url: ${err.message}`)
43+ // bugsnag.notify(err)
3944 console . warn ( 'An error occurred opening the KSTO download url' , err )
4045 } )
4146}
@@ -50,8 +55,8 @@ function iosKstoApp() {
5055 return Linking . openURL ( kstoProtocol )
5156 } )
5257 . catch ( err => {
53- tracker . trackException ( `opening iOS KSTO url: ${ err . message } ` )
54- bugsnag . notify ( err )
58+ // tracker.trackException(`opening iOS KSTO url: ${err.message}`)
59+ // bugsnag.notify(err)
5560 console . warn ( 'An error occurred opening the iOS KSTO url' , err )
5661 } )
5762}
0 commit comments