Skip to content

Releases: RonasIT/react-native-common-modules

v1.2.1

10 Dec 17:02

Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

01 Dec 12:08

Choose a tag to compare

What's Changed

Pusher websockets utilities change

  1. WebSocketService now requires calling init() before connect() as per Pusher docs.
    The init() method now can accept:
  • a token getter function for dynamic token retrieval, ensuring the latest authentication token is always used;
  • set of handlers to pass callbacks into pusher client instance

Migration:

// Before
await webSocketService.connect('your-auth-token');

// After
const tokenGetter = () => getAuthToken(); // Function that returns current token
await webSocketService.init(tokenGetter, {
    // Optional handlers
    onConnectionStateChange: (currentState) => {
      // Do something with the connection state
    },
  }
);
webSocketService.connect();
  1. Added new hook usePusherReactNative that automatically manages WebSocket connection lifecycle for React Native apps.

Full Changelog: v1.1.0...v1.2.0

v1.1.0

25 Jul 10:01

Choose a tag to compare

What's Changed

Note: See the README for updated import path documentation. To enable these features, your tsconfig.json should use moduleResolution: bundler. Old version of imports is also supported.

Screenshot SCR-20250725-lkno

Full Changelog: v1.0.1...v1.1.0

v1.0.0

30 Jun 08:48

Choose a tag to compare

V1 Release overview

Features

  • Reusable modules for Clerk. More details in Readme
  • The setupReactotron utility now accepts plugins
  • The example app has been updated

Fixes

  • The usePushNotifications hook now uses expo_token (instead of expoToken) as the body parameter name for subscriptions by default
  • The package no longer depends on deprecated Async Storage modules

Removals and Breaking Changes

  • Storage utilities AsyncStorageItem and SecureStorageItem have been removed. It is now recommended to use React Native MMKV instead
  • The VirtualizedList component has been removed - direct usage of FlashList v2 is now the recommended approach
  • The AppPressable component has been removed - please use Pressable directly as needed based on your app's UI requirements

v0.7.1

20 Jun 14:25

Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.7.1

v0.7.0

21 Mar 08:17
722af65

Choose a tag to compare

What's Changed

Migration

Starting from this version, the package uses direct module export for better dependency management and tree shaking.
All dependencies required by modules (specified in Readme) must be installed by the parent application.

  1. Update the package to 0.7.0
  2. Run Typescript checks in your workspace
  3. Fix modules imports like this:
- import { AppPressable, AppSafeAreaView } from '@ronas-it/react-native-common-modules';

+ import { AppPressable } from '@ronas-it/react-native-common-modules/src/ui/pressable';
+ import { AppSafeAreaView } from '@ronas-it/react-native-common-modules/src/ui/safe-area-view';

Full Changelog: v0.6.0...v0.7.0

v0.6.0

25 Dec 15:04

Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.6.0

v0.5.0

07 Oct 12:27

Choose a tag to compare

What's Changed

Full Changelog: v0.4.2...v0.5.0

v0.4.2

04 Sep 13:42

Choose a tag to compare

What's Changed

  • Update README by @kerne1hub in #13

Full Changelog: v0.4.0...v0.4.2

v0.4.0

02 Sep 06:41

Choose a tag to compare

What's Changed

Features

  • Add ImagePickerService by @kerne1hub in #12

Fixes

  • Add missing @shopify/flash-list to deps by @kerne1hub in #11
  • Fixed permissions request in push notifications module by @kerne1hub in #12

Full Changelog: v0.3.0...v0.4.0