Skip to content

Commit

Permalink
1.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiulin committed Jan 30, 2020
1 parent 364f042 commit e00b716
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# V1.7.4
**2020-01-30**

typo: `grantWriteSettingPremission()` -> `grantWriteSettingPermission`, see [detail](https://github.com/c19354837/react-native-system-setting/issues/97)

# V1.7.3
**2019-10-03**

Expand Down
3 changes: 3 additions & 0 deletions SystemSetting.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export default class SystemSetting {
SystemSetting.grantWriteSettingPermission()
}

/**
* since v1.7.4
*/
static grantWriteSettingPermission() {
if (Utils.isAndroid) {
SystemSettingNative.openWriteSetting()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-system-setting",
"version": "1.7.3",
"version": "1.7.4",
"description": "provide some system setting APIs. Volume, brightness, wifi, location, bluetooth, airplane...",
"main": "SystemSetting.js",
"homepage": "https://github.com/c19354837/react-native-system-setting",
Expand Down

0 comments on commit e00b716

Please sign in to comment.