Netvent / storyly-sdk

Storyly allows mobile applications to have in-app stories in native iOS, native Android, React-Native, and Flutter platforms.
68 stars 39 forks source link

Custom size story group icon styling not working as expected on android #370

Open sedatkimki opened 3 months ago

sedatkimki commented 3 months ago

Issue tracker is ONLY used for reporting React Native SDK related bugs.

I am trying to customize the group icon using the storyGroupIcon props in the Storyly SDK. The customization works perfectly on iOS but has no effect on Android.

I can't customize group icon on android

Environment Details

Storyly SDK Version: ^2.4.9 React Native SDK Version: ^0.73.6 Platform:

Expected Behavior

The group icon should be customized according to the specified props on both iOS and Android platforms.

Current Behavior

The group icon customization works as expected on iOS. However, it has no effect on Android.

Steps to Reproduce

  1. Implement the following props in your React Native code:
<Storyly
  storyGroupIconCornerRadius={8}
  storyGroupIconHeight={120}
  storyGroupIconWidth={120}
  storyGroupSize={'custom'}
/>
  1. Run the app on an Android simulator (Android 14).
  2. Observe that the group icon customization does not take effect on Android.