Skip to content

Commit

Permalink
chore: 🔖 release v0.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDongminYoo committed Mar 16, 2024
1 parent 0014fc2 commit 21cf09d
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 35 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## [0.2.5](https://github.com/AndrewDongminYoo/react-native-step-counter/compare/v0.2.4...v0.2.5) (2024-03-16)

### Bug Fixes

- ➖ remove peer dependencies in package.json ([b3e7191](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/b3e7191dca62b6ba7b68fd7f39a2a18d30b004a6))
- ➖ remove yarn-specific `resolutions` field that doesn't apply to npm developers ([c16ea2f](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/c16ea2f05aff5af6365cc72107160f5d2d045211))
- ⬆️ upgrade gradle versions and removing deprecated settings ([d962093](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/d96209328ae95699d3cf829a34d6a2d376bf7c69))
- 🐛 merge forked branch 'Ugur-Atakan/main' ([952c196](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/952c196318c6be1276716f1803043dde8cf8cc1f)), closes [#40](https://github.com/AndrewDongminYoo/react-native-step-counter/issues/40)
- 📌 cocoapods 1.15 introduced a bug which break the build ([a634d22](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/a634d2236a53cc8d63136c9500913f236c9e7979))

### Performance Improvements

- ➕ add @react-native/typescript-config package as dev dependencies ([7845558](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/7845558ed61c0a2aba92adddd21ab9e947b3558e))
- ⬆️ apply audit and upgrade flags across packages ([ab8a509](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/ab8a509ad1e15e87e436d689b84524247e28e659))
- ⬆️ replaced `metro-react-native-babel-preset` to `@react-native/babel-preset` ([2b10ae5](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/2b10ae5922a8523ff42005435953e7f28182cbe3))
- ⬆️ replaced `metro-react-native-babel-preset` to `@react-native/babel-preset` ([26b1e19](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/26b1e19e765854cf73a469fceba6f9fd86cceb67))
- 📦️ upgrade npm packages version ([fa0b47b](https://github.com/AndrewDongminYoo/react-native-step-counter/commit/fa0b47b6420a662c0fdc8ab2e6cb4ee39419819e))

## [0.2.4](https://github.com/AndrewDongminYoo/react-native-step-counter/compare/v0.2.2...v0.2.4) (2024-01-06)

### Performance Improvements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnable
import com.facebook.react.defaults.DefaultReactActivityDelegate

class MainActivity : ReactActivity() {
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
override fun getMainComponentName(): String = "StepCounterExample"
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
override fun getMainComponentName(): String = "StepCounterExample"

/**
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate]
* which allows you to enable New Architecture with a single boolean flags [fabricEnabled]
*/
override fun createReactActivityDelegate(): ReactActivityDelegate = DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)
}
/**
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate]
* which allows you to enable New Architecture with a single boolean flags [fabricEnabled]
*/
override fun createReactActivityDelegate(): ReactActivityDelegate = DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,32 @@ import com.facebook.react.flipper.ReactNativeFlipper
import com.facebook.soloader.SoLoader

class MainApplication : Application(), ReactApplication {
override val reactNativeHost: ReactNativeHost =
object : DefaultReactNativeHost(this) {
override fun getPackages(): List<ReactPackage> =
PackageList(this).packages.apply {
// Packages that cannot be autolinked yet can be added manually here, for example:
// add(MyReactNativePackage())
}
override val reactNativeHost: ReactNativeHost =
object : DefaultReactNativeHost(this) {
override fun getPackages(): List<ReactPackage> =
PackageList(this).packages.apply {
// Packages that cannot be autolinked yet can be added manually here, for example:
// add(MyReactNativePackage())
}

override fun getJSMainModuleName(): String = "index"
override fun getJSMainModuleName(): String = "index"

override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG
override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG

override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
}
override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
}

override val reactHost: ReactHost
get() = getDefaultReactHost(this.applicationContext, reactNativeHost)
override val reactHost: ReactHost
get() = getDefaultReactHost(this.applicationContext, reactNativeHost)

override fun onCreate() {
super.onCreate()
SoLoader.init(this, false)
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
load()
override fun onCreate() {
super.onCreate()
SoLoader.init(this, false)
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
load()
}
ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager)
}
ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager)
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dongminyu/react-native-step-counter",
"displayName": "react-native-step-counter",
"version": "0.2.4",
"version": "0.2.5",
"summary": "It is a multi-platform library that combines CoreMotionSensor from iOS with SensorEventListener from Android.",
"description": "This library provides an interface for tracking the number of steps taken by the user in a React Native app.",
"main": "lib/commonjs/index.js",
Expand Down

0 comments on commit 21cf09d

Please sign in to comment.