GithubHelp home page GithubHelp logo

openimsdk / open-im-ios-demo Goto Github PK

View Code? Open in Web Editor NEW
47.0 47.0 50.0 34.45 MB

Demo developed based on OpenIMSDK.

Home Page: https://openim.io

License: Apache License 2.0

Swift 98.92% Ruby 0.75% C 0.01% Objective-C 0.32%
chat chat-application ios messaging telegram whatsapp

open-im-ios-demo's People

Contributors

frcc00 avatar skiffer-git avatar std-s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

open-im-ios-demo's Issues

It's throwing an error when running.

pod install 之后 运行

Showing All Messages
Unable to load contents of file list: '/Target Support Files/Pods-EEChat/Pods-EEChat-frameworks-Debug-input-files.xcfilelist'

Showing All Messages
Unable to load contents of file list: '/Target Support Files/Pods-EEChat/Pods-EEChat-frameworks-Debug-output-files.xcfilelist'

Bug: pod install error

What happened?

I follow readme doc step.

Git Clone:
https://github.com/OpenIMSDK/Open-IM-iOS-Demo.git
Execute the following command on the terminal to install the dependent library.

cd Open-IM-iOS-Demo/Example
pod install

$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "InputBarAccessoryView":
In snapshot (Podfile.lock):
InputBarAccessoryView (= 5.5.0)

In Podfile:
OUIIM (from ../) was resolved to 0.0.1, which depends on
InputBarAccessoryView (= 5.0.0)

What did you expect to happen?

it's has something wrong for InputBarAccessoryView version.

How can we reproduce it (as minimally and precisely as possible)?

git clone https://github.com/OpenIMSDK/Open-IM-iOS-Demo.git

Anything else we need to know?

cd Open-IM-iOS-Demo/Example
pod install

version

$ pod --version
1.14.3

Cloud provider

no

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

Bug: <describe the error>

What happened?

After starting the application for the first time and logging in, restarting the xcode application will cause a crash.
截屏2023-09-14 15 26 22

What did you expect to happen?

I'm wondering what might be causing this, is there something missing in my code? I am using OpenimSDK(v3.2.0)

How can we reproduce it (as minimally and precisely as possible)?

I'm wondering what might be causing this, is there something missing in my code? I am using OpenimSDK(v3.2.0)

Anything else we need to know?

I'm wondering what might be causing this, is there something missing in my code? I am using OpenimSDK(v3.2.0)

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

Ipone 15 plus has no message notification

[RFC #0000] OpenIMSDK proposal template

Meta

  • Name: (fill in the feature name: My Feature)
  • Start Date: (fill in today's date: YYYY-MM-DD)
  • Author(s): (Github usernames)
  • Status: Draft
  • RFC Pull Request: (leave blank)
  • OpenIMSDK Pull Request: (leave blank)
  • OpenIMSDK Issue: (leave blank)
  • Supersedes: (put "N/A" unless this replaces an existing RFC, then link to that RFC)

📇Topics

Summary

One paragraph explanation of the feature.

Definitions

Make a list of the definitions that may be useful for those reviewing. Include phrases and words that OpenIMSDK authors or other interested parties may not be familiar with.

Motivation

  • Why should we do this?
  • What use cases does it support?
  • What is the expected outcome?

What it is

This provides a high level overview of the feature.

  • Define any new terminology.
  • Define the target persona: OpenIMSDK author, OpenIMSDK user, platform operator, platform implementor, and/or project contributor.
  • Explaining the feature largely in terms of examples.
  • If applicable, provide sample error messages, deprecation warnings, or migration guidance.
  • If applicable, describe the differences between teaching this to existing users and new users.

How it Works

This is the technical portion of the RFC, where you explain the design in sufficient detail.

The section should return to the examples given in the previous section, and explain more fully how the detailed proposal makes those examples work.

Migration

This section should document breaks to public API and breaks in compatibility due to this RFC's proposed changes. In addition, it should document the proposed steps that one would need to take to work through these changes. Care should be give to include all applicable personas, such as platform developers, OpenIMSDK developers, OpenIMSDK users and consumers of OpenIMSDK images.

Drawbacks

Why should we not do this?

Alternatives

  • What other designs have been considered?
  • Why is this proposal the best?
  • What is the impact of not doing this?

Prior Art

Discuss prior art, both the good and bad.

Unresolved Questions

  • What parts of the design do you expect to be resolved before this gets merged?
  • What parts of the design do you expect to be resolved through implementation of the feature?
  • What related issues do you consider out of scope for this RFC that could be addressed in the future independently of the solution that comes out of this RFC?

Spec. Changes (OPTIONAL)

Does this RFC entail any proposed changes to the core specifications or extensions? If so, please document changes here.
Examples of a spec. change might be new lifecycle flags, new OpenIMSDK.toml fields, new fields in the OpenIMSDKage label, etc.
This section is not intended to be binding, but as discussion of an RFC unfolds, if spec changes are necessary, they should be documented here.

History

Bug: The send icon in chat cannot be operated after clicking it.

What happened?

在聊天发送图片 点开图片点后 点击返回聊天页面上半部分无法操作列如,无法返回,无法网上翻消息,但是可以发消息

What did you expect to happen?

正常应该可以操作的

How can we reproduce it (as minimally and precisely as possible)?

不清楚

Anything else we need to know?

No response

version

```console SDK最新版 ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

Bug: pod install OpenIMSDK(3.5.0-rc1) Failed

What happened?

I downloaded the source code from github and tried to install all the dependencies, but unfortunately, it kept prompting me that I could not download OpenIMSDK

[!] The version of CocoaPods used to generate the lockfile (1.14.3) is higher than the version of the current executable (1.11.2). Incompatibility issues may arise.
Downloading dependencies
Installing Alamofire (4.9.1)
Installing ChatLayout (2.0.3)
Installing DifferenceKit (1.3.0)
Installing Differentiator (5.0.0)
Installing IQKeyboardManagerSwift (6.5.16)
Installing InputBarAccessoryView (5.5.0)
Installing JXSegmentedView (1.3.0)
Installing Kingfisher (7.7.0)
Installing Lantern (1.1.5)
Installing Localize-Swift (3.2.0)
Installing MJExtension (3.4.1)
Installing MJRefresh (3.7.6)
Installing MMBAlertsPickers (1.1.93)
Installing OUICore (0.0.1)
Installing OUICoreView (0.0.1)
Installing OUIIM (0.0.1)
Installing OpenIMSDK (3.5.0-rc1)

[!] Error installing OpenIMSDK
[!] /usr/bin/git clone https://github.com/OpenIMSDK/Open-IM-SDK-iOS.git /var/folders/gw/2v9hxfyn7d194y_ws_mghjx80000gn/T/d20240321-41592-b6ymvy --template= --single-branch --depth 1 --branch 3.5.0-rc1

Cloning into '/var/folders/gw/2v9hxfyn7d194y_ws_mghjx80000gn/T/d20240321-41592-b6ymvy'...
error: 5740 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

What did you expect to happen?

When I modify the OpenIMSDK version number to 3.0.0, it can be downloaded successfully.

How can we reproduce it (as minimally and precisely as possible)?

can you retry it

Anything else we need to know?

No response

version

``` OUICore (0.0.1) OUICoreView (0.0.1) OUIIM (0.0.1) OpenIMSDK (3.5.0-rc1) ```

Cloud provider

none

OS version

```console mac version: 14.3.1 (23D60) xcode version: 15.3 ```

Install tools

The simulator keeps showing this problem, and I can't run my project on the simulator; it just freezes

Warning: Error creating LLDB target at path '/Users/ray/Library/Developer/Xcode/DerivedData/OpenIMSDKUIKit-dblwgzevguaectgkuvdijjwmqhwd/Build/Products/Debug-iphonesimulator/OpenIMSDKUIKit_Example.app'- using an empty LLDB target which can cause slow memory reads from remote devices: the specified architecture 'arm64--' is not compatible with 'x86_64-apple-ios11.0.0-simulator' in '/Users/ray/Library/Developer/Xcode/DerivedData/OpenIMSDKUIKit-dblwgzevguaectgkuvdijjwmqhwd/Build/Products/Debug-iphonesimulator/OpenIMSDKUIKit_Example.app/OpenIMSDKUIKit_Example'

Bug: <所有Subject 如果在onConnectSuccess之前订阅,不会连接后无法获取最新状态>

What happened?

BehaviorSubject 如果在onConnectSuccess之前订阅,不会连接后无法获取最新状态
毕竟用的IMController, 基础所有的状态和通知都用的BehaviorSubject
比如我在tabbar订阅了totalUnreadSubject理论应该直接可以拿到最新的值
现在在需要
1.IMController.shared.getTotalUnreadMsgCount
2.IMController.shared.totalUnreadSubject

What did you expect to happen?

并且在每次重练后也要做这2件事情
建议,totalUnreadSubject 默认获取并推送最新值

How can we reproduce it (as minimally and precisely as possible)?

并且在每次重练后也要做这2件事情
建议,totalUnreadSubject 默认获取并推送最新值

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

Cloud provider

OS version

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here # On Windows: C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture # paste output here ```

Install tools

[Other]: <give this problem a name>

What would you like to share?

注册时,接口报错
输入参数:{"areaCode":"+86","platform":1,"usedFor":3,"phoneNumber":"18228641425"}
Printing description of errMsg:
▿ Optional

  • some : "ServerInternalError"

Additional information

注册时,接口报错
输入参数:{"areaCode":"+86","platform":1,"usedFor":3,"phoneNumber":"18228641425"}
Printing description of errMsg:
▿ Optional

  • some : "ServerInternalError"

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.