Hi team 👋
First of all - thanks for this library, it’s very useful for bridging Google Wallet & Apple Wallet in React Native.
In the API Reference section of the README, the function getSecureWalletInfo() is described as:
Functions
| Function |
Description |
Parameters |
Returns / Type |
iOS |
Android |
| getSecureWalletInfo |
Returns necessary platform-specific wallet information for secure transactions. |
None |
WalletData |
✅ |
❌ |
According to the table: iOS = ✅, Android = ❌ for getSecureWalletInfo.
However, in practice this appears to be supported only on Android (and not on iOS), which is the opposite of what the documentation states.
In the source code, the implementation confirms this:
async function getSecureWalletInfo(): Promise<AndroidWalletData> {
if (Platform.OS === 'ios') {
throw new Error('getSecureWalletInfo is not available on iOS');
}