Code Monkey home page Code Monkey logo

Comments (6)

jiang111 avatar jiang111 commented on May 25, 2024 1

一般通过hook自己的方法然后做操作基本都是用于热修复,肯定不合适。热更新可以倒是可以,但是太麻烦了。你要想简洁一点,我觉得最好的方法就是打包不同的推送版本到不同的应用市场,来区分小米,华为,魅族

from androidpush.

wangyuan0217 avatar wangyuan0217 commented on May 25, 2024

楼上说的分别打 小米/魅族/华为/其它 的包分别上传市场 是有点麻烦, 如果同时集成的话 那后台需要怎么配合呢?

from androidpush.

jiang111 avatar jiang111 commented on May 25, 2024

通过RomUtils.rom() 获取到当前rom平台,然后告诉服务器,让服务器根据不同的集成平台来做相关的操作

from androidpush.

wangyuan0217 avatar wangyuan0217 commented on May 25, 2024

那当前用户的rom平台 是不是就要和uid 一块绑定到数据库中了 或是有没有其他方案

from androidpush.

jiang111 avatar jiang111 commented on May 25, 2024

是的啊,然后让后端通过平台的类型来推送

from androidpush.

wangyuan0217 avatar wangyuan0217 commented on May 25, 2024

嗯 多谢

from androidpush.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.