Here is how to fully reset your device before a return.
This will purge all private/personal data linked to the device.
-Apple devices: How to factory reset your iPhone, iPad, or iPod touch
-Android devices: Reset your Android device to factory settings - Android Help