Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢冠章
flutter_boost_1.22.4
Commits
13db5c72
Commit
13db5c72
authored
Apr 25, 2019
by
Jidong Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1,Set default value for accessibility enable to YES.
2,Some code opt.
parent
1d1e0c42
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
31 additions
and
24 deletions
+31
-24
.gitignore
.gitignore
+2
-1
example/ios/.symlinks/plugins/flutter_boost
example/ios/.symlinks/plugins/flutter_boost
+1
-1
example/ios/.symlinks/plugins/xservice_kit
example/ios/.symlinks/plugins/xservice_kit
+1
-1
example/ios/Podfile.lock
example/ios/Podfile.lock
+8
-9
example/ios/Runner.xcodeproj/project.pbxproj
example/ios/Runner.xcodeproj/project.pbxproj
+3
-4
example/ios/Runner/DemoRouter.m
example/ios/Runner/DemoRouter.m
+4
-0
example/pubspec.yaml
example/pubspec.yaml
+0
-2
ios/Classes/Adaptor/FLBFlutterEngineOld.m
ios/Classes/Adaptor/FLBFlutterEngineOld.m
+6
-1
ios/Classes/Adaptor/FLBFlutterViewControllerAdaptor.m
ios/Classes/Adaptor/FLBFlutterViewControllerAdaptor.m
+2
-2
ios/Classes/Boost/FLBPlatform.h
ios/Classes/Boost/FLBPlatform.h
+3
-2
pubspec.yaml
pubspec.yaml
+1
-1
No files found.
.gitignore
View file @
13db5c72
...
@@ -7,4 +7,5 @@
...
@@ -7,4 +7,5 @@
build/
build/
pubspec.lock
pubspec.lock
.flutter-plugins
.flutter-plugins
\ No newline at end of file
flutter
example/ios/.symlinks/plugins/flutter_boost
View file @
13db5c72
/Users/jidong/Documents/FlutterBoost
/Users/jidong/Documents/opensource/flutter_boost
\ No newline at end of file
\ No newline at end of file
example/ios/.symlinks/plugins/xservice_kit
View file @
13db5c72
/Users/jidong/.pub-cache/hosted/pub.dartlang.org/xservice_kit-0.0.26
/Users/jidong/.pub-cache/hosted/pub.dartlang.org/xservice_kit-0.0.27
\ No newline at end of file
\ No newline at end of file
example/ios/Podfile.lock
View file @
13db5c72
...
@@ -7,21 +7,20 @@ PODS:
...
@@ -7,21 +7,20 @@ PODS:
- Flutter
- Flutter
DEPENDENCIES:
DEPENDENCIES:
- flutter_boost (from `/Users/jidong/Documents/FlutterBoost/ios`)
- Flutter (from `.symlinks/flutter/ios`)
- xservice_kit (from `/Users/jidong/.pub-cache/hosted/pub.dartlang.org/xservice_kit-0.0.26/ios`)
- flutter_boost (from `/Users/jidong/Documents/opensource/flutter_boost/ios`)
- xservice_kit (from `/Users/jidong/.pub-cache/hosted/pub.dartlang.org/xservice_kit-0.0.27/ios`)
SPEC REPOS:
https://github.com/cocoapods/specs.git:
- Flutter
EXTERNAL SOURCES:
EXTERNAL SOURCES:
Flutter:
:path: ".symlinks/flutter/ios"
flutter_boost:
flutter_boost:
:path: "/Users/jidong/Documents/
FlutterB
oost/ios"
:path: "/Users/jidong/Documents/
opensource/flutter_b
oost/ios"
xservice_kit:
xservice_kit:
:path: "/Users/jidong/.pub-cache/hosted/pub.dartlang.org/xservice_kit-0.0.2
6
/ios"
:path: "/Users/jidong/.pub-cache/hosted/pub.dartlang.org/xservice_kit-0.0.2
7
/ios"
SPEC CHECKSUMS:
SPEC CHECKSUMS:
Flutter:
fa617360ba1995d522016bfa59d68df27ac12e02
Flutter:
9d0fac939486c9aba2809b7982dfdbb47a7b0296
flutter_boost: 24249d12d924d858cf445a84949484bc08bca000
flutter_boost: 24249d12d924d858cf445a84949484bc08bca000
xservice_kit: a86c64372b3e41e7d8e9b1a0b9139866680f525c
xservice_kit: a86c64372b3e41e7d8e9b1a0b9139866680f525c
...
...
example/ios/Runner.xcodeproj/project.pbxproj
100755 → 100644
View file @
13db5c72
...
@@ -200,7 +200,6 @@
...
@@ -200,7 +200,6 @@
TargetAttributes
=
{
TargetAttributes
=
{
97C146ED1CF9000F007C117D
=
{
97C146ED1CF9000F007C117D
=
{
CreatedOnToolsVersion
=
7.3.1
;
CreatedOnToolsVersion
=
7.3.1
;
DevelopmentTeam
=
E83K84RE26
;
};
};
};
};
};
};
...
@@ -261,7 +260,7 @@
...
@@ -261,7 +260,7 @@
);
);
inputPaths
=
(
inputPaths
=
(
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh"
,
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh"
,
"${PODS_ROOT}/
Flutter
/Flutter.framework"
,
"${PODS_ROOT}/
../.symlinks/flutter/ios
/Flutter.framework"
,
);
);
name
=
"[CP] Embed Pods Frameworks"
;
name
=
"[CP] Embed Pods Frameworks"
;
outputPaths
=
(
outputPaths
=
(
...
@@ -449,7 +448,7 @@
...
@@ -449,7 +448,7 @@
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CURRENT_PROJECT_VERSION
=
"$(FLUTTER_BUILD_NUMBER)"
;
CURRENT_PROJECT_VERSION
=
"$(FLUTTER_BUILD_NUMBER)"
;
DEVELOPMENT_TEAM
=
E83K84RE26
;
DEVELOPMENT_TEAM
=
""
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(inherited)"
,
...
@@ -474,7 +473,7 @@
...
@@ -474,7 +473,7 @@
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CURRENT_PROJECT_VERSION
=
"$(FLUTTER_BUILD_NUMBER)"
;
CURRENT_PROJECT_VERSION
=
"$(FLUTTER_BUILD_NUMBER)"
;
DEVELOPMENT_TEAM
=
E83K84RE26
;
DEVELOPMENT_TEAM
=
""
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
"$(inherited)"
,
"$(inherited)"
,
...
...
example/ios/Runner/DemoRouter.m
View file @
13db5c72
...
@@ -37,6 +37,10 @@
...
@@ -37,6 +37,10 @@
}
}
}
}
-
(
BOOL
)
accessibilityEnable
{
return
YES
;
}
-
(
void
)
closePage
:(
NSString
*
)
uid
animated
:(
BOOL
)
animated
params
:(
NSDictionary
*
)
params
completion
:(
void
(
^
)(
BOOL
))
completion
-
(
void
)
closePage
:(
NSString
*
)
uid
animated
:(
BOOL
)
animated
params
:(
NSDictionary
*
)
params
completion
:(
void
(
^
)(
BOOL
))
completion
...
...
example/pubspec.yaml
View file @
13db5c72
...
@@ -14,8 +14,6 @@ environment:
...
@@ -14,8 +14,6 @@ environment:
dependencies
:
dependencies
:
xservice_kit
:
^0.0.18
flutter
:
flutter
:
sdk
:
flutter
sdk
:
flutter
...
...
ios/Classes/Adaptor/FLBFlutterEngineOld.m
View file @
13db5c72
...
@@ -47,7 +47,12 @@
...
@@ -47,7 +47,12 @@
method_exchangeImplementations
(
originalMethod
,
swizzledMethod
);
method_exchangeImplementations
(
originalMethod
,
swizzledMethod
);
_viewController
=
[
FLBFlutterViewControllerAdaptor
new
];
_viewController
=
[
FLBFlutterViewControllerAdaptor
new
];
_viewController
.
accessibilityEnable
=
[
platform
accessibilityEnable
];
if
([
platform
respondsToSelector
:
@selector
(
accessibilityEnable
)]){
_viewController
.
accessibilityEnable
=
[
platform
accessibilityEnable
];
}
else
{
_viewController
.
accessibilityEnable
=
YES
;
}
[
_viewController
view
];
[
_viewController
view
];
Class
clazz
=
NSClassFromString
(
@"GeneratedPluginRegistrant"
);
Class
clazz
=
NSClassFromString
(
@"GeneratedPluginRegistrant"
);
if
(
clazz
)
{
if
(
clazz
)
{
...
...
ios/Classes/Adaptor/FLBFlutterViewControllerAdaptor.m
View file @
13db5c72
...
@@ -50,12 +50,12 @@
...
@@ -50,12 +50,12 @@
-
(
void
)
viewWillDisappear
:(
BOOL
)
animated
-
(
void
)
viewWillDisappear
:(
BOOL
)
animated
{
{
[[
UIApplication
sharedApplication
]
sendAction
:
@selector
(
resignFirstResponder
)
to
:
nil
from
:
nil
forEvent
:
nil
];
[[
UIApplication
sharedApplication
]
sendAction
:
@selector
(
resignFirstResponder
)
to
:
nil
from
:
nil
forEvent
:
nil
];
//
miss
super call intentionally.
//
Avoid
super call intentionally.
}
}
-
(
void
)
viewDidDisappear
:(
BOOL
)
animated
-
(
void
)
viewDidDisappear
:(
BOOL
)
animated
{
{
//
Miss
super call intentionally.
//
Avoid
super call intentionally.
[[[
UIApplication
sharedApplication
]
keyWindow
]
endEditing
:
YES
];
[[[
UIApplication
sharedApplication
]
keyWindow
]
endEditing
:
YES
];
}
}
...
...
ios/Classes/Boost/FLBPlatform.h
View file @
13db5c72
...
@@ -28,10 +28,11 @@ NS_ASSUME_NONNULL_BEGIN
...
@@ -28,10 +28,11 @@ NS_ASSUME_NONNULL_BEGIN
@protocol
FLBPlatform
<
NSObject
>
@protocol
FLBPlatform
<
NSObject
>
@
required
@
optional
//Whether to enable accessibility support. Default value is Yes.
-
(
BOOL
)
accessibilityEnable
;
-
(
BOOL
)
accessibilityEnable
;
@required
-
(
void
)
openPage
:(
NSString
*
)
name
-
(
void
)
openPage
:(
NSString
*
)
name
params
:(
NSDictionary
*
)
params
params
:(
NSDictionary
*
)
params
animated
:(
BOOL
)
animated
animated
:(
BOOL
)
animated
...
...
pubspec.yaml
View file @
13db5c72
...
@@ -11,7 +11,7 @@ dependencies:
...
@@ -11,7 +11,7 @@ dependencies:
flutter
:
flutter
:
sdk
:
flutter
sdk
:
flutter
xservice_kit
:
^0.0.2
6
xservice_kit
:
^0.0.2
7
# For information on the generic Dart part of this file, see the
# For information on the generic Dart part of this file, see the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment