A sample app demonstrating how to use AccountTransferApi to transfer accounts during the setup of a new device.
- Install the app on the source device.
- Add an account by going to Android Settings. Account username and password can be anything.
- Start Account Transfer flow. Read API Guide for more information on how to trigger the flow.
- After completion, install and open the app to confirm the account has been copied over.