• Stars
    star
    253
  • Rank 160,776 (Top 4 %)
  • Language
    Dart
  • License
    Apache License 2.0
  • Created about 3 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Demo developed based on flutter open IM SDK.

image

Can be used for free, must be added on the app startup page (powered by OpenIM)

OpenIM

A OpenIM flutter demo, only support android and ios.

image

Official demo use

1. Download the experience app

Android

2. Replace the server address with the server address built by yourself, and the default address is the official server address

image

source code usage

  1. git clone https://github.com/OpenIMSDK/Open-IM-Flutter-Demo.git
  2. modify the server address in the config.dart file to the server address built by yourself
  3. flutter pub get
  4. flutter run

The sdk used by the new version UI is the main branch, flutter version 3.7.7

Please replace the sdk dependency with git dependency
  flutter_openim_sdk:
    git:
        url: https: //github.com/OpenIMSDK/Open-IM-SDK-Flutter.git

other

The im library link used by the demo: flutter_openim_sdk

Issues

1. Does it support multiple languages?

A: Support, follow the system language by default

2. What is the flutter version corresponding to the demo?

A: stable branch 3.7.12

3. Which platforms are supported?

A: The demo currently supports android and ios.

4. The debug of the android installation package can run, but the release starts with a white screen?

A: The release package of flutter is obfuscated by default. You can use the command: flutter build release --no -shrink. If this command is invalid, you can do the following

Add the following configuration to the release configuration configured in android/app/build.gradle

release {
    minifyEnabled false
    useProguard false
    shrinkResources false
}
5. What should I do if the code must be confused?

A: Add the following rules to the obfuscation rules

-keep class io.openim.**{*;}
-keep class open_im_sdk.**{*;}
-keep class open_im_sdk_callback.**{*;}
6. The android installation package cannot be installed on the emulator?

A: Because the Demo has removed some cpu architectures, if you want to run it on the emulator, please do the following:

Add in android/build.gradle configuration

ndk {
    abiFilters "arm64-v8a", "armeabi-v7a", "armeabi", "x86", "x86_64"
}
7, ios build release package error

A: Please set the CPU architecture to arm64, and then operate as follows

  • flutter clean
  • flutter pub get
  • cd ios
  • pod install
  • Run Archive after connecting to the real device

ios cpu

8. What is the minimum version number for ios to run?

A: 13.0

9. Some developers encountered the following problems:

Could not build the precompiled application for the device.
Error (Xcode): Signing for "TOCropViewController-TOCropViewControllerBundle" requires a development team. Select a development team
in the Signing & Capabilities editor.

Error (Xcode): Signing for "DKImagePickerController-DKImagePickerController" requires a development team. Select a development team
in the Signing & Capabilities editor.

Error (Xcode): Signing for "DKPhotoGallery-DKPhotoGallery" requires a development team. Select a development team in the Signing &
Capabilities editor.

Add the following code to Podfile:

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
        config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
        config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"      end
   end
end

More Repositories

1

open-im-server

IM Chat
Go
12,719
star
2

openim-sdk-core

Instant Messaging
Go
352
star
3

open-im-sdk-flutter

IM SDK Flutter
Dart
338
star
4

open-im-sdk-android

IM Android
Java
212
star
5

openim-electron-demo

Instant Messaging web desktop
TypeScript
155
star
6

open-im-sdk-ios

An OpenIM SDK in Objective-C for iOS
Objective-C
148
star
7

open-im-uniapp-demo

IM
Vue
143
star
8

openkf

AI ChatGPT| Supports chatgpt and llm large language models. OpenKF is an online customer service system that improves communication for enterprises and open-source communities with customizable features.
Go
140
star
9

open-im-sdk-web

IM web jssdk
TypeScript
103
star
10

open-im-android-demo

IM Android
Java
73
star
11

open-im-sdk-uniapp

即时通讯IM uniapp
Objective-C
63
star
12

chat

A business server that includes user registration and login, deployed together with Open-IM-Server, can be used to set up a chat product.
Go
51
star
13

openim-docs

OpenIM system documentation
Shell
44
star
14

open-im-ios-demo

Demo developed based on OpenIMSDK.
Swift
42
star
15

open-im-sdk-reactnative

IM ReactNative
Objective-C
38
star
16

open-im-sdk-web-wasm

JS SDK for OpenIM Web use by Webassembly of go
TypeScript
34
star
17

openim-docker

openim-docker configuration for deploying OpenIM. Provides a build solution for a stable distribution, as well as a docker compose deployment strategy
Shell
24
star
18

openmeeting-server

An open-source video conferencing solution, and alternative to Zoom
Go
22
star
19

tools

Go
17
star
20

ChatGPT

ChatGPT integrated IM
Python
15
star
21

cpp_go

Call Go function from C/C++ function
Go
15
star
22

community

Community Management for OpenIM
Shell
14
star
23

openim-h5-demo

TypeScript
13
star
24

protocol

Go
11
star
25

helm-charts

helm charts repository for openim
Smarty
11
star
26

Open-IM-Demo-Register

Go
10
star
27

Open-IM-h5-Demo

Vue
10
star
28

openim-charts

OpenIM-Charts: Kubernetes-ready Helm charts for deploying OpenIM, an open-source instant messaging system. Simplify deployment and management of scalable and secure IM infrastructure on Kubernetes.
Smarty
8
star
29

docs

OpenIM documentation v3
MDX
7
star
30

open-im-server-k8s-deploy

Open-IM-Server-k8s-deploy
Shell
6
star
31

gomake

gomake is a cross-platform compilation tool built on Mage, specifically designed for Go language projects. It offers comprehensive support for various operating systems and CPU architectures, covering the entire workflow from compilation to launching, monitoring, and stopping services.
Go
6
star
32

openim-sdk-core-ios

Objective-C
5
star
33

openim-sdk-cpp

IM SDK C/C++
C++
4
star
34

openim-reactnative-demo

TypeScript
4
star
35

openim-miniprogram-demo

JavaScript
3
star
36

openim-sdk-electron

TypeScript
2
star
37

sdk_advanced_function

This is sdk_advanced_function for vip
Go
2
star
38

k8s-jenkins

Makefile
2
star
39

.github

OpenIMSDK aim to be the top open source community
2
star
40

open-im-sdk-core-Indexdb-doc

Document description of the indexDB interface used by the openIM client
2
star
41

openKeeper

openIM zookeeper
Go
1
star
42

open_utils

Go
1
star
43

automation

OpenIM Automation, cicd, and actions, Robotics.
1
star
44

OpenMetaOffice-iOS

1
star
45

open-im-sdk-dotnet

C#
1
star
46

OpenMetaOffice-Flutter

Business authorization required
Dart
1
star
47

openim-msggateway-proxy

Go
1
star