StringCare / AndroidLibrary

Android library to reveal or obfuscate strings and assets at runtime
Apache License 2.0
244 stars 44 forks source link

Incorrect linebreaks #38

Closed abraaocaldas closed 5 years ago

abraaocaldas commented 5 years ago

I'm using Android Studio 3.2 (Windows) with gradle 4.6 and stringcare 0.7, everytime I build my app String care removes all linebrakes from strings.xml making it a single line file.

efraespada commented 5 years ago

How are you adding line breaks?

Thanks for your patient!

abraaocaldas commented 5 years ago

Hum... Well I just do Reformat Code -> Rearrange entries to fix the problem until the next build when the file changes again.

efraespada commented 5 years ago

It seems the original files were "compressed" (no line breaks) when restored or when copied initially.

After reformating code, is there any encrypted value?

abraaocaldas commented 5 years ago

Yes, the encryption works fine, just the linebreaks that are messed up.

efraespada commented 5 years ago

Hi @abraaocaldas, could you solve the issue?

abraaocaldas commented 5 years ago

In fact I faced another problem with the library, if you need to resign your app, everythings breaks after that, unfortunally I do not use stringcare anymore :(

efraespada commented 5 years ago

I'm sorry about that, thanks for testing! 🙂

How did you resign the APK? It isn't a common task, only (afaik) in APK publishing if you use an upload key as the local fingerprint.