To Reproduce
Error is directly thrown in initialization, no additional steps necessary.
Expected behavior
No error is thrown.
Additional context
We are using React 18 and the plugin has a peer dependency on React 17, so I guess this is the problem as they seem to be incompatible.
Platform
Describe the bug After adding CapacitorStripeProvider the following error is thrown:
Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
To Reproduce Error is directly thrown in initialization, no additional steps necessary.
Expected behavior No error is thrown.
Additional context We are using React 18 and the plugin has a peer dependency on React 17, so I guess this is the problem as they seem to be incompatible.