diff --git a/harmony/background_timer.har b/harmony/background_timer.har new file mode 100644 index 0000000000000000000000000000000000000000..9e4cd5e277cfa237678b8026d2b3d7cc311b9a5c Binary files /dev/null and b/harmony/background_timer.har differ diff --git a/harmony/background_timer/oh-package.json5 b/harmony/background_timer/oh-package.json5 index 4d2d40ef3858c71253a40771d553b0de46a745b7..1ddd51b839a2a3af1c5cb7b6904311a41e9a15cd 100644 --- a/harmony/background_timer/oh-package.json5 +++ b/harmony/background_timer/oh-package.json5 @@ -1,6 +1,6 @@ { "name": "@react-native-ohos/react-native-background-timer", - "version": "2.4.2", + "version": "2.4.2-rc.1", "description": "Please describe the basic information.", "main": "Index.ets", "author": "", diff --git a/package.json b/package.json index beaf46c59767d153b22f4b041d0d28eaf0ca36df..9a9bb9b4a9f82f62795868a2ccfb71f559160685 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@react-native-ohos/react-native-background-timer", - "version": "2.4.1", + "version": "2.4.2-rc.1", "description": "Emit event periodically (even when app is in the background)", "keywords": [ "react-native", @@ -56,6 +56,10 @@ }, "harmony": { "alias": "react-native-background-timer" + }, + "publishConfig": { + "registry": "https://registry.npmjs.com/", + "access": "public" } } diff --git a/react-native-background-timer.podspec b/react-native-background-timer.podspec deleted file mode 100644 index 5c3c50f592a1e27c8ef57938a39b31b462e5c1b0..0000000000000000000000000000000000000000 --- a/react-native-background-timer.podspec +++ /dev/null @@ -1,24 +0,0 @@ -require 'json' - -package = JSON.parse(File.read(File.join(__dir__, 'package.json'))) - -Pod::Spec.new do |s| - - s.name = package['name'] - s.version = package['version'] - s.summary = package['description'] - s.homepage = package['repository']['url'] - s.license = package['license'] - s.author = package['author'] - s.source = { :git => s.homepage, :tag => 'v#{s.version}' } - - s.requires_arc = true - s.ios.deployment_target = '8.0' - s.tvos.deployment_target = '9.0' - - s.preserve_paths = 'README.md', 'package.json', 'index.js' - s.source_files = 'ios/*.{h,m}' - - s.dependency 'React-Core' - -end