Skip to main content
All CollectionsFAQs and Troubleshooting
Add notifications for chat, react native • Getting error while adding the code snippet
Add notifications for chat, react native • Getting error while adding the code snippet

Can't import modules via @import Shake; ?

Shake Typing avatar
Written by Shake Typing
Updated over 6 months ago

Getting the following error?

Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules

Instead of #import <RNShake.h>, try using #import <Shake/Shake.h> for importing the Shake.

Did this answer your question?