Skip to content

Updating the dashboard

Sarsa Murmu edited this page Dec 12, 2022 · 51 revisions

From v3.16.0 to v3.16.1

  • Follow this commit.
  • Sync Gradle.

From v3.15.0 to v3.16.0

  • Follow this commit.
  • Sync Gradle.

From v3.14.2 to v3.15.0

  • Follow this commit.
  • Sync Gradle.

From v3.14.1 to v3.14.2

  • Follow this commit.
  • Sync Gradle.

From v3.13.3 to v3.14.1

  • Follow this commit.
  • Sync Gradle.

From v3.13.1 to v3.13.3

  • Follow this commit.
  • Sync Gradle.

From v3.13.0 to v3.13.1

  • Follow this commit.
  • Sync Gradle.

From v3.12.1 to v3.13.0

  • Follow this commit.
  • Sync Gradle.

From v3.12.0 to v3.12.1

  • Follow this commit.
  • Sync Gradle.

From v3.11.7 to v3.12.0

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.

From v3.11.6 to v3.11.7

  • Follow this commit.
  • Sync Gradle.

From v3.11.0 to v3.11.6

  • Follow this commit.
  • Sync Gradle.

From v3.10.1 to v3.11.0

  • 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.

From v3.10.0 to v3.10.1

  • Follow this commit.
  • Sync Gradle.

From v3.9.2 to v3.10.0

  • Follow this commit.
  • Sync Gradle.

From v3.9.1 to v3.9.2

  • Follow this commit.
  • Sync Gradle.

From v3.9.0 to v3.9.1

  • Follow this commit.
  • Sync Gradle.

From v3.8.1 to v3.9.0

  • Follow this commit.
  • Sync Gradle.

From v3.8.0 to v3.8.1

  • Follow this commit.
  • Sync Gradle.

From v3.7.4 to v3.8.0

  • Follow this commit.
  • Sync Gradle.

From v3.7.3 to v3.7.4

  • Follow this commit.
  • Sync Gradle.

From v3.7.2 to v3.7.3

  • Follow this commit.
  • Sync Gradle.

From v3.7.1 to v3.7.2

  • Follow this commit.
  • Sync Gradle.

From v3.7.0 to v3.7.1

  • Follow this commit.
  • Sync Gradle.

From v3.6.3 to v3.7.0

  • Follow this commit.
  • Do Gradle sync.

From v3.6.2 to v3.6.3

  • Follow this commit.
  • Do Gradle Sync, Clean Project.

From v3.6.1 to v3.6.2

  • Follow this commit.
  • Do Gradle Sync, Clean Project.

From v3.6.0 to v3.6.1

  • Go to app/build.gradle or build.gradle (Module : app)
  • Find this line
implementation 'com.github.zixpo:candybar:3.6.0'
  • Change 3.6.0 to 3.6.1
  • Do Gradle Sync.

From v3.5.0-beta.6.5 to v3.6.0

  • Follow this commit.
  • Do Gradle Sync, Clean Project.

From v3.5.0-beta.6.5 to v3.5.0-beta.6.6

  • Follow this commit.
  • Do Gradle Sync, Clean Project.

From v3.5.0-beta.6.4 to v3.5.0-beta.6.5

  • Follow this commit.
  • Do Gradle Sync, Clean Project.

From v3.5.0-beta.6.3 to v3.5.0-beta.6.4

  • Follow this commit.
  • Do Gradle Sync, Clean Project.

From v3.5.0-beta.6.1 to v3.5.0-beta.6.3

Change CandyBar Library Version

  • Go to app/build.gradle or build.gradle(Module : app)
  • Find this line
implementation 'com.github.zixpo:candybar:v3.5.0-beta.6.1'
  • Change v3.5.0-beta.6.1 to v3.5.0-beta.6.3
  • Do Gradle Sync.

Add launchers.xml

From v3.5.0-beta.6 to v3.5.0-beta.6.1

Change Gradle Versions

  • Go to gradle/gradle-wraper.properties
  • Replace gradle-5.1.1-all.zip with gradle-5.4.1-all.zip
  • Go to build.gradle or build.gradle(Project : SomeName)
  • Replace classpath 'com.android.tools.build:gradle:3.4.2' with classpath 'com.android.tools.build:gradle:3.5.0'.

Change CandyBar Library Version

  • Go to app/build.gradle or build.gradle(Module : app)
  • Find this line
implementation 'com.github.zixpo:candybar:v3.5.0-beta.6'
  • Change v3.5.0-beta.6 to v3.5.0-beta.6.1
  • Do Gradle Sync.

From v3.5.0-b5 to v3.5.0-beta.6

Changes in build.gradle

  • Go to app/build.gradle or build.gradle(Module : app)
  • Find this line
implementation 'com.github.zixpo:candybar:v3.5.0-b5'
  • Change v3.5.0-b5 to v3.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.

Changes in AndroidManifest.xml

  • Replace Your AndroidManifest.xml with this
  • Find com.candybar.sample and replace it with your app's Package Name.

Remove MuzeiActivity

  • Find MuzeiActivity.java and Delete it. It is probably in app/src/main/java/.../activities/MuzeiActivity.java or app/java/.../activities/MuzeiActivity.java.

Add New Java Files

  • 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 replace com.candybar.sample with your app's package name.
  • Download shortcut.xml and Paste it to app/src/main/res/xml/shortcut.xml. Replace com.candybar.sample with your app's package name.

Changes in dashboard_configurations.xml

  • 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>
Clone this wiki locally