---
title: "Discussion on \"RevenueCat on Android: why the entitlement's productIdentifier never equals the package's\" | Hashnode"
description: "Discussion on \"RevenueCat on Android: why the entitlement's productIdentifier never equals the package's\". On Android the entitlement says sub, the package says sub:basePlan, so === is false for every subscriber. A comparison that works, and upgrades too."
url: "https://hashnode.com/posts/revenuecat-android-product-identifier-base-plan/6b0ecc2c612f49728720a6c0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [RevenueCat on Android: why the entitlement's productIdentifier never equals the package's](https://mohamedgado.hashnode.dev/revenuecat-android-product-identifier-base-plan?utm_source=hashnode&utm_medium=feed)

On Android the entitlement says sub, the package says sub:basePlan, so === is false for every subscriber. A comparison that works, and upgrades too.

16h ago · 4 min read · mohamedgado.hashnode.dev  
Read the article

-   [#react-native](https://hashnode.com/tag/react-native)
-   [#android](https://hashnode.com/tag/android)
-   [#expo](https://hashnode.com/tag/expo)
-   [#revenuecat](https://hashnode.com/tag/revenuecat)

## Written by

[Mohamed Gado](https://hashnode.com/@mohamedgado)

@mohamedgado · Tanta, Egypt

  
[View profile](https://hashnode.com/@mohamedgado)

Staff Software Engineer · React, Next.js, React Native · Building Masareef, Rafiq & Nafis

Staff Software Engineer, 6+ years. I build React, Next.js, React Native and TypeScript apps for fintech and Arabic users, including Masareef, Rafiq and Nafis. Originals live at mohamedgado.com/writing.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
