File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
example/ios/Runner.xcodeproj Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 181
181
TargetAttributes = {
182
182
97C146ED1CF9000F007C117D = {
183
183
CreatedOnToolsVersion = 7.3.1;
184
- DevelopmentTeam = 7X4LHQK32Q;
185
184
};
186
185
};
187
186
};
430
429
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
431
430
buildSettings = {
432
431
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
433
- DEVELOPMENT_TEAM = 7X4LHQK32Q ;
432
+ DEVELOPMENT_TEAM = "" ;
434
433
ENABLE_BITCODE = NO;
435
434
FRAMEWORK_SEARCH_PATHS = (
436
435
"$(inherited)",
452
451
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
453
452
buildSettings = {
454
453
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
455
- DEVELOPMENT_TEAM = 7X4LHQK32Q ;
454
+ DEVELOPMENT_TEAM = "" ;
456
455
ENABLE_BITCODE = NO;
457
456
FRAMEWORK_SEARCH_PATHS = (
458
457
"$(inherited)",
Original file line number Diff line number Diff line change 3
3
@implementation ScreenPlugin
4
4
+ (void )registerWithRegistrar : (NSObject <FlutterPluginRegistrar>*)registrar {
5
5
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 ]];
8
8
ScreenPlugin* instance = [[ScreenPlugin alloc ] init ];
9
9
[registrar addMethodCallDelegate: instance channel: channel];
10
10
}
@@ -25,6 +25,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
25
25
else if ([@" keepOn" isEqualToString: call.method]) {
26
26
NSNumber *b = call.arguments [@" on" ];
27
27
[[UIApplication sharedApplication ] setIdleTimerDisabled: b.boolValue];
28
+ result (nil );
28
29
}
29
30
else {
30
31
result (FlutterMethodNotImplemented);
You can’t perform that action at this time.
0 commit comments