Skip to content

Commit

Permalink
PROT-966: Disable Obfuscation (#1)
Browse files Browse the repository at this point in the history
- Disable obfuscation on SDK to allow methods to be visible, enable for demo apps
- Bumped version number
  • Loading branch information
Trish Huynh committed Jun 5, 2021
1 parent 619cc03 commit 0e29a5b
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 6 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,14 @@ requirements.
To install the library add the following dependency to the `build.gradle` file of your module:

```gradle
implementation("com.onelogin:onelogin-mfa-android-sdk:1.0.0")
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
```

```gradle
implementation("com.onelogin:onelogin-mfa-android-sdk:1.0.2")
```

## Configuration
Expand Down
2 changes: 1 addition & 1 deletion appjava/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ android {

buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand Down
2 changes: 1 addition & 1 deletion appkotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {

buildTypes {
release {
minifyEnabled false
minifyEnabled true
debuggable true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ buildscript {
google()
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.3"
Expand Down
3 changes: 2 additions & 1 deletion oneloginmfa/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/build
/.idea
4 changes: 2 additions & 2 deletions oneloginmfa/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ android {
minSdkVersion 21
targetSdkVersion 30
versionCode 1
versionName "1.0.0"
versionName "1.0.2"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}

buildTypes {
release {
minifyEnabled true
minifyEnabled false
buildConfigField("long", "VERSION_CODE", "${defaultConfig.versionCode}")
buildConfigField("String","VERSION_NAME","\"${defaultConfig.versionName}\"")
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
Expand Down

0 comments on commit 0e29a5b

Please sign in to comment.