Skip to content
New issue

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

[BUG] define error PlatformId #864

Open
bigman798 opened this issue Feb 22, 2025 · 0 comments
Open

[BUG] define error PlatformId #864

bigman798 opened this issue Feb 22, 2025 · 0 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@bigman798
Copy link

OpenIM SDK Version

3.8.3

OpenIM Server Version

3.8.3

SDK Platform

iOS SDK

Device Model

iPhone 15

Operating System Version

iOS 16

Bug Description and Steps to Reproduce

Apple 应用程序,目前现有的都是 手机和pad 使用同一个系统,软件也是同一个。
所以下面的 PlatformId_ipad PlatformId = 9 这个是多余的没有什么用,
网页 PlatformId_web PlatformId = 5,PlatformId_mini_web PlatformId = 6 这些也是不对的,都是网页的,
网页现在都是兼容的,不管在任何设备上只有是 以 index.html 为基加载的都贵属于网页。手机端和电脑端网页都是一样的。别说手机端和电脑端需要两套代码。

该缩减的缩减。没有必要的,啰里八嗦。没有啥用
const ( PlatformId_none PlatformId = 0 PlatformId_ios PlatformId = 1 PlatformId_android PlatformId = 2 PlatformId_windows PlatformId = 3 PlatformId_xos PlatformId = 4 PlatformId_web PlatformId = 5 PlatformId_mini_web PlatformId = 6 PlatformId_linux PlatformId = 7 PlatformId_android_pad PlatformId = 8 PlatformId_ipad PlatformId = 9 )

Screenshots Link

No response

@bigman798 bigman798 added the bug Categorizes issue or PR as related to a bug. label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant