From e00b7167fb0377bf9e44e74fe59ae53ef47353d0 Mon Sep 17 00:00:00 2001 From: chenjiulin Date: Thu, 30 Jan 2020 16:18:45 +0800 Subject: [PATCH] 1.7.4 --- CHANGELOG.md | 5 +++++ SystemSetting.js | 3 +++ package.json | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0339d7..3d3bc74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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** diff --git a/SystemSetting.js b/SystemSetting.js index 505792d..2305458 100644 --- a/SystemSetting.js +++ b/SystemSetting.js @@ -69,6 +69,9 @@ export default class SystemSetting { SystemSetting.grantWriteSettingPermission() } + /** + * since v1.7.4 + */ static grantWriteSettingPermission() { if (Utils.isAndroid) { SystemSettingNative.openWriteSetting() diff --git a/package.json b/package.json index d68f44b..69534ed 100644 --- a/package.json +++ b/package.json @@ -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",