How can I use '@Reactmethod' in ios?


I separated the project by doing expo eject first.

I am using jar file in libs file.Added jar file.

dependencies {
  implementation fileTree(include: ['*.jar'], dir: 'libs')

And I created react-native-module to use jar file in expo.

enter image description here

const { CreateAJarFile,NavigationBarModule } = NativeModules;

@Reactmethod worked normally on Expo in android

What I’d like to ask is how I can make my own Reactmethod available inIOS.

The module was not added to'IOS' and if the code is executed, the module will not be found.

Please tell me how to use 'IOS' as well. Please give me a lot of answers and information.

Thank you in advance.