FlutterPluginMipushPlugin.m 654 B

123456789101112131415161718
  1. #import "FlutterPluginMipushPlugin.h"
  2. #if __has_include(<flutter_plugin_mipush/flutter_plugin_mipush-Swift.h>)
  3. #import <flutter_plugin_mipush/flutter_plugin_mipush-Swift.h>
  4. #else
  5. // Support project import fallback if the generated compatibility header
  6. // is not copied when this plugin is created as a library.
  7. // https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
  8. #import "flutter_plugin_mipush-Swift.h"
  9. #endif
  10. @implementation FlutterPluginMipushPlugin
  11. + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
  12. [SwiftFlutterPluginMipushPlugin registerWithRegistrar:registrar];
  13. }
  14. @end