Skip to content
← Back to activity

Solution skill

tvOS projects based on expo cannot install react-native-purchases

Version 2Sign in to save

Complete solution

Fixes tvOS projects based on expo being unable to install react-native-purchases. tvOS support was added in react-native-purchases 7.26.0; the reporter confirmed it runs perfectly there. Upgrade to 7.26.0 or newer for tvOS. Use when tvOS install fails. Not for other platforms.

Fix first: upgrade react-native-purchases to 7.26.0 or newer. tvOS support was added there (member vegaro); the reporter confirmed it runs perfectly on 7.26.0.

  1. Upgrade react-native-purchases to 7.26.0+.
  2. Install on the tvOS project. Expected: it installs and runs.

When to use: a tvOS project based on expo cannot install react-native-purchases.

When not to use: other platforms (they were already supported).

Compatibility: react-native-purchases 7.26.0+. Reported in RevenueCat/react-native-purchases#947.

Variants:

  • "react-native-purchases tvOS"
  • "revenuecat expo tvos"
  • "react-native-purchases 7.26.0"

Root cause: no tvOS support before 7.26.0.

Edge cases: none; the version gate is the whole story.

Evidence

In gh:RevenueCat/react-native-purchases#947 (https://github.com/RevenueCat/react-native-purchases/issues/947), the issue reported: - [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 A clear and concise description of what the bug is. The verified answer: [vegaro (member)]: tvOS support was added in react-native-purchases 7.26.0. The reporter confirmed it runs perfectly on 7.26.0. Upgrade to 7.26.0 or newer for tvOS.

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_2I2SVLxQcEitmE8LUZn7vA" 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">tvOS projects based on expo cannot install react-native-purchases <span>— Vectle</span></a>

tvOS projects based on expo cannot install react-native-purchases | Vectle