Skip to content

Commit

Permalink
Make release ready
Browse files Browse the repository at this point in the history
  • Loading branch information
buoto committed May 23, 2018
1 parent aa3bb47 commit 5554979
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 8 deletions.
4 changes: 2 additions & 2 deletions android/app/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ android_library(

android_build_config(
name = "build_config",
package = "com.ceburiloapp",
package = "pl.ceburilo",
)

android_resource(
name = "res",
package = "com.ceburiloapp",
package = "pl.ceburilo",
res = "src/main/res",
)

Expand Down
15 changes: 13 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,25 @@ android {
buildToolsVersion "23.0.1"

defaultConfig {
applicationId "com.ceburiloapp"
applicationId "pl.ceburilo"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
abiFilters "armeabi-v7a", "x86"
}
}
signingConfigs {
release {
if (project.hasProperty('CEBURILO_RELEASE_STORE_FILE')) {
storeFile file(CEBURILO_RELEASE_STORE_FILE)
keyAlias CEBURILO_RELEASE_KEY_ALIAS
storePassword System.console().readLine("\nKeystore password: ")
keyPassword System.console().readLine("\nKey password: ")
}
}
}
splits {
abi {
reset()
Expand All @@ -121,6 +131,7 @@ android {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
}
}
// applicationVariants are e.g. debug, release
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ceburiloapp">
package="pl.ceburilo">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ceburiloapp;
package pl.ceburilo;

import com.facebook.react.ReactActivity;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ceburiloapp;
package pl.ceburilo;

import android.app.Application;

Expand Down
2 changes: 2 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
# org.gradle.parallel=true

android.useDeprecatedNdk=true
CEBURILO_RELEASE_STORE_FILE=ceburilo.keystore
CEBURILO_RELEASE_KEY_ALIAS=ceburilo
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CeburiloApp",
"version": "0.1.0",
"version": "0.0.0",
"private": true,
"devDependencies": {
"babel-eslint": "^8.2.3",
Expand Down

0 comments on commit 5554979

Please sign in to comment.