@react-native-ohos/react-native-system-setting 1.8.0-rc.2 → 1.8.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Use these variables when you tailor your ArkTS code. They must be of the const type.
3
3
  */
4
- export const HAR_VERSION = '1.8.0-rc.2';
4
+ export const HAR_VERSION = '1.8.0-rc.3';
5
5
  export const BUILD_MODE_NAME = 'debug';
6
6
  export const DEBUG = true;
7
7
  export const TARGET_NAME = 'default';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-ohos/react-native-system-setting",
3
- "version": "1.8.0-rc.2",
3
+ "version": "1.8.0-rc.3",
4
4
  "description": "Please describe the basic information.",
5
5
  "main": "Index.ets",
6
6
  "author": "",
@@ -66,7 +66,10 @@ export class RNSystemSettingTurboModule extends TurboModule implements TM.ReactN
66
66
  bundleName: 'com.huawei.hmos.settings',
67
67
  abilityName: 'com.huawei.hmos.settings.MainAbility',
68
68
  action: 'action.settings',
69
- uri: action
69
+ uri: action,
70
+ parameters: {
71
+ pushParams: context.applicationInfo.name
72
+ }
70
73
  };
71
74
  context.startAbility(want)
72
75
  .then(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-ohos/react-native-system-setting",
3
- "version": "1.8.0-rc.2",
3
+ "version": "1.8.0-rc.3",
4
4
  "description": "provide some system setting APIs. Volume, brightness, wifi, location, bluetooth, airplane...",
5
5
  "main": "SystemSetting.js",
6
6
  "types": "SystemSetting.d.ts",