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

Crash Wootric.java line 547 #20

Open
joelpereda opened this issue Jan 25, 2021 · 0 comments
Open

Crash Wootric.java line 547 #20

joelpereda opened this issue Jan 25, 2021 · 0 comments

Comments

@joelpereda
Copy link

Hi guys, we have a crash with @wootric/react-native-wootric v1.4.0.
We appreciate it if you can help us with this crash! Thanks

The crash is the following:
Fatal Exception: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread(ViewRootImpl.java:8370) at android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:1474) at android.view.View.requestLayout(View.java:24793) at android.view.View.setLayoutParams(View.java:17372) at android.view.WindowManagerGlobal.updateViewLayout(WindowManagerGlobal.java:436) at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:103) at android.app.Activity.onWindowAttributesChanged(Activity.java:3869) at androidx.appcompat.view.WindowCallbackWrapper.onWindowAttributesChanged(WindowCallbackWrapper.java:114) at android.view.Window.dispatchWindowAttributesChanged(Window.java:1172) at com.android.internal.policy.PhoneWindow.dispatchWindowAttributesChanged(PhoneWindow.java:3065) at android.view.Window.setSoftInputMode(Window.java:1070) at com.wootric.androidsdk.Wootric.<init>(Wootric.java:547) at com.wootric.androidsdk.Wootric.init(Wootric.java:105) at com.reactlibrary.RNWootricModule.configureWithClientID(RNWootricModule.java:57) at java.lang.reflect.Method.invoke(Method.java) at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372) at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:151) at com.facebook.react.bridge.queue.NativeRunnable.run(NativeRunnable.java) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27) at android.os.Looper.loop(Looper.java:224) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226) at java.lang.Thread.run(Thread.java:919)

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

1 participant