Code Monkey home page Code Monkey logo

svitle-radio-mobile's Introduction

Svitle Radio

This is a mobile app for Svitle Radio, a Christian radio station in Kyiv, Ukraine.

Written in React Native, it supports both iOS and Android and uses a simple JSON API to discover station metadata.

JSON API is also open source, available here

Development instructions

Install system dependencies:

brew install node
brew install watchman
gem install cocoapods --user-install
$ yarn install

Create ios/sentry.properties to allow Sentry to upload debug symbols:

defaults.url=https://sentry.io/
defaults.org=ikkit
defaults.project=svetloe
auth.token=your-user's-auth-token

Running

yarn start  # in one terminal
yarn run-svitle-ios # run ios simulator
yarn run-svitle-android # run android simulator

To start Xcode: open ios/SvitleRadio.xcworkspace

Building Android release

yarn release-svitle-android

Private keys in ~/.private/android

svitle-radio-mobile's People

Contributors

dependabot[bot] avatar knyar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

svitle-radio-mobile's Issues

Compile on xcode 10 failed

Im trying to compile a fresh git clone in xcode 10 and getting following error.

linker command failed with exit code 1 (use -v to see invocation)

Has any one got this and a work around for this ?

Launch screen stuck for 1 minute with tcp errors on debug

Hi Anton,

Im trying to build the app from xcode. All goes fine without any errors but when the app launch on iphone it stucked at launch screen for 1 minute. Debugger shows tcp errors as below. If i launch on xcode simulator it works fine. What can be the issue. Highly appreciate if you can advise.

Thanks

2018-06-22 10:58:06.308865+0530 SvitleRadio[1744:1108323] [] tcp_timers tcp[1] retransmit SYN 3
2018-06-22 10:58:07.309952+0530 SvitleRadio[1744:1108321] [] tcp_timers tcp[1] retransmit SYN 4
2018-06-22 10:58:08.315348+0530 SvitleRadio[1744:1108323] [] tcp_timers tcp[1] retransmit SYN 5
2018-06-22 10:58:10.320776+0530 SvitleRadio[1744:1108321] [] tcp_timers tcp[1] retransmit SYN 6
2018-06-22 10:58:14.322873+0530 SvitleRadio[1744:1108324] [] tcp_timers tcp[1] retransmit SYN 7
2018-06-22 10:58:22.328384+0530 SvitleRadio[1744:1108324] [] tcp_timers tcp[1] retransmit SYN 8
2018-06-22 10:58:38.333473+0530 SvitleRadio[1744:1108323] [] tcp_timers tcp[1] retransmit SYN 9
2018-06-22 10:59:03.283354+0530 SvitleRadio[1744:1108480] NSURLConnection finished with error - code -1001
2018-06-22 10:59:03.306538+0530 SvitleRadio[1744:1108321] Task .<0> HTTP load failed (error code: -999 [1:89])
2018-06-22 10:59:03.308 [info][tid:main][RCTCxxBridge.mm:213] Initializing <RCTCxxBridge: 0x1c41c7bc0> (parent: <RCTBridge: 0x1c40d04c0>, executor: (null))
2018-06-22 10:59:03.314588+0530 SvitleRadio[1744:1108254] Initializing <RCTCxxBridge: 0x1c41c7bc0> (parent: <RCTBridge: 0x1c40d04c0>, executor: (null))
2018-06-22 10:59:03.399 [warn][tid:main][RCTBridge.m:121] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2018-06-22 10:59:03.399306+0530 SvitleRadio[1744:1108254] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2018-06-22 10:59:03.436 [warn][tid:main][RCTModuleData.mm:69] Module ReactNativeAudioStreaming requires main queue setup since it overrides init but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of. 2018-06-22 10:59:03.436280+0530 SvitleRadio[1744:1108254] Module ReactNativeAudioStreaming requires main queue setup since it overrides initbut doesn't implementrequiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
2018-06-22 10:59:03.436 [warn][tid:main][RCTModuleData.mm:69] Module MusicControlManager requires main queue setup since it overrides constantsToExport but doesn't implement requiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of. 2018-06-22 10:59:03.436448+0530 SvitleRadio[1744:1108254] Module MusicControlManager requires main queue setup since it overrides constantsToExportbut doesn't implementrequiresMainQueueSetup. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.
2018-06-22 10:59:03.472 [info][tid:main][RCTRootView.m:301] Running application SvitleRadio ({
initialProps = {
};
rootTag = 1;
})
2018-06-22 10:59:03.472194+0530 SvitleRadio[1744:1108254] Running application SvitleRadio ({
initialProps = {
};
rootTag = 1;
})
2018-06-22 10:59:03.486863+0530 SvitleRadio[1744:1108639] [] nw_connection_get_connected_socket 2 Connection has no connected handler
2018-06-22 10:59:03.487760+0530 SvitleRadio[1744:1108639] TCP Conn 0x1c4169240 Failed : error 0:61 [61]
2018-06-22 10:59:03.557635+0530 SvitleRadio[1744:1108254] AudioPlayer initialized
2018-06-22 10:59:04.230 [info][tid:com.facebook.react.JavaScript] Running application "SvitleRadio" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF
2018-06-22 10:59:04.229879+0530 SvitleRadio[1744:1108634] Running application "SvitleRadio" with appParams: {"rootTag":1,"initialProps":{}}. DEV === true, development-level warning are ON, performance optimizations are OFF
2018-06-22 10:59:04.266991+0530 SvitleRadio[1744:1108639] [] nw_socket_connect connectx failed (fd 9, 127.0.0.1:8097 stream, pid: 1744) [61: Connection refused]
2018-06-22 10:59:04.269132+0530 SvitleRadio[1744:1108323] [] nw_connection_get_connected_socket 3 Connection has no connected handler
2018-06-22 10:59:04.269161+0530 SvitleRadio[1744:1108323] TCP Conn 0x1c416a500 Failed : error 0:61 [61]
2018-06-22 10:59:05.597554+0530 SvitleRadio[1744:1108323] [] nw_connection_get_connected_socket 5 Connection has no connected handler
2018-06-22 10:59:05.597638+0530 SvitleRadio[1744:1108323] TCP Conn 0x1c016bc40 Failed : error 0:61 [61]
2018-06-22 10:59:06.369822+0530 SvitleRadio[1744:1108480] [] nw_connection_get_connected_socket 6 Connection has no connected handler
2018-06-22 10:59:06.369930+0530 SvitleRadio[1744:1108480] TCP Conn 0x1c016c0c0 Failed : error 0:61 [61]
2018-06-22 10:59:07.707396+0530 SvitleRadio[1744:1108480] [] nw_connection_get_connected_socket 7 Connection has no connected handler
2018-06-22 10:59:07.707492+0530 SvitleRadio[1744:1108480] TCP Conn 0x1c016c3c0 Failed : error 0:61 [61]
2018-06-22 10:59:08.387803+0530 SvitleRadio[1744:1108480] [] nw_connection_get_connected_socket 8 Connection has no connected handler
2018-06-22 10:59:08.387909+0530 SvitleRadio[1744:1108480] TCP Conn 0x1c016c180 Failed : error 0:61 [61]
2018-06-22 10:59:09.836799+0530 SvitleRadio[1744:1108323] [] nw_connection_get_connected_socket 9 Connection has no connected handler
2018-06-22 10:59:09.836904+0530 SvitleRadio[1744:1108323] TCP Conn 0x1c016c780 Failed : error 0:61 [61]
2018-06-22 10:59:10.400193+0530 SvitleRadio[1744:1108639] [] nw_socket_connect connectx failed (fd 9, 127.0.0.1:8097 stream, pid: 1744) [61: Connection refused]
2018-06-22 10:59:10.402968+0530 SvitleRadio[1744:1108480] [] nw_connection_get_connected_socket 10 Connection has no connected handler
2018-06-22 10:59:10.403035+0530 SvitleRadio[1744:1108480] TCP Conn 0x1c016c9c0 Failed : error 0:61 [61]
2018-06-22 10:59:11.916979+0530 SvitleRadio[1744:1108639] [] nw_connection_get_connected_socket 11 Connection has no connected handler
2018-06-22 10:59:11.917086+0530 SvitleRadio[1744:1108639] TCP Conn 0x1c016c300 Failed : error 0:61 [61]
2018-06-22 10:59:12.420548+0530 SvitleRadio[1744:1108321] [] nw_connection_get_connected_socket 12 Connection has no connected handler
2018-06-22 10:59:12.420651+0530 SvitleRadio[1744:1108321] TCP Conn 0x1c016c540 Failed : error 0:61 [61]
2018-06-22 10:59:14.123447+0530 SvitleRadio[1744:1108480] [] nw_connection_get_connected_socket 13 Connection has no connected handler
2018-06-22 10:59:14.123554+0530 SvitleRadio[1744:1108480] TCP Conn 0x1c016ce40 Failed : error 0:61 [61]
2018-06-22 10:59:14.436178+0530 SvitleRadio[1744:1108321] [] nw_connection_get_connected_socket 14 Connection has no connected handler
2018-06-22 10:59:14.436283+0530 SvitleRadio[1744:1108321] TCP Conn 0x1c016bd00 Failed : error 0:61 [61]
2018-06-22 10:59:16.211361+0530 SvitleRadio[1744:1108639] [] nw_connection_get_connected_socket 15 Connection has no connected handler
2018-06-22 10:59:16.211466+0530 SvitleRadio[1744:1108639] TCP Conn 0x1c016c6c0 Failed : error 0:61 [61]
2018-06-22 10:59:16.452570+0530 SvitleRadio[1744:1108321] [] nw_connection_get_connected_socket 16 Connection has no connected handler
2018-06-22 10:59:16.452677+0530 SvitleRadio[1744:1108321] TCP Conn 0x1c016cfc0 Failed : error 0:61 [61]
2018-06-22 10:59:18.332850+0530 SvitleRadio[1744:1108323] [] nw_connection_get_connected_socket 17 Connection has no connected handler
2018-06-22 10:59:18.332956+0530 SvitleRadio[1744:1108323] TCP Conn 0x1c016c600 Failed : error 0:61 [61]
2018-06-22 10:59:18.467838+0530 SvitleRadio[1744:1108321] [] nw_connection_get_connected_socket 18 Connection has no connected handler
2018-06-22 10:59:18.468114+0530 SvitleRadio[1744:1108321] TCP Conn 0x1c016d080 Failed : error 0:61 [61]
2018-06-22 10:59:20.484765+0530 SvitleRadio[1744:1108480] [] nw_connection_get_connected_socket 19 Connection has no connected handler
2018-06-22 10:59:20.484869+0530 SvitleRadio[1744:1108480] TCP Conn 0x1c016c840 Failed : error 0:61 [61]
2018-06-22 10:59:20.504973+0530 SvitleRadio[1744:1108321] [] nw_connection_get_connected_socket 20 Connection has no connected handler
2018-06-22 10:59:20.505072+0530 SvitleRadio[1744:1108321] TCP Conn 0x1c016be80 Failed : error 0:61 [61]
2018-06-22 10:59:22.500081+0530 SvitleRadio[1744:1108321] [] nw_connection_get_connected_socket 21 Connection has no connected handler
2018-06-22 10:59:22.500423+0530 SvitleRadio[1744:1108321] TCP Conn 0x1c016d200 Failed : error 0:61 [61]
2018-06-22 10:59:22.691846+0530 SvitleRadio[1744:1108639] [] nw_connection_get_connected_socket 22 Connection has no connected handler
2018-06-22 10:59:22.691951+0530 SvitleRadio[1744:1108639] TCP Conn 0x1c016c540 Failed : error 0:61 [61]
2018-06-22 10:59:24.517130+0530 SvitleRadio[1744:1108639] [] nw_connection_get_connected_socket 23 Connection has no connected handler
2018-06-22 10:59:24.517407+0530 SvitleRadio[1744:1108639] TCP Conn 0x1c016d2c0 Failed : error 0:61 [61]
2018-06-22 10:59:24.824088+0530 SvitleRadio[1744:1108321] [] nw_connection_get_connected_socket 24 Connection has no connected handler
2018-06-22 10:59:24.824378+0530 SvitleRadio[1744:1108321] TCP Conn 0x1c016cb40 Failed : error 0:61 [61]
2018-06-22 10:59:26.533932+0530 SvitleRadio[1744:1108639] [] nw_connection_get_connected_socket 25 Connection has no connected handler
2018-06-22 10:59:26.534140+0530 SvitleRadio[1744:1108639] TCP Conn 0x1c016d380 Failed : error 0:61 [61]
2018-06-22 10:59:26.896200+0530 SvitleRadio[1744:1108323] [] nw_connection_get_connected_socket 26 Connection has no connected handler
2018-06-22 10:59:26.896304+0530 SvitleRadio[1744:1108323] TCP Conn 0x1c016cfc0 Failed : error 0:61 [61]
2018-06-22 10:59:28.549137+0530 SvitleRadio[1744:1108323] [] nw_connection_get_connected_socket 27 Connection has no connected handler
2018-06-22 10:59:28.549243+0530 SvitleRadio[1744:1108323] TCP Conn 0x1c016d440 Failed : error 0:61 [61]
2018-06-22 10:59:29.078037+0530 SvitleRadio[1744:1108323] [] nw_connection_get_connected_socket 28 Connection has no connected handler
2018-06-22 10:59:29.078226+0530 SvitleRadio[1744:1108323] TCP Conn 0x1c016cc00 Failed : error 0:61 [61]

Radio wont play at all

So I'm going thought the code and was able to run the app on my emulator but it's giving me issues like actually playing the radio or showing more info on the other screens its like I have a minified version of the app

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.