Here you'll find the source code of many classes in Sketchware Pro, and most importantly, the place to contribute to Sketchware Pro.
You must use Gradle to build the app. It's highly recommended to use Android Studio, though.
There are two build variants with different features:
minApi26:
Supports exporting AABs from projects, as well as compiling Java 1.8, 1.9, 10, and 11 code. However, it only works on Android 8.0 (O) and above.minApi21:
Can't produce AABs from projects, and can only compile Java 1.7 code, but it supports down to Android 5.
You must select the appropriate build variant in Android Studio using the Build Variants tab or use the appropriate build Gradle command.
Class | Role |
---|---|
a.a.a.Dp |
Helper for compiling an entire project |
a.a.a.Ix |
Responsible for generating AndroidManifest.xml |
a.a.a.Jx |
Generates source code of activities |
a.a.a.Lx |
Generates source code of components, such as listeners, etc. |
a.a.a.Ox |
Responsible for generating XML files of layouts |
a.a.a.qq |
Registry of built-in libraries' dependencies |
a.a.a.tq |
Responsible for the compiling dialog's quizzes |
a.a.a.yq |
Organizes Sketchware projects' file paths |
You can also check the mod
package that has the majority of contributors' changes.
Fork this repository and contribute back using pull requests.
Any contributions, large or small, major features, or bug fixes, are welcomed and appreciated, but will be thoroughly reviewed.
- Fork the repository to your GitHub account.
- Make a branch if necessary.
- Clone the forked repository to your local device (optional, you can edit files through GitHub's web interface).
- Make changes to files.
- (IMPORTANT) Test out those changes.
- Create a pull request in this repository.
- The repository members will review your pull request, and merge it when they are accepted.
Most changes might be UI-related, and we think it's more or less a waste of time. If something design-related gets changed, ideally the whole app must follow the new style too, and that's hard to accomplish, especially for mods. That's why:
- Major changes to the UI (components which exist in vanilla Sketchware) are unlikely to be accepted.
When you've made changes to one or more files, you have to commit that file. You also need a message for that commit.
You should read these guidelines, or that summarized:
- Short and detailed.
- Prefix one of these commit types:
feat:
A feature, possibly improving something already existing.fix:
A fix, for example of a bug.style:
Feature and updates related to styling.refactor:
Refactoring a specific section of the codebase.test:
Everything related to testing.docs:
Everything related to documentation.chore:
Code maintenance (you can also use emojis to represent commit types).
Examples:
feat: Speed up compiling with new technique
fix: Fix crash during launch on certain phones
refactor: Reformat code at File.java
They help keeping Sketchware Pro alive. Each (helpful) accepted contribution will get noted down in the "About Modders" activity. We'll use your GitHub name and profile picture initially, but they can be changed of course.
Wanna chat with us, talk about changes, or just hang out? We have a Discord server just for that.
This mod was not meant for any harmful purposes, such as harming Sketchware; Quite the opposite actually. It was made to keep Sketchware alive by the community for the community. Please use it at your own discretion and be a Patreon backer of them, for example. Sadly, all other ways to support them aren't working anymore, so it's the only way available currently. Here's their Patreon page.
We love Sketchware very much, and we are grateful to Sketchware's developers for making such an amazing app, but unfortunately, we haven't received updates for a long time. That's why we decided to keep Sketchware alive by making this mod, plus we don't demand any money, it's completely free :)