当你想在iOS和android之间共享逻辑时,你做了什么? [英] What did you do when you want to share logic between iOS and android?

查看:84
本文介绍了当你想在iOS和android之间共享逻辑时,你做了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我的团队将使用原生SDK处理iOS和Android项目。我们希望在它们之间共享数据和逻辑,我的意思是数据结构和设计模式。我们计划使用单元测试作为分享逻辑的方式。

这是一个好方法吗?如果您已经处理过同样的问题,请分享课程:)。非常感谢。



我的尝试:



我们'计划使用Unit Test作为共享逻辑的方式。

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.

推荐答案

Ionic Framework是为Android设计和开发跨平台原生应用程序的最佳解决方案之一您可以使用 google cloud 功能在各种应用中共享相同的功能。
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.


这篇关于当你想在iOS和android之间共享逻辑时,你做了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆