scottyab / secure-preferences

Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure.
1.53k stars 235 forks source link

Put v0.1.0 on maven central #13

Closed 0xjohnnycagewins closed 9 years ago

0xjohnnycagewins commented 9 years ago

Only 0.0.4 is available with gradle

scottyab commented 9 years ago

Yes, you're right, published this morning and also tagged and uploaded aar to github releases. Will close this once changes are propagated to all servers.

0xjohnnycagewins commented 9 years ago

it's available on maven central now. You can update your doc in confidence and then you're good to close this issue!

jitpack-io commented 9 years ago

Btw, guys, it's also very easy to get the latest GitHub release with JitPack.io. No need to upload anything. Here's v0.1.0: https://jitpack.io/#scottyab/secure-preferences/v0.1.0 : )

aldur commented 9 years ago

Even if v0.1.0 is on Maven Central, how do you handle aes-crypto dependency? I end up getting: Could not find com.scottyab:aes-crypto:0.0.2-SNAPSHOT. and, as a matter of fact, it is not in Maven Central.

Laimiux commented 9 years ago

For time being, add

repositories {
    maven {
        url "https://oss.sonatype.org/content/repositories/snapshots"
    }
}

dependencies {
    // Secured preferences
    compile 'com.scottyab:aes-crypto:0.0.2-SNAPSHOT'
    compile('com.scottyab:secure-preferences-lib:0.1.0') {
        provided 'com.scottyab:aes-crypto:0.0.2-SNAPSHOT'
    }
}
scottyab commented 9 years ago

Apologies chaps, I'll sort that aes-crypto dependancy soon. It's my fork and I was waiting for the repo owner to accept my PR.

gabrielacosta commented 9 years ago

Thank you Laimiux for your answer. Scott nice library, I think you should put Laimiux answer in the main page, because, most of us are using graddle and it will be easy meanwhile you sort the issues with the dependencies.

scottyab commented 9 years ago

Hey @gabrielacosta, done, but i'll need to go one better and sort it properly and remove the snapshot repo dependancy. I will just publish my fork to Maven Central as aes-crypto owner doesn't seem to have done that yet (even thought they have accepted my PR).

scottyab commented 9 years ago

This is all sync'd up correctly in v0.1.1

compile 'com.scottyab:secure-preferences-lib:0.1.1