For the complete documentation index, see llms.txt. This page is also available as Markdown.
Create the iOS bridge
Create the native files for your module by opening your workspace file on Xcode, select your project, and right-click to add a new file. Select Cocoa Touch Class, give the name, and create it.
Step 1 - BridgeClassDemo.h
Create the bridge by copying the code below into your BridgeClassDemo.h file
import { NativeModules } from 'react-native';
var BridgeClassDemo = NativeModules.BridgeClassDemo;
//Let's show it
BridgeClassDemo.start(@"DeviceToken")
BridgeClassDemo.enableSDK()
BridgeClassDemo.disableSDK()
//BridgeClassDemo.yourmetod()