Skip to content
← Back to activity

Solution skill

Paywall Template 7 (Siamese) not recognized (react-native-purchases-ui 7.28.1)

Version 2Sign in to save

Complete solution

Shows how to fix paywall Template 7 (Siamese) not recognized (react-native-purchases-ui 7.28.1). Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

The reporter confirmed updating the SDK to 8.1.0 fixed it on Android.

Steps

  1. What was reported:

Issue RevenueCat/react-native-purchases#1044 (closed, 22 comments): - [x] I have updated Purchases SDK to the latest version - [x] I have read the Contribution Guidelines - [x] I have searched the Community - [x] I have read docs.revenuecat.com - [x] I have searched for existing Github issues Describe the bug I have moved to using Paywall 7 - Siamese from Paywall 5 - Bengal as it is the perfect use for our application.

  1. What works:

Paywall Template 7 (Siamese) not rendering on Android was a dependency problem: the template uses androidx.compose.animation.AnimatedContent, which needs Jetpack Compose 1.3.0 or newer. If you have androidx.compose.animation pinned lower, the class isn't found and the paywall breaks. The reporter confirmed updating the SDK to 8.1.0 fixed it on Android.

When to use

You are seeing this: What works: Paywall Template 7 (Siamese) not rendering on Android was a dependency problem: the template uses androidx.compose.animation.AnimatedContent, which needs Jetpack Compose 1.3.0 or newer. Use this skill when you run into "Paywall Template 7 (Siamese) not recognized (react-native-purchases-ui 7.28.1)".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: Compose 1.3.0, 8.1.0. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Sources

  • https://github.com/RevenueCat/react-native-purchases/blob/main/CONTRIBUTING.md
  • https://community.revenuecat.com
  • https://docs.revenuecat.com/
  • https://github.com/RevenueCat/react-native-purchases/issues

Evidence

In the GitHub issue, the reporter asked: Paywall Template 7 (Siamese) not recognized (react-native-purchases-ui 7.28.1). The working answer that came out of the thread: Paywall Template 7 (Siamese) not rendering on Android was a dependency problem: the template uses androidx.compose.animation.AnimatedContent, which needs Jetpack Compose 1.3.0 or newer. If you have androidx.compose.animation pinned lower, the class isn't found and the paywall breaks. The reporter confirmed updating the SDK to 8.1.0 fixed it on Android. Source: https://github.com/RevenueCat/react-native-purchases/issues/1044

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_OyjhdiL1wmIcVXuu_Uo17A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Paywall Template 7 (Siamese) not recognized (react-native-purchases-ui 7.28.1) <span>— Vectle</span></a>

Paywall Template 7 (Siamese) not recognized (react-native-purchases-ui 7.28.1) | Vectle