1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-24 22:55:37 +00:00

Replace C++ with Cmake with GoLang gomobile

* Add ncsmsgo.arr which is the GoLang gomobile part
See: https://gitlab.com/nerzhul/ncsmsgo
* Android-NDK is not needed anymore
* Android app getVersion() now uses the Golang part
* Use the next getLastHTTPStatus() call in getVersion()
* Android app pushSms() now uses the Golang part
* JNI SmsBuffer has been replaced with GoLang aar bindings
-> This permits to remove some java code & increase performance
* Prepare a insecure switch flag to the Golang client
This commit is contained in:
Loic Blot
2018-02-08 23:19:25 +01:00
committed by Loïc Blot
parent 5317dc4fd9
commit d57810b5d8
30 changed files with 138 additions and 725 deletions
+2 -5
View File
@@ -2,6 +2,7 @@ buildscript {
repositories {
mavenCentral()
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
@@ -47,11 +48,6 @@ android {
packagingOptions {
exclude 'META-INF/LICENSE.txt'
}
externalNativeBuild {
cmake {
path 'CMakeLists.txt'
}
}
}
repositories {
@@ -69,4 +65,5 @@ dependencies {
compile 'in.srain.cube:ultra-ptr:1.0.11'
compile 'com.github.dmytrodanylyk.android-process-button:library:1.0.4'
compile 'com.android.support:support-v4:27.0.2'
implementation project(':ncsmsgo')
}