Skip to content

Releases: moyasar/moyasar-react-native

v0.10.1

06 Dec 18:50

Choose a tag to compare

  • [General] Update dependencies to patch security vulnerabilities.

Required:

  • Update native code for iOS by running the following command in the ios/ directory:
pod install

v0.10.0

11 Sep 07:06

Choose a tag to compare

  • [General] Moyasar new design.
  • [General Feature] Support controlling coupons applicability.
  • [Fix Android UI] Fix Android text input formatting in Arabic language.

If you encounter any issues, make sure to fully clean your project and rebuild it.

Required:

  • Update native code for iOS by running the following command in the ios/ directory:
pod install

v0.9.0

02 Aug 19:24

Choose a tag to compare

  • [Samsung Pay Style] Support custom styling of the Samsung Pay button component.
  • [Apple Pay Style Fix] Fix height and width styles to receive DimensionValue type.
  • [General] Enhancements.

If you encounter any issues, make sure to fully clean your project and rebuild it.

Needs attention:

If you have used the style property for the Apple Pay component and supplied either the height or width properties, you may need to update them to the new DimensionValue type instead of the old type.

v0.8.1

30 Jun 17:20

Choose a tag to compare

  • [General] Support older React Native versions.
  • [General] Enhancements.

If you encounter any issues, make sure to fully clean your project and rebuild it.

Needs attention:

  • Make sure you have one of the following Node.js versions installed:

    • v20.19 or higher
    • v22.12 or higher
    • v23.4 or higher
  • If you are using Jest and encountering issues, update your Jest configuration (likely found in your package.json or any jest.config.* file) with the following:

module.exports = {
  // ... The rest of your configuration
  transformIgnorePatterns: [
    'node_modules/(?!((@)?react-native|react-native-moyasar-sdk)/)',
  ],
};

v0.8.0

16 Jun 19:41

Choose a tag to compare

  • [Apple Pay] Support Apple Pay tokenization (saveCard field).

v0.7.0

05 Jun 14:18

Choose a tag to compare

  • [Samsung Pay] Support Samsung Pay feature.
  • [General] Support customizing merchant's country code.
  • [General] Support givenId feature.
  • [Credit Card Token Fix] Always enforce the saveOnly field as true in the TokenRequest class, and remove it from the public SDK API.
  • [General] Enhancements.

If you encounter any issues, make sure to clean your project and rebuild it.

Required changes (only if consuming the TokenRequest class directly):

If you are utilizing the TokenRequest class directly, change the following:

  • If you supplied saveOnly parameter as true. Remove it since now it will be always true in this context.
  • If you didn't supply the saveOnly parameter (or made it false). Switch to using the PaymentRequest class with the CreditCardRequestSource class and set the tokenizeCard option to true. It will achieve the same result.

Needs attention:

  • Supply the merchantCountryCode field in the PaymentConfig to indicate your merchant’s principle place of business. Previously, this was based on the currency, which was less precise. Now, you should explicitly set this code for accurate payment processing (defaults to SA).
  • Supply the givenId field in the PaymentConfig object to support Idempotency.
  • Check Installation and Basic Integration documents to support and configure Samsung Pay.

v0.6.4

05 Apr 21:32

Choose a tag to compare

  • [General] Update dependencies and tooling.

Required changes:

  • Update native code for iOS by running the following command in the ios/ directory:
pod install
  • Set react-native-svg version package to '^15.11.2'.
  • Set react-native-webview version package to '^13.13.4'.

v0.6.3

04 Mar 22:56

Choose a tag to compare

  • [Fix] Fix the Saudi Riyal symbol color

v0.6.2

04 Mar 22:41

Choose a tag to compare

  • [General] Add the Saudi Riyal symbol

v0.6.1

22 Jan 17:05

Choose a tag to compare

  • [Credit Card & Stc Pay] Support customizing placeholder text color and more styles.