We work on a cross platform mobile app development framework and face a lot of issues with code duplication across multiple file formats. Our framework is built on top of the NativeScript framework and hence we have code written in TypeScript,Java(Android) and Swift/ObjectiveC (iOS). What we observe is that in order to support cross platform support any feature , sometimes the same code ( not exactly duplicate since its written in different languages) i.e code containing same logic is written across all these 3 layers. This introduces a lot of maintenance overhead and leads to lot of regression issues .
Hence wanted to check :
Does the native-script development team also face similar issues when you work on any new feature or fix a bug ?
Does the native-script development team use any tools that identifies duplicate coding to alert the developer to find and fix/update all places ? I assume even the native-script framework development would involve coding in all 3 layers - typescript , java/kotlin , swift.
Are there any best practices that you recommend for better code maintenance in a cross platform mobile app development project ?
@kamath-prasad Hi 馃憢 - these are all great questions. Perhaps better to chat via Zoom about some of them? Let us know if a time this upcoming week works to chat about this further.
@NathanWalker - Sure , we can get on a call and discuss this.
How about 9:30 AM PT on June 9th ?
You can send the zoom details to my email id - prasad.[email protected] .
Please post the outcome of this discussion here, because I think there are a lot of developers interested in the answers to these questions.
Most helpful comment
Please post the outcome of this discussion here, because I think there are a lot of developers interested in the answers to these questions.