Comments (9)
用一份代码这样是否合理?因为用户习惯多有不同。例如iOS上习惯左滑删除安卓习惯长按弹出编辑删除
from miot-plugin-sdk.
新项目统一包名即可,不需要区分ios或android
from miot-plugin-sdk.
那已经上线的版本,做迭代怎么办?
from miot-plugin-sdk.
有安卓和ios版本的
from miot-plugin-sdk.
ios版本在2018年底前会上线新框架,因此ios版本将强制升级到新版,安卓原生的插件在不发布RN版本的情况下还可以继续使用,如有RN版本将运行与ios同样的代码。
from miot-plugin-sdk.
ios版本在2018年底前会上线新框架,因此ios版本将强制升级到新版,安卓原生的插件在不发布RN版本的情况下还可以继续使用,如有RN版本将运行与ios同样的代码。
您的意思是可以不用管旧插件的包名,只需要在新插件系统中统一包名,后期升级会自动适配对吗?
from miot-plugin-sdk.
ios版本在2018年底前会上线新框架,因此ios版本将强制升级到新版,安卓原生的插件在不发布RN版本的情况下还可以继续使用,如有RN版本将运行与ios同样的代码。
因为就插件已经对应两个不同的包名,如果要适配新系统,创建插件时需要填包名,应该用之前IOS包名还是Android的?
from miot-plugin-sdk.
以前的 android 包名是 java 的,如果继续使用 java 开发不用考虑统一问题。 如果android ios要使用一份 rn 代码要使用 ios 的包名
from miot-plugin-sdk.
@handby 你提出的这点很好,我们在新框架中也考虑到了这点,对于平台差异性很大的地方(比如你说的手势交互),可以在代码里面通过判断平台进行区分,至于其他地方可以使用统一的UI和代码逻辑。
from miot-plugin-sdk.
Related Issues (20)
- 新版NavigationBar报错 HOT 1
- 新版NavigationBar报错 HOT 1
- iOS 客户端下,网关在添加子设备的时候,切换到后台,添加成功后,回到App,添加成功的设备显示错误 HOT 1
- react-native-svg 无法使用 HOT 1
- 请帮忙集成一个修复安卓Surface的bug HOT 1
- npm start运行出现如下错误 HOT 1
- Switch组件动画效果 HOT 1
- 通用组件UI无法显示图片 HOT 1
- 提示请升级到最新版本 HOT 1
- Android :希望开放 BluetoothGatt.requestMtu的接口,调整写蓝牙数据的字节长度 HOT 1
- 个别账号分享设备给另一端,另一端共享的设备,查看设置中无删除按钮 HOT 1
- miot map
- xiaomi.demo 运行报错Failed to construct transformer: Error: Cannot find module 'metro/src/DeltaBundler/Worker' HOT 4
- 插件获取定时列表
- error:TypeError: _miot.DeviceEvent.deviceReceivedMessages.addListener(...).catch is not a function
- 在向蓝牙特征值写数据时返回‘REQUEST_FAILED’错误
- mac install_mihome_dev.sh 安装脚本执行出错
- CommonSetting能否添加点击回调
- 插件开发没有社区吗,问个问题都没有
- SlideGear 是否支持竖向显示
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miot-plugin-sdk.