Skip to content

useSendCalls hook unavailable through React Native package #2284

@alecananian

Description

@alecananian

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:

const { client } = useSmartAccountClient({
	accountParams: {
		mode: "7702",
	}
});
  • Attempt to use the client with useSendCalls:
const { sendCallsAsync } = useSendCalls({ client });
  • Note, there is nowhere to import useSendCalls from

Relevant code or sample repro:

import { useSendCalls } from "@account-kit/react-native";

or

import { useSendCalls } from "@account-kit/react/hooks";

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions