Re:The Cost of Native Mobile App Development Is Too Damn High
by rorykoehler on Friday January 06, 2017 @08:17AM
(#13335993)
Just about to implement react native app with network polling. Do you have any links/tips to share re best practices?
[ Parent
| on HN ]
Re:The Cost of Native Mobile App Development Is Too Damn High
by htormey on Friday January 06, 2017 @11:55AM
(#13337845)
If you are just doing polling when your app is in the foreground, you should not have to write any native code. All of the polling can be handled in your actions.
If you need to poll in the background when the phones screen is locked, then you will need to write native code. Writing native code to do this isn't that hard (react native docs are good), it's just annoying that you will have duplicate business logic for Android/iOS.