// ios/QmsPlugin/QmsPlugin.mm
#import <React/RCTBridgeModule.h>
#import <ReactCommon/RCTTurboModule.h>
#import <QmsPluginFramework/QmsPlugin.h>
#import "QmsPluginSpec.h"                 

@interface QmsPlugin : NSObject <RCTBridgeModule>
@end

@implementation QmsPlugin

RCT_EXPORT_MODULE();

- (NSNumber *)multiply:(double)a b:(double)b {
    // Call into your XCFramework function
    return QmsPluginMultiply(a, b);
}

- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
    (const facebook::react::ObjCTurboModule::InitParams &)params
{
    return std::make_shared<facebook::react::NativeQmsPluginSpecJSI>(params);
}

@end
