It works the same way as the exploit @Satsuki posted.
- Open the game and go to the main screen with the levels.
- Press the home button.
- Open the camera (press L+R).
- Click on the QR Code symbol and scan it.
- Wait for the browser to crash.
- Go back to the game and everything will cost 0 gems.
This is the code:
Have fun!