We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
现在是根据versionName来检测版本,比较字符串,不等则提示更新
bug: fir.im上是1.1,机器上是1.2(比线上新),因为字符串不相同,判断的结果是有新版本,也会提示下载更新
建议根据versionCode来检测,本身是int数字,可以通过比大小来判断新版本,fir.im的api返回的build字段就是versionCode
The text was updated successfully, but these errors were encountered:
No branches or pull requests
现在是根据versionName来检测版本,比较字符串,不等则提示更新
bug: fir.im上是1.1,机器上是1.2(比线上新),因为字符串不相同,判断的结果是有新版本,也会提示下载更新
建议根据versionCode来检测,本身是int数字,可以通过比大小来判断新版本,fir.im的api返回的build字段就是versionCode
The text was updated successfully, but these errors were encountered: