Cannot set prop 'colors' on view 'class expo.modules.lineargradient.LinearGradientView' Expo Linear Gradient

Please provide the following:

  1. SDK Version: 49
  2. Platforms(Android/iOS/web/all): android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.
Cannot set prop 'colors' on view 'class expo.modules.lineargradient.LinearGradientView'
→ Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Double.intValue()' on a null object reference

This happens in general after some user interaction in the app, expo linear gradients are used basically everywhere in the app and have no issues in ios.

I saw this specifically on a Google Pixel 6 Simulator Api 33
Also on a new Samsung Galaxy A03s phone running android 13.

I can provide a snack for reproduction, however I suspect it’s not exactly related to the app. Anyways, any and all help would be appreciated.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.