File tree Expand file tree Collapse file tree
example/ios/Runner.xcodeproj Expand file tree Collapse file tree Original file line number Diff line number Diff line change 181181 TargetAttributes = {
182182 97C146ED1CF9000F007C117D = {
183183 CreatedOnToolsVersion = 7.3.1;
184- DevelopmentTeam = 7X4LHQK32Q;
185184 };
186185 };
187186 };
430429 baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
431430 buildSettings = {
432431 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
433- DEVELOPMENT_TEAM = 7X4LHQK32Q ;
432+ DEVELOPMENT_TEAM = "" ;
434433 ENABLE_BITCODE = NO;
435434 FRAMEWORK_SEARCH_PATHS = (
436435 "$(inherited)",
452451 baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
453452 buildSettings = {
454453 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
455- DEVELOPMENT_TEAM = 7X4LHQK32Q ;
454+ DEVELOPMENT_TEAM = "" ;
456455 ENABLE_BITCODE = NO;
457456 FRAMEWORK_SEARCH_PATHS = (
458457 "$(inherited)",
Original file line number Diff line number Diff line change 33@implementation ScreenPlugin
44+ (void )registerWithRegistrar : (NSObject <FlutterPluginRegistrar>*)registrar {
55 FlutterMethodChannel* channel = [FlutterMethodChannel
6- methodChannelWithName: @" github.com/clovisnicolas/flutter_screen"
7- binaryMessenger: [registrar messenger ]];
6+ methodChannelWithName: @" github.com/clovisnicolas/flutter_screen"
7+ binaryMessenger: [registrar messenger ]];
88 ScreenPlugin* instance = [[ScreenPlugin alloc ] init ];
99 [registrar addMethodCallDelegate: instance channel: channel];
1010}
@@ -25,6 +25,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
2525 else if ([@" keepOn" isEqualToString: call.method]) {
2626 NSNumber *b = call.arguments [@" on" ];
2727 [[UIApplication sharedApplication ] setIdleTimerDisabled: b.boolValue];
28+ result (nil );
2829 }
2930 else {
3031 result (FlutterMethodNotImplemented);
You can’t perform that action at this time.
0 commit comments