Skip to main content
Question

react-native-purchase-ui common-mark duplicate classes error

  • May 22, 2024
  • 1 reply
  • 113 views

Forum|alt.badge.img+2

Currently react-native-purchases library works great for both iOS and Android. On the other hand whenever we implement react-native-purchases-ui, it will only work for iOS but fails in Android with this duplicate class error:

com.atlassian.commonmark:commonmark:0.13.0) and jetified-commonmark-0.21.0 (org.commonmark:commonmark:0.21.0) Duplicate class org.commonmark.internal.HtmlBlockParser found in modules jetified-commonmark-0.13.0 (com.atlassian.commonmark:commonmark:0.13.0) and jetified-commonmark-0.21.0 (org.commonmark:commonmark:0.21.0) Duplicate class org.commonmark.internal.HtmlBlockParser$1 found in modules jetified-commonmark-0.13.0 (com.atlassian.commonmark:commonmark:0.13.0) and jetified-commonmark-0.21.0 (org.commonmark:commonmark:0.21.0)

 

We’ve tried everything from downgrading libraries, upgrading our react builds, etc. That error just does not seem to go away

We’ve searched our project and arent using any commonmark packages or anything anywhere. Has anyone had this issue?

This post has been closed for comments

1 reply

kaitlin
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 390 replies
  • May 24, 2024

Hey @homecarevalet!

I see you’ve got a support ticket open with us, but I wanted to post this similar GitHub issue as well to see if what helped this user may help you as well: https://github.com/RevenueCat/purchases-android/issues/1667


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings