Is it possible to charge for an app's widget? - ios

I want to do a monthly subscription for my apps widget, but I need help finding a way to hide the widget schema based on the in-app purchase. Is it possible?
This is not a widget app - this is an iOS app with a widget extension.
When I go to add a widget, my app's widget is shown to add for free.

Related

How to change the button on the app store to say GET instead of the price? (Allow user to create account before IAP)

I just launched my first app on the IOS App Store:) I noticed that the newly released app page on the app store is requiring users to purchase the app before downloading it, how do I change the set up in app store connect to allow users to download the app before purchasing their subscription?
So right now the button where it supposed to say GET is just showing the price of the app and requiring users to purchase. Is it something i'm missing on the Pricing and Availability tab, maybe does it need to include a free option there? Any advice would be much appreciated as I can't seem to find any info on this.
Set the price to zero (i.e. move it to the free tier) on the Pricing and Availability tab in App Store Connect and the button will say "GET", so the users will be able to download the app for free.
This however will not automatically mean that your users will be able to make in-app purchases in your app, you have to configure IAP products separately (and submit them for review alongside an application build for the first time) and write code to handle the purchases as well as to provide a UI that enables that.

Is there a way to lock/unlock iOS 14 widgets?

So I want to offer the widget only for paid(IAP) subscribers. Is there a way to lock the widget and unlock if once user has paid?
Widgets are made as separate target and their configuration is independent from user purchase state.
However you can configure how widgets will appear, based on user subscription state and for example disable their content, informing user that he has to be premium to see it's content.
I think it also makes more sense to alter content for widgets instead of hiding it from widgets library - to handle case when user subscription has expired, but user added it already to his screen.

iOS In-App purchase inside Action Extension

Is it possible to create Custom iOS Extension, probably of type Action
https://developer.apple.com/app-extensions/
And inside its content purchase product using in-app purchase ?
Let say I have limited app, with extension functionality and I want to give them option to buy it, while they are still inside their app, using extension itself.

Enable Today's View widget via in-app purchase

What I have done so far:
I have created a Today's widget via app extension for my containing app. Widget is working perfectly the way I want. My application has the feature of in-app purchases.
What I want:
I want the widget to not show up(even the name of widget) in Today's view unless the user don't make purchases from the containing app.
p.s
In-app purchases is working fine and I have a UserDefault in my Today's view controller which tells me whether user has made in-app purchases or not.
You don't get to make that choice.
If the today extension exists, it shows up in the list. No exceptions.
If the user enables the today extension, it's enabled.
What you would need to do is let the today extension be displayed, but without whatever functionality your in-app purchase enables. You can't have the extension and prevent it from appearing, but you can still control what it shows when it's visible.
I'm just gonna point out that enabling widget functionality via IAP will most probably get rejected from the App Store(as it recently did for me).
Here's the message I got in Resolution Center:
The Today Extension should provide some functionality before purchase
with IAP per the App Extension Programming Guide.

Move In App Purchase items from one app to an other?

I have an old app with in app purchase items. We are moving to a totally new app that will sell the same items while the old one will not be in use.
Can we move the items to the new app in iTunes connect?
No, you cannot. The IAP process is governed completely by Apple. You can probably set up a server generating promo codes for the users of the old app. And using the promo code unlocks the features in the new app?
Or some document type that could be sent via email and when your app opens it, unlocks the content.
You will need some mechanism to ensure these (either the promo code or the files) are used just once.

Resources