From d3ba77fbfd9c233653e066d131606366cfd70eab Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Thu, 16 May 2019 19:07:23 +0400 Subject: [PATCH] Fixed issues with starting Pastry node on Android. Added Notification about new chat --- app/build.gradle | 5 +++ app/libs/FreePastry-2.1.jar | Bin 2893941 -> 2893791 bytes .../android-jxpath-1.0-Alpha3-SNAPSHOT.jar | Bin 0 -> 303476 bytes app/libs/openbeans-1.0.jar | Bin 0 -> 221958 bytes app/libs/sbbi-upnplib-1.0.4.jar | Bin 0 -> 162003 bytes .../influence/helpers/NetworkHandler.java | 41 ++++++++++++++++++ .../influence/helpers/P2PUtils.java | 14 ++++++ .../chronosx88/influence/logic/MainLogic.java | 35 ++++++++------- .../notifications/NewChatNotification.java | 36 +++++++++++++++ 9 files changed, 113 insertions(+), 18 deletions(-) create mode 100644 app/libs/android-jxpath-1.0-Alpha3-SNAPSHOT.jar create mode 100644 app/libs/openbeans-1.0.jar create mode 100644 app/libs/sbbi-upnplib-1.0.4.jar create mode 100644 app/src/main/java/io/github/chronosx88/influence/models/notifications/NewChatNotification.java diff --git a/app/build.gradle b/app/build.gradle index 9e4d154..68be1b8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -58,6 +58,11 @@ dependencies { implementation 'com.esotericsoftware:kryo:5.0.0-RC1' implementation 'com.github.instacart.truetime-android:library:3.4' + + implementation 'jdom:jdom:1.1' + implementation 'commons-beanutils:commons-beanutils:1.8.3' + implementation 'org.apache.tomcat:servlet-api:6.0.35' + //implementation group: 'org.eclipse.jetty.orbit', name: 'javax.servlet.jsp', version: '2.2.0.v201112011158' } repositories { mavenCentral() diff --git a/app/libs/FreePastry-2.1.jar b/app/libs/FreePastry-2.1.jar index 226a779c78ad5ce1f6b764eeac3b482c060aeaee..c53a698c146785f57870fecb273ea165145128ea 100644 GIT binary patch delta 30048 zcmZ5p2{=_<7v@~^c+IYP4ELCdiYQWK9zr4+DkUkpxjYNZx6w+Lu z6pb3usQF*#Zf>`~=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