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 ?
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 ?