Skip to main content
Solved

[Android] Method addObserver must be called on the main thread

  • Feb 26, 2022 3:54 PM UTC
  • 1 reply
  • 2065 views

Forum|alt.badge.img+4

Got this error while trying to setup Purchases 3.4.3 in React Native.

Method addObserver must be called on the main thread
Anyone faced it?

Best answer by Oswaldo Guerra

Ok. Updating to react-native-purchases 4.5.2 solves the problem.

View original
This post has been closed for comments

1 reply

Forum|alt.badge.img+4

Ok. Updating to react-native-purchases 4.5.2 solves the problem.