Comments (6)
Tested and working!
Thanks for your work :)
from androidlibrary.
@d-moreira the new plugin replaces the JAR
file. It should find in res
folder every strings.xml
file and encrypt every string value with hidden
attribute as true
.
What is printing your Gradle console?
from androidlibrary.
Ok, it's working now :) I was trying to obfuscate some strings on a res/values/secrets.xml
file, which worked previously.
So the plugin only looks for strings on strings.xml
files? Can you consider extending the functionality to look for string resources on any .xml
file under res/values
at least? And also update the documentation to reflect this limitation.
Thanks!
from androidlibrary.
I was thinking something like this on module's build.gradle
:
stringobfuscator {
srcFolder = ["src/main/res"]
stringFiles = ["strings.xml", "secrets.xml"]
}
Of course, I'll update the documentation. Thanks for your patient.
from androidlibrary.
That would be even better. Thank you!
from androidlibrary.
@d-moreira hope it helps you! v.0.5.0.
from androidlibrary.
Related Issues (20)
- Strings with the same content doesn't work properly HOT 49
- The dependency contains Java 8 bytecode. Please enable desugaring by adding the following to build.gradle
- Bug: cannot handle build variants properly HOT 42
- java.lang.NoClassDefFoundError: Could not initialize class components.Stark HOT 23
- java.lang.NoClassDefFoundError: Could not initialize class components.Stark
- compileSdkVersion is not specified HOT 2
- Library Support HOT 2
- Obfuscation library HOT 1
- Gradle crash HOT 12
- Resource not found HOT 3
- Task 'stringcareTestObfuscateDebug' not found in root project HOT 7
- What do you think about https://pypi.org/project/DeStringCare/ ? HOT 2
- Build: failed: Index: 1, Size: 1 HOT 2
- Execution failed for task ':app:generateDebugAssets' HOT 1
- JCenter Deprecation HOT 6
- Wiki update HOT 1
- migrate from AES/ECB/PKCS5Padding to AES/GCM/NoPadding. HOT 1
- Can't open the sample HOT 2
- Manifest merger failed : Attribute application@appComponentFactory
- Is this my version issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidlibrary.