First release

This commit is contained in:
Kevin Puertas
2017-12-02 21:54:50 +01:00
parent a23cfb93fd
commit 205a238d5c
5 changed files with 13 additions and 5 deletions

View File

@@ -12,12 +12,13 @@ android {
targetSdkVersion 26
// Sube automáticamente la build en cada compilacion
def versionPropsFile = file('versioncode.count')
Properties versionProps = new Properties()
def Properties versionProps = new Properties()
versionProps.load(new FileInputStream(versionPropsFile))
def code = versionProps['VERSION_CODE'].toInteger() + 1
versionProps['VERSION_CODE'] = code.toString()
versionProps.store(versionPropsFile.newWriter(), null)
// Fin de subir automáticamente la build en cada compilación
versionCode code
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

View File

@@ -1 +0,0 @@
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":-1},"path":"app-release.apk","properties":{"packageId":"com.jkanetwork.st.com.jkanetwork.st.frasesdeanime","split":"","minSdkVersion":"17"}}]

View File

@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.jkanetwork.st.com.jkanetwork.st.frasesdeanime", appContext.getPackageName());
assertEquals("com.jkanetwork.st.frasesdeanime", appContext.getPackageName());
}
}

View File

@@ -262,6 +262,14 @@ class SQLiteHelper(ctx: Context) : ManagedSQLiteOpenHelper(ctx, "otaku.sqlite",
}
/** It returns to program that this sentence can't be seen */
fun getSentenceCanBeSeen(year: Int,month: Int, day: Int): Boolean {
//TODO, return 0 when if check this sentence will be "nothing", for disable button
return true;
}
}
// Access property for Context

View File

@@ -1,2 +1,2 @@
#Sat Dec 02 21:22:52 CET 2017
VERSION_CODE=830
#Sat Dec 02 21:47:22 CET 2017
VERSION_CODE=842