To avoid accidental in-app purchases, follow these steps to change your device settings:

For iOS devices:
Go to device settings → Screen time → Content & Privacy Restrictions. Choose Enable Restrictions → iTunes & App Store Purchases. You will see the Require Password option, and underneath, click Always Require.

For Android devices:
Open the Play Store → Menu → Settings → Require authentication for purchases → Select one of the authentication options:

- For all purchases through Google Play on this device. Authentication will be required for all Google Play purchases (including in-app purchases).

- Every 30 minutes. The system will request the password for Google Play purchases every 30 minutes. Just note that once you enter your password, no purchases made over the following 30 minutes will require a password.