Skip to content

Cross platform code maintenance in a native script project #8601

@kamath-prasad

Description

@kamath-prasad

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 :

  1. Does the native-script development team also face similar issues when you work on any new feature or fix a bug ?

  2. 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.

  3. Are there any best practices that you recommend for better code maintenance in a cross platform mobile app development project ?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions