Skip to content

Commit 61da03a

Browse files
committed
Version 1.0.0 🚀
1 parent b937892 commit 61da03a

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## Change Log
2+
3+
### Version 1.0.0 (2017-04-03)
4+
5+
First public release
6+
7+
### Version 0.9.0 (2016-09-16)
8+
9+
First uploaded to GitHub

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PublicFileProvider is a special subclass of [`ContentProvider`](https://develope
77
PublicFileProvider is a modified version of FileProvider with the specific goal to expose files without using Android's URI permission mechanism. This can come in handy when you have to provide a `content://` URI but can't easily grant read access to whatever app ends up accessing the content.
88
One use case is a custom ringtone in a notification. Check out the blog post [Notifications, Sounds, Android 7.0, and Aggravation](https://commonsware.com/blog/2016/09/07/notifications-sounds-android-7p0-aggravation.html) for more details.
99

10+
1011
## Usage
1112

1213
Add a provider element to your Manifest:
@@ -48,6 +49,16 @@ File myNotificationSoundFile = new File(imagePath, "ding.ogg");
4849
Uri contentUri = getUriForFile(getContext(), "com.mydomain.publicfileprovider", myNotificationSoundFile);
4950
```
5051

52+
53+
## Include the library
54+
55+
The library is available on Maven Central. Add this to your `dependencies` block in `build.gradle`:
56+
57+
```groovy
58+
compile 'de.cketti.fileprovider:public-fileprovider:1.0.0'
59+
```
60+
61+
5162
## License
5263

5364
Copyright 2016 cketti

library/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android {
55
buildToolsVersion "25.0.2"
66

77
defaultConfig {
8-
versionName "0.9.0"
8+
versionName "1.0.0"
99
minSdkVersion 14
1010
}
1111
}

0 commit comments

Comments
 (0)