-
-
Notifications
You must be signed in to change notification settings - Fork 126
How to update
Updating is pretty easy. You just need to upgrade Frames library version.
To do it, go to the build.gradle
file inside app
folder.
Then look for these lines:
compile('com.jahirfiquitiva:Frames:{latest version}@aar') {
transitive = true
}
Replace {latest version}
with the last version code from
Continue reading just in case bigger changes are required ;)
Whenever a new release is available and it requires extra changes for your setup, this is the section where they will be mentioned.
Check if you have done the required changes for the newest versions and do them if you haven't.
Easy as doing the same changes in the files that this commit shows.
Easy as doing the same changes in the files that this commit shows.
Easy as doing the same changes in the files that this commit shows.
Easy as doing the same changes in the files that this commit shows.
Easy as doing the same changes in the files that this comparison shows. Basically just some minor version updates.
- Update your build.gradle to match the new
app/build.gradle
file - Update the proguard files:
- Changelog support has been added. Check how to set it up here.
-
OneSignal plugin version is now explicitly defined due to some issues. Check the new
app/build.gradle
file here. -
Notifications are enabled by default now, if you don't want them to be enabled you can easily set this config to
false
inapp/src/main/res/values/frames_configs.xml
:
<!-- Do you want notifications to be enabled for all your users?
- True means yes
- False means no
-->
<bool name="notifications_enabled_by_default">true</bool>
-
Many things in the project changed, but it's all for good. Please kindly check my last commit and apply these changes to your project :)
-
A new
collection
view style was added:
Enable it using this value in frames_configs.xml
:
<!-- Choose whether you want filled collection preview by default -->
<bool name="enable_filled_collection_preview">false</bool>
- Firebase is not used for notifications anymore. Start using OneSignal which is easier to setup. Tutorial available in wiki.
Check what I did in this commit 😅
Basically do what I did in this commit 😅
These files have been modified, so please update them:
dependencies.gradle
Update Android Studio to 3.0.0 And these files have been modified, so please update them:
dependencies.gradle
app/build.gradle
gradle/wrapper/gradle-wrapper.properties
The build.gradle
files have been modified to improve their readability.
There's a new file: dependencies.gradle
And these files have been modified, so please update them:
build.gradle
app/build.gradle
app/firebase.gradle
If you don't want to use collections for your wallpapers, you must let the app know it by configuring this bool
in app/src/main/res/values/frames_configs.xml
file:
<!-- Show collections tab?
- If you have collections in your JSON, set this to true
- Otherwise, set it to false (is the price you pay for not doing so :P )
-->
<bool name="show_collections_tab">true</bool>
Otherwise you can just ignore this.
Additionally, Firebase lib has been updated to version 11.4.2
, Kotlin plugin to version 1.1.51
and build tools to version 26.0.2
.
Check these changes in build.gradle
file in root folder, and also in app/firebase.gradle
file.
Copyright 2022 by Jahir Fiquitiva. This work is licensed under the CreativeCommons Attribution-ShareAlike 4.0 International License.