Skip to content

Commit e0afe26

Browse files
committed
feat: add stub for listTokens on iOS, returning an empty array
1 parent e29f876 commit e0afe26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ async function resumeAddCardToGoogleWallet(cardData: AndroidResumeCardData): Pro
112112

113113
async function listTokens(): Promise<TokenInfo[]> {
114114
if (Platform.OS === 'ios') {
115-
throw new Error('listTokens is not available on iOS');
115+
return Promise.resolve([]);
116116
}
117117

118118
if (!Wallet) {

0 commit comments

Comments
 (0)