Android SignalR Client for Asp.Net Core SignalR server
https://github.com/vkusenko/SignalR-Client-Android/tree/master/app
- download this repo
- import module "aspnetsignalr" to project
- add module "aspnetsignalr" to the app dependencies
- implementation project(':aspnetsignalr')
- download *.aar file from aars directory
- copy to libs directory in your project
- put code to Top level Gradle file
allprojects {
repositories {
google()
jcenter()
// For module with aar file in it
flatDir {
dirs 'libs'
}
}
}
- add module "aspnetsignalr" to the app dependencies
- implementation(name: 'aspnetsignalr-1*', ext: 'aar')
- add module "aspnetsignalr" dependencies to the app dependencies
- implementation 'org.java-websocket:Java-WebSocket:1.3.8*'
- implementation 'com.google.code.gson:gson:2.8.5*'