Comments (6)
一般通过hook自己的方法然后做操作基本都是用于热修复,肯定不合适。热更新可以倒是可以,但是太麻烦了。你要想简洁一点,我觉得最好的方法就是打包不同的推送版本到不同的应用市场,来区分小米,华为,魅族
from androidpush.
楼上说的分别打 小米/魅族/华为/其它 的包分别上传市场 是有点麻烦, 如果同时集成的话 那后台需要怎么配合呢?
from androidpush.
通过RomUtils.rom() 获取到当前rom平台,然后告诉服务器,让服务器根据不同的集成平台来做相关的操作
from androidpush.
那当前用户的rom平台 是不是就要和uid 一块绑定到数据库中了 或是有没有其他方案
from androidpush.
是的啊,然后让后端通过平台的类型来推送
from androidpush.
嗯 多谢
from androidpush.
Related Issues (5)
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 androidpush.