This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +25
-23
lines changed
securestorage2sampleapp/src/main/java/de/adorsys/android/securestorage2sampleapp Expand file tree Collapse file tree 5 files changed +25
-23
lines changed Original file line number Diff line number Diff line change @@ -33,5 +33,5 @@ android:
3333 - google-gdk-license-.+
3434script :
3535 - ./code-check.sh
36- # after_success:
37- # - ./bintray-upload.sh
36+ after_success :
37+ - ./bintray-upload.sh
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ if [ " $TRAVIS_BRANCH " == " master" ]; then
4+ echo -e " \033[0;32m Start clean module \033[0m"
5+ ./gradlew :securestorage2library:clean
6+ echo -e " Finished clean \033[0m"
7+
8+ echo -e " \033[0;32m Start install module \033[0m"
9+ ./gradlew :securestorage2library:install
10+ echo -e " \033[0;32m Finished install \033[0m"
11+
12+ echo -e " \033[0;32m Start bintrayUpload \033[0m"
13+ ./gradlew :securestorage2library:bintrayUpload
14+ echo -e " \033[0;32m Finished bintrayUpload \033[0m"
15+ else
16+ echo -e " \033[0;32m Current branch is not master, will not upload to bintray. \033[0m"
17+ fi
Original file line number Diff line number Diff line change 22
33buildscript {
44 ext. versionCode = 1
5- ext. versionName = ' 2. 0.0'
5+ ext. versionName = ' 0.0.1 '
66 ext. kotlin_version = ' 1.2.41'
77 repositories {
88 google()
Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ dependencies {
4242
4343ext {
4444 bintrayRepo = ' adorsys'
45- bintrayName = ' securestorage2library '
45+ bintrayName = ' securestorage2 '
4646
4747 publishedGroupId = ' de.adorsys.android'
48- libraryName = ' securestorage2library '
49- artifact = ' securestorage2library '
48+ libraryName = ' securestorage2 '
49+ artifact = ' securestorage2 '
5050
51- libraryDescription = ' securestorage2library '
51+ libraryDescription = ' securestorage2 '
5252
5353 siteUrl = ' https://www.adorsys.de/'
5454 gitUrl = ' https://github.com/adorsys/secure-storage2-android.git'
Original file line number Diff line number Diff line change @@ -12,21 +12,6 @@ class MainActivity : AppCompatActivity() {
1212 super .onCreate(savedInstanceState)
1313 setContentView(R .layout.activity_main)
1414
15- val startMessage = " TEST"
16-
17- Log .d(" LOGTAG1" , " " + startMessage)
18-
19- SecurePreferences .setValue(" TAG" , startMessage)
20-
21- Log .d(" LOGTAG" , " ENCRYPTED 1" )
22-
23- val try1 = SecurePreferences .getStringValue(" TAG" , " WRONG" )
24- if (try1 != null ) {
25- SecureStorage .setValue(" TAG" , try1)
26- }
27-
28- Log .d(" LOGTAG" , " ENCRYPTED 2" )
29-
30- Log .d(" LOGTAG2" , " " + SecureStorage .getStringValue(" TAG" , " WRONG" ))
15+ // TODO Implement Sample App Logic
3116 }
3217}
You can’t perform that action at this time.
0 commit comments