1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-11 16:32:53 +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
+3 -7
View File
@@ -11,6 +11,9 @@ cache:
jdk:
- oraclejdk8
before_install:
- yes | sdkmanager "platforms;android-27"
android:
components:
- tools
@@ -23,10 +26,3 @@ android:
- 'google-gdk-license-.+'
- 'android-sdk-preview-license-.+'
- 'android-.*'
before_install:
- wget https://dl.google.com/android/repository/android-ndk-r16-linux-x86_64.zip > /dev/null
- mkdir -p /usr/local/android-sdk/ndk-bundle
- unzip android-ndk-r16-linux-x86_64.zip -d /usr/local/android-sdk/ndk-bundle > /dev/null
- export ANDROID_NDK_HOME="/usr/local/android-sdk/ndk-bundle/android-ndk-r16"
- rm -Rf "${ANDROID_HOME}/cmake"