-
Notifications
You must be signed in to change notification settings - Fork 25
Updating the dashboard
Sarsa Murmu edited this page Dec 23, 2024
·
51 revisions
NOTE: Whenever I say, "just update the version", it means go to build.gradle (app)
and find the line that looks like this
implementation 'com.github.zixpo:candybar:<version>'
and replace the <version>
with the latest version, ok? Good.
- Update Android Studio to the latest version
- Follow this commit
- Sync Gradle
- Just update the version
- Follow this commit
- Sync Gradle
- Just update the version
- Follow this commit
- Sync Gradle
- Follow this commit.
- Sync Gradle
Other Changes:
- Themes have changed. Check theme setup guide.
- Splash screen icon size has changed. Make it 576x576 and place it inside of
drawable-nodpi
- Follow this commit.
- Sync Gradle.
- Just update the version
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Update Android Studio to Flamingo (2022.2.1)
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
NOTE: This version only works with the latest Android Studio. You have to also update Java to version 11 if you are using a manual installation of Java and not the built-in one.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
!! NOTE !! This version has a lot of changes.
- Font source, Theme, and Colors have changed.
- Fonts have been moved
-
assets/Font-Bold.ttf
->res/font/bold.ttf
-
assets/Font-Regular.ttf
->res/font/regular.ttf
-
assets/Font-Medium.ttf
->res/font/medium.ttf
-
- If you are using modified styles (
styles.xml
) then you may need to do some refactorings, see the new file (themes.xml
) - Referencing existing theme colors is no longer allowed in
colors.xml
for existing theme colors. Check the header comment for more information.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Sync Gradle.
- Follow this commit.
- Do Gradle sync.
- Follow this commit.
- Do Gradle Sync, Clean Project.
- Follow this commit.
- Do Gradle Sync, Clean Project.
- Go to
app/build.gradle
orbuild.gradle (Module : app)
- Find this line
implementation 'com.github.zixpo:candybar:3.6.0'
- Change
3.6.0
to3.6.1
- Do Gradle Sync.
- Follow this commit.
- Do Gradle Sync, Clean Project.
- Follow this commit.
- Do Gradle Sync, Clean Project.
- Follow this commit.
- Do Gradle Sync, Clean Project.
- Follow this commit.
- Do Gradle Sync, Clean Project.
- Go to
app/build.gradle
orbuild.gradle(Module : app)
- Find this line
implementation 'com.github.zixpo:candybar:v3.5.0-beta.6.1'
- Change
v3.5.0-beta.6.1
tov3.5.0-beta.6.3
- Do Gradle Sync.
- Download launchers.xml and paste it to
res/values
.
- Go to
gradle/gradle-wraper.properties
- Replace
gradle-5.1.1-all.zip
withgradle-5.4.1-all.zip
- Go to
build.gradle
orbuild.gradle(Project : SomeName)
- Replace
classpath 'com.android.tools.build:gradle:3.4.2'
withclasspath 'com.android.tools.build:gradle:3.5.0'
.
- Go to
app/build.gradle
orbuild.gradle(Module : app)
- Find this line
implementation 'com.github.zixpo:candybar:v3.5.0-beta.6'
- Change
v3.5.0-beta.6
tov3.5.0-beta.6.1
- Do Gradle Sync.
- Go to
app/build.gradle
orbuild.gradle(Module : app)
- Find this line
implementation 'com.github.zixpo:candybar:v3.5.0-b5'
- Change
v3.5.0-b5
tov3.5.0-beta.6
- Remove these lines
implementation 'androidx.annotation:annotation:1.0.0'
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'com.google.android.apps.muzei:muzei-api:2.0'
- Find this line
implementation 'com.onesignal:OneSignal:3.9.1'
- Change it to
implementation 'com.onesignal:OneSignal:3.10.7'
- Do Gradle Sync.
- Replace Your
AndroidManifest.xml
with this - Find
com.candybar.sample
and replace it with your app's Package Name.
- Find
MuzeiActivity.java
and Delete it. It is probably inapp/src/main/java/.../activities/MuzeiActivity.java
orapp/java/.../activities/MuzeiActivity.java
.
- Download MuzeiService.java and ClockWidget.java to a folder. Copy these two files and go to
app/src/main/java/.../services
and Paste these. Open these two files and replacecom.candybar.sample
with your app's package name. - Download shortcut.xml and Paste it to
app/src/main/res/xml/shortcut.xml
. Replacecom.candybar.sample
with your app's package name.
- Go to
dashboard_configuration.xml
- There are New Configs, You've to add them manually. All configs are inside of
<resources></resources>
, So you've to add these new Configurations inside of this. - Go to line before
</resources>
and add these lines (Simply Copy and Paste them)
<!-- If you set it to true, your user can even choose non-mailing app for requesting Icons -->
<bool name="enable_non_mail_app_request">false</bool>
<!-- Icon Request Email Subject. Leave Empty to Use Deafult Subject. -->
<string name="request_email_subject"></string>
<string name="premium_request_email_subject"></string>
<!-- CandyBar Config JSON Link -->
<string name="config_json_link"></string>
<!-- Closes app if installed outside of Playstore -->
<bool name="playstore_check_enabled">false</bool>
<!-- Enable Check for Update -->
<bool name="enable_check_update">true</bool>
<!-- Enable JSON Data check before Requesting Icons -->
<bool name="json_check_before_request">true</bool>
<!-- Show Intro Guides on First Run -->
<bool name="show_intro">false</bool>
- Remove this line (Because CandyBar Now Checks for Update from
config_json
)
<string name="update_json_link"></string>
If you want more help then join Our Telegram Group.
- Wallpaper JSON
- Setting up the Config JSON
- Advanced Dashboard configurations
- Changing fonts
- Changing navigation drawer icons
- Changing icons of the apply section
- Replacing icon names in icon preview
- Enabling OneSignal notifications
- Enabling InApp purchases (donations and premium requests)
- Customizing the analog clock widget
- Enabling Kustom presets