Skip to content

尝试注册推送,出现null #38

Description

@iurni

Describe the bug/
A clear and concise description of what the bug is.(解释一下出了什么问题)

尝试注册推送,null

To Reproduce
Steps to reproduce the behavior:(如何复现错误,也就是您的操作步骤)

  1. 下载软件,授权root
  2. 无脑下一步,给所需的权限
  3. 打开app看到null

Expected behavior
A clear and concise description of what you expected to happen.(您希望发生什么)
成功注册,并推送消息

Screenshots(截图)
If applicable, add screenshots to help explain your problem.
Screenshot_20240428-084721.png

Logs (日志)
Logs are very important, this can help us solve the problem.
Please upload your log file and paste the address here:(请上传您的日志文件,在这里粘贴地址:)
我应该怎么提交??
ROM and version(manager): (你的 ROM 和 manager 的版本)

  • Name: piexlos
  • Android Version: 14
  • Version 14

Additional context
Add any other context about the problem here.(更多关于问题的内容写在这里)

Activity

  1. zhouhaixian commented on Oct 2, 2024

    @zhouhaixian

    我也一样,日志如下
    logs-2024-44-02-16-44-13.zip

    错误信息是"no account",mipush文档中是这么写的

    4. 为什么我的设备在调用registerPush的时候会出现no account的错误?
    在app第一次在一台设备上注册推送服务时,sdk会通过https请求,从小米推送服务器生成一个匿名账号。这个错误是由于这个请求失败导致的。一般请求失败常见的原因包括如下几种:
    
    1) 系统时间错误。时间错误会导致https在校验证书有效期的时候,出现证书过期,导致https请求失败。
    
    2) 网络原因。这个大部分的原因都是设备架了代理服务器或连了vpn,如果排除这些原因,就检查一下app是否申请了联网权限,是否被什么安全软件阻止了登录,公司wifi是否能用,等等。
    
    3) 如果是在MIUI系统上,生成匿名账号是在一个叫小米服务框架的系统app上完成的,还需要检查这个app的联网是不是在安全中心的联网控制中被手动关闭了。
    

    衷心盼望项目 Owner 的回应👀

  2. 114514nna commented on Apr 13, 2025

    @114514nna

    尝试安装一下lsp(记得隐藏一下),然后安装一下MiPUSH模块(Xposed/LSPosed)(Release里面的)和伪装机型模块(Magisk模块,我这里选的是一个伪装成米13U的),打开LSPosed,启用模块并勾上推荐的软件,最后重启看下行不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions