Question

iOS ad hoc debug - Sandbox user only has monthly access

  • 25 January 2022
  • 3 replies
  • 59 views

Userlevel 1
Badge +5

Hi,

I am trying to debug my iOS app with console.  When i set up my sandbox user, i could only select a monthly subscription.  My app offers a weekly and a monthly.


In addition, my logger messages do not display my available packages.  I see that i have 2 packages set up, but they are displaying as <private>  Is there any way to display them?

 

Thanks for your help!

Brian


3 replies

Userlevel 5
Badge +10

Hey @Dunwiddie 

We have a similar implementation on our sample app that’s worth checking out: https://github.com/RevenueCat/purchases-ios/blob/main/Examples/MagicWeather/MagicWeather/Sources/Controllers/PaywallViewController.swift#L57-L77 

 

There’s an extension example you can use (see the bottom of the link I shared) and order these products by SubscriptionPeriod . Would this work for you?

Userlevel 5
Badge +10

Hi @Dunwiddie 

We have an example on how to display available packages in our example Swift sample app here. For your weekly product, does product identifier set in RevenueCat match exactly with what’s configured in App Store Connect (ASC)? Is the product also in a “ready to submit” state in ASC?

Userlevel 1
Badge +5

Hi Tina,

 

I figured it out, and how to display them in a tableview, rather than just hardcoding buttons (like i did with my android app).

My question, and it’s not that big of a deal, is order.  My monthly was created before my weekly and therefore displaying on the screen first.  Is there a way to reorder them so that the weekly displays before the monthly?  

Reply