override suspend fun purchase(storePackage: Package): PurchasesError? = suspendCoroutine { cont -> Purchases.sharedInstance.purchase( storePackage, onSuccess = { transaction, customer -> cont.resume(null) }, onError = { err: PurchasesError, userCanceled: Boolean -> cont.resume(err) }, ) }But the problem is that I have added trial in app store. And in app I choose tral + weekly it opens native bootomSheet and there is no info about trial, only weekly subscription price
This is the sheet that comes straight from Apple - if you don’t see the trial there it can be due to two things:
The user is not eligible for a trial: Users can only use trials one time per subscription group. If you have already been subscribed then cannot redeem a trial again.
It’s wrongly configured in App Store Connect: Trials are Introductory Offers, make sure you have not confused them with a promotional offer.
The products should be in “Ready to submit” when testing, they return the trial correctly. Did you already have a trial when using this sandbox account? They work the same way as in production, it can only be redeemed once.