-
Notifications
You must be signed in to change notification settings - Fork 25
Enabling Kustom presets
Sarsa Murmu edited this page May 13, 2023
·
2 revisions
CandyBar supports Kustom presets, but it cannot preview them in the dashboard yet.
- Open
AndroidManifest.xml
and find this line<!--<provider android:name="org.kustom.api.Provider" android:authorities="${applicationId}.kustom.provider"
- Uncomment the
provider
block (remove<!--
and-->
) - Now also remove the
actions
that you don't want. For example, if your app is only providing Kustom widgets, you would remove the other unnecessary actions, like this<intent-filter> <!-- We will keep this --> <action android:name="org.kustom.provider.WIDGETS" /> <!-- But remove these lines, because our app isn't providing anything except widgets. You wouldn't remove the one that you need. Like if you are providing Komponents you wouldn't remove `<action android:name="org.kustom.provider.KOMPONENTS" />` --> <action android:name="org.kustom.provider.WALLPAPERS" /> <action android:name="org.kustom.provider.LOCKSCREENS" /> <action android:name="org.kustom.provider.KOMPONENTS" /> </intent-filter>
- Kustom support is now enabled
- First of all export your preset from the respective Kustom app
- Now go to Internal storage of your device and find the directory named
Kustom
- You would find folders like
widgets
,wallpapers
,lockscreens
andkomponents
- Now copy the preset that you have exported and put it in
app/src/main/assets/<presetType>
, here<presetType>
is the preset type (likewidgets
for widgets) Example - If you have a widget, you would copy it and paste is toapp/src/main/assets/widgets
, and in the same way for wallpapers you would put it inapp/src/main/assets/wallpapers
.
Also check out <!-- CONFIG: KUSTOM -->
part of dashboard_configurations.xml
for modifying pack description and name.
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