by shaggyfrog · 6y ago · 0 comments
I don’t see why both the iOS and the Android versions can’t be fully native, besides a desire to have a single codebase. The apps aren’t doing anything fancy, UI-wise. They are basically just integrating with the native contract tracing system framework on each platform.
Dragging in React Native and its giant web of dependencies makes the codebase harder to audit and manage from a security perspective. It’s also a product of Facebook, which is greatly concerning from a privacy point of view.
I still have this app installed on my iPhone and I keep it up to date, but I really wish it was built differently.
Considering how this issue was from a package that isn't included with React Native, this seems like a bit of a stretch.
So while this isn't really the specific fault of react native, it does seem to me to be the fault of a non-native framework that encourages developers to use higher level abstractions rather than system frameworks.
> A remote host is considered reachable when a data packet, sent by an application into the network stack, can leave the local device. Reachability does not guarantee that the data packet will actually be received by the host.
https://developer.apple.com/documentation/systemconfiguratio...
More details in this issue: https://github.com/react-native-community/react-native-netin...
* Reduces development cost
* Provides more consistency for users (simpler to document and explain)
The workflow in our UI is larger than most and we support more languages (including right-to-left language). It's just not complex so - IMHO - it's a no-brainer to build the two out in parallel.
We're also building it in the open and in English - come take a look here: https://github.com/minvws
Disclaimer: I'm working on the server.
Once we're past this it will make a very nice point for study.