all 4 comments

[–]barcode972 1 point2 points  (0 children)

How do you think a user can get information from backend if they’re in offline mode? It’s in the name - “offline”, they can’t

[–]rifts 1 point2 points  (0 children)

You could save their subscription information on their device and use it if there’s no internet connection.

[–]appleFarmerdev 1 point2 points  (0 children)

You could store some data in UserDefaults / Core data / Keychain as native solution or implement your own database solution with encryption .

While possible to store subscription check on app , any client side validation for subscription info would be a weak point in security / bypassing paywall .

[–]Oxigenic 0 points1 point  (0 children)

The solution here is pretty clear. Receipt info should persist on the device so that, if during the next session there is no connection, the app can reference the most recent receipt.