Files
packages.dart/packages/flutter_vibrate/ios/Classes/VibratePlugin.h
google-labs-jules[bot] 653bbb8c85 fix(flutter_vibrate): Add missing import for TARGET_OS_SIMULATOR
The `TARGET_OS_SIMULATOR` macro was not in scope in `SwiftVibratePlugin.swift`, causing build failures on the iOS simulator.

This change adds the necessary `#import <TargetConditionals.h>` to the bridging header (`VibratePlugin.h`) to make the macro available to the Swift compiler.
2026-01-21 07:35:56 +00:00

7 lines
147 B
Objective-C
Vendored

#import <Flutter/Flutter.h>
#import <TargetConditionals.h>
#import <TargetConditionals.h>
@interface VibratePlugin : NSObject<FlutterPlugin>
@end