HabitRPG / habitica-android

Native Android app for Habitica
GNU General Public License v3.0
1.41k stars 508 forks source link

Infinite armoire openings for premium members #2074

Closed EanLombardo closed 2 months ago

EanLombardo commented 2 months ago

Describe the bug It is possible for premium members to open the armoire an infinite amount of times by rotating the device.

To Reproduce

  1. Be a premium member with at least 100gp.
  2. Open the armoire
  3. Click the "open again for free" button that is only present for premium members. The amoire will open again as expected.
  4. Rotate the device
  5. The screen will display the item from the first opening, and will show the "open again for free" button again. Clicking that button opens the armoire giving an additional item.

You can continue opening the armoire, rotating the device, and opening it again, forever. Only having paued the cost of opening once.

Expected behavior Rotating the device should continue to display the last item that was opened and not make the "open again for free" button reappear.

Screenshots Screenshots won't really convey this big very well

Smartphone (please complete the following information):

Additional context

jsoberg commented 2 months ago

Related to #2065