Recommended: JavaScript SDK for React Native
While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.
wallets.setPrimary() method on the dynamic client.
You can access the current primary wallet and switch to a different one using the reactive client:
React Native