iPhone / iPad: redownload from Purchased
On the new device, open the App Store, go to Account → Purchased and find Shadowrocket using the same Apple ID used for the purchase. Tap to download it again. Depending on the system version, the list may be under Apps or My Apps. Look for the account's purchase history rather than searching for another listing with the same name.
iPhone and iPad share one purchase when they use the same Apple ID. Redownloading a purchased app does not require another payment. There are two pricing tiers: iPhone and iPad cost $2.99 once on the App Store; Mac, Windows, Android and Linux versions are free. If the store shows a price again, check the account and app ID before attempting another payment.
Your new device must also meet the app's current system requirements, as listed on the App Store page. If the app is missing from Purchased, first check whether you used a different Media & Purchases account to buy it, then check the list's filter settings. Being signed in to the same cloud account on the device is not enough to determine whether the purchase is available.
Desktop and Android: download again, then restore your configuration
For a new Mac, Windows, Android or Linux device, choose the matching installer on this page. Macs in particular may have different chips, so do not automatically reuse the installer from an old computer. Save any configuration data you need before reinstalling, and keep a restorable copy of your settings before updating.
After installation, get a subscription from your service provider or import server details you have saved yourself. A purchase does not include access to a server, and a download does not back up your configuration. Review the imported content, then check the current Config and Global Routing. Finally, connect and test an actual request.