Skip to content

Commit

Permalink
update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
werbhelius committed Apr 27, 2017
1 parent 6f38f3d commit 6681964
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
35 changes: 30 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,24 @@ Click to download lastest demo ⬇️ or select [Release Version](https://github

[![download](/app/src/main/res/mipmap-xhdpi/ic_launcher.png)](https://fir.im/hm38)

## Last Update (2017.4.24)
## Last Update (2017.4.27)

#### [v0.1.4](https://github.com/Werb/PickPhotoSample/releases/tag/v0.1.4)
#### [v0.1.5](https://github.com/Werb/PickPhotoSample/releases/tag/v0.1.5)

1. remove RxJava
2. adjust single choose
3. adjust camera UI
1. remove Provider in lib Manifest

so you must register Manifest this code in your AndroidManifest
```
<provider
android:name="com.werb.pickphotoview.provider.PickProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/pick_file_paths"/>
</provider>
```

## Update (2017.4.17)

Expand Down Expand Up @@ -92,6 +103,20 @@ Make sure you have permissions about CAMERA and WRITE/READ_EXTERNAL_STORAGE be

[PermissionsChecker : A Library help u to check permissions on Android M.](https://github.com/Werb/PermissionsCheckerSample)

#### Register Provider in AndroidManifest.xml

```
<provider
android:name="com.werb.pickphotoview.provider.PickProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/pick_file_paths"/>
</provider>
```

#### Initialize PickPhotoView

```
Expand Down
2 changes: 1 addition & 1 deletion pickphotoview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ publish {
userOrg = 'werbhelius'
groupId = 'com.werb.pickphotoview'
artifactId = 'pickphotoview'
publishVersion = '0.1.4'
publishVersion = '0.1.5'
desc = 'Photo Picker Of Android Library'
website = 'https://github.com/Werb/PickPhotoSample'
}

0 comments on commit 6681964

Please sign in to comment.