Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: java.lang.IllegalArgumentException: Cannot set 'translationZ' on NotificationStackScrollLayout #2069

Closed
1 task done
dorshay6 opened this issue Apr 30, 2024 · 2 comments

Comments

@dorshay6
Copy link

dorshay6 commented Apr 30, 2024

What happened?

After updating to the latest SDK, I get this error on the Google Play pre-release dashboard.

Using react-native-onesigna 5.1.2

Exception java.lang.IllegalArgumentException: Cannot set 'translationZ' to Float.NaN
  at android.view.View.sanitizeFloatPropertyValue (View.java:18212)
  at android.view.View.sanitizeFloatPropertyValue (View.java:18186)
  at android.view.View.setTranslationZ (View.java:18409)
  at com.android.systemui.statusbar.notification.stack.ViewState.applyToView (ViewState.java:100)
  at com.android.systemui.statusbar.notification.stack.ExpandableViewState.applyToView (ExpandableViewState.java)
  at com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.startAnimationToState$1 (NotificationStackScrollLayout.java:1187)
  at com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout$1.onPreDraw (NotificationStackScrollLayout.java:2407)
  at android.view.ViewTreeObserver.dispatchOnPreDraw (ViewTreeObserver.java:1093)
  at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3491)
  at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:2286)
  at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8948)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1231)
  at android.view.Choreographer$CallbackRecord.run (Choreographer.java:1239)
  at android.view.Choreographer.doCallbacks (Choreographer.java:899)
  at android.view.Choreographer.doFrame (Choreographer.java:832)
  at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:1214)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:201)
  at android.os.Looper.loop (Looper.java:288)
  at android.app.ActivityThread.main (ActivityThread.java:7898)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)
Screenshot 2024-04-30 at 18 58 15

Steps to reproduce?

1. Install react-native-onesignal 5.1.2
2. Deploy build to app stores

What did you expect to happen?

Not having the error.

OneSignal Android SDK version

5.2.1

Android version

13

Specific Android models

* Pixel 6

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jennantilla
Copy link
Contributor

Hi @dorshay6 thanks for reaching out! I'm not seeing OneSignal mentioned in the stack trace; do you have any additional details on reproducing this? What version of the SDK did you upgrade from?

Thank you!

@emawby
Copy link
Contributor

emawby commented May 20, 2024

Closing due to inactivity

@emawby emawby closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants