Skip to content

[BUG] define error PlatformId #864

@bigman798

Description

@bigman798

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 applications, currently all currently use the same system for mobile phones and pads, and the same software. So the following PlatformId_ipad PlatformId = 9 is superfluous and useless. Web page PlatformId_web PlatformId = 5, PlatformId_mini_web PlatformId = 6 These are also wrong. They are all web pages. Web pages are now compatible. No matter on any device, only those loaded based on index.html, are expensive to belong to web pages. The web pages on the mobile phone and computer are the same. Not to mention that the mobile phone and computers require two sets of codes. The reduction of this reduction. No need, just talk a little bit. No use

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions