-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Test APK Generation without Touching Gradle Files #4231
Comments
Hello! We appreciate you bringing this issue to our attention. If you're interested in contributing to this feature, You're also welcome to join our Discord server Please feel free to reach out to us if you have any questions, or need help with anything. |
Appendix: Preliminary Technical ExplorationBelow are some exploratory CLI commands and methods that can be used to directly manipulate APKs and DEX files. This is provided as a starting point for those interested in the actual implementation:
These are just preliminary steps and commands to start the exploration. They are generated via ChatGPT, so take them with a grain of salt. But, overall, the concept is feasible, and these things can be achieved – I talked to Valentyn, who's skilled in reverse engineering for Android, and he confirmed that this is a realistic goal, although we never know the caveats and their impact until we actually make this happen. |
Describe your idea
Background
Proposal
Precompiled Test APK Template:
Dynamic Injection of Main Activity:
com.placeholder.MainActivity
→com.companyname.MainActivity
Advantages
Considerations
Proof of concept
Conclusion
This approach has the potential to greatly simplify the integration process of Detox on Android, enhancing the user experience and reducing common Gradle-related issues. If successfully implemented, it can be a significant improvement to the Android integration of Detox.
The text was updated successfully, but these errors were encountered: