Skip to content

liu1912009189/Hyphenate-SDK-Android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

sdk_release_android


Install SDK

Add the repositories url to your project-level build.gradle:

repositories {
    maven { url "https://raw.githubusercontent.com/HyphenateInc/Hyphenate-SDK-Android/master/repository" }
}

Add the following code to your module-level build.gradle:

android {
	//use legacy for android 6.0
	useLibrary 'org.apache.http.legacy'
}
dependencies {
	compile fileTree(dir: 'libs', include: '*.jar')
	compile 'com.google.android.gms:play-services-gcm:9.4.0'
	compile 'com.hyphenate:hyphenate-sdk:3.2.1'
}

If you want use the sdk without voice/video calling, use compile 'com.hyphenate:hyphenate-sdk-lite:3.2.1'.

Demo source code

Demo github link: https://github.com/HyphenateInc/IMDemo_android

Demo is dependent on EaseUI library project, EaseUI github link:https://github.com/HyphenateInc/easeui_android

Remeber put the two projects in the same directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published