Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
My team is going to tackle a project with iOS and Android, both using native SDK. We want to share the data and logic between them, I mean data structure and design patterns. We'are planning to use Unit Test as the way to share the logic.
Is that a good way? If you already work on the same kind of problem, please share the lesson :). Thank you very much.

What I have tried:

We'are planning to use Unit Test as the way to share the logic.
Posted
Updated 29-Aug-18 3:44am

1 solution

Ionic Framework is one of the best solution to design and develop cross platform native apps for Android and iOS etc. You can use google cloud functions to share the same functions in various apps.
 
Share this answer
 
Comments
vietstone-ng 30-Aug-18 0:03am    
We really want to base on native SDK, and do not use cross-platform. I think the data structure and logic can be shared, although need to rework. But the code is still different because of the platform. I'm looking for a way to reduce this difference. Later the 2 teams can support each other easily.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900