I am developing a Reading app for e-book content. I Have hundreds maybe thousands of contents. Adding my products as Non-consumable is not a viable option for me since there is no api to automate product adding process to app store connect. so after a little bit of research i figured an in app currency kind of approach is suitable for me. Until this point, i was thinking that without needing to sign in to the app, user can purchase and after deleting and reinstalling app, can restore what he/she purchased before, using Apple's Api. Now i realized that consumable purchases is not restorable. i cannot even retrieve the transactionId. So i need a restoration mechanism as everyone said. i could use icloud key value store. but it's an hybrid app so platform specific code would pollute my codebase. that is why i am avoiding it until i cannot. I read whole guideline about in app purchases but i couldn't find out what happens if these certain scenarios happen.
User downloads the app and without registration buys something with the consumable currency. without login there is no way that i could retreive that information after reinstallation of app. so restore purchases flow is not available if i don't use icloud key value store. so can i kind of force the user to login before purchasing anything? they can read free content without signing in. would apple be okay with that?
if option 1 is not possible can i make signing in mandatory in order to use the app?(app is basically a book and magazine reading app with some extra features) would apple be okay with this?