Skip to content

getSecureWalletInfo documentation inaccurate - supported on Android only, not iOS #52

@wkedzierawski

Description

@wkedzierawski

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');
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions