Skip to content

Commit

Permalink
- showcase ease of reverse engineering simple string key and secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Oct 6, 2020
1 parent b0508be commit e2c9a9d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
@@ -1,10 +1,17 @@
package com.mikepenz.credsshowcase

import android.app.Application
import com.mikepenz.credsshowcase.helper.FunSdk

class CustomApplication : Application() {

override fun onCreate() {
super.onCreate()

// source
FunSdk.init("amazing-key", "super-secure-secret")

// resources
FunSdk.init(getString(R.string.key), getString(R.string.secret))
}
}
3 changes: 3 additions & 0 deletions app/src/main/res/values/strings.xml
Expand Up @@ -9,4 +9,7 @@

<string name="hello_first_fragment">Hello first fragment</string>
<string name="hello_second_fragment">Hello second fragment. Arg: %1$s</string>

<string name="key">amazing-key</string>
<string name="secret">super-secure-secret</string>
</resources>

0 comments on commit e2c9a9d

Please sign in to comment.