feat(mobile): gate publish behind subscription, surface free trial

Publishing (including re-publishing after a lapsed subscription —
PRD §15) now checks Pro entitlement first; if inactive, prompts the
owner to the paywall instead of calling the publish endpoint. The
paywall also flags packages with an active introductory offer as
"7 gün ücretsiz dene" (both plans now have a 7-day free trial
configured in App Store Connect, Turkey territory).
This commit is contained in:
AyrisAI
2026-08-20 13:23:55 +03:00
parent 5a0c1ddc82
commit d87f66efff
2 changed files with 28 additions and 0 deletions
@@ -144,6 +144,11 @@ export default function SubscriptionScreen() {
<Text style={{ fontSize: 13, color: "#78716C", marginTop: 2 }}>
{pkg.product.priceString} / {pkg.packageType === "ANNUAL" ? "yıl" : "ay"}
</Text>
{pkg.product.introPrice ? (
<Text style={{ fontSize: 12, color: "#059669", fontWeight: "700", marginTop: 2 }}>
7 gün ücretsiz dene
</Text>
) : null}
</View>
{purchasingPackageId === pkg.identifier ? (
<ActivityIndicator color="#C8A96B" />