Version 1 Wiki - novoda/download-manager GitHub Wiki
If you want to use proguard you need to protect the AUTHORITY constant from being inlined. You must use this in your proguard config:
-keepclassmembers class com.novoda.downloadmanager.Authority {
static final java.lang.String AUTHORITY;
}
You can change the maximum number of concurrent downloads in your application by adding a the following meta-data element into your AndroidManifest.xml:
<meta-data
android:name="com.novoda.downloadmanager.MaxConcurrentDownloads"
android:value="3" />where here 3 represents the maximum number of concurrent downloads.
By default the downloads database will be stored in your application data in a file named 'downloads.db'. Power users can override this
by specifying a value for com.novoda.downloadmanager.DatabaseFilename in the metadata within the manifest.
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.myorg.myapp" >
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
.
.
.
<meta-data
android:name="com.novoda.downloadmanager.DatabaseFilename"
android:value="my_database.db" />
</application>
</manifest>- Bump the release version in
library/build.gradle(you can do this in master!)
- Create a Github release & tag - document the changes & the corresponding PRs in the release
- Kick off a build on the CI
- Update the
RELEASE-NOTES.md - Update the
README.mdto point to the new version