-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
- AA SDK version: 4.81.0
- Package: react-native
Describe the problem
useSendCalls is not available for import either through @account-kit/react-native or @account-kit/react/hooks, making it unavailable in React Native builds
How to reproduce:
- Follow the Expo getting started tutorial: https://www.alchemy.com/docs/wallets/react-native/getting-started/getting-started-quickstart
- Switch the smart account client to use EIP-7702 mode:
const { client } = useSmartAccountClient({
accountParams: {
mode: "7702",
}
});- Attempt to use the client with
useSendCalls:
const { sendCallsAsync } = useSendCalls({ client });- Note, there is nowhere to import
useSendCallsfrom
Relevant code or sample repro:
import { useSendCalls } from "@account-kit/react-native";or
import { useSendCalls } from "@account-kit/react/hooks";Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working