Chinmay Garde
53900d5189
Revert "Issue 13238: on iOS, force an orientation change when the current orientation is not allowed" ( #13160 )
...
This reverts commit c38ed2ca1c8af167383fe5732539e281d41e9128.
2019-10-15 17:24:49 -07:00
Josh
c38ed2ca1c
Issue 13238: on iOS, force an orientation change when the current orientation is not allowed ( #12295 )
2019-10-15 14:36:59 -07:00
gaaclarke
4243fdb868
Removed retain cycle from notification center. ( #13073 )
2019-10-11 11:34:11 -07:00
Chinmay Garde
835838ce4a
Put Metal renderer selection behind runtime flag and plist opt-in. ( #13056 )
2019-10-10 13:03:04 -07:00
Chinmay Garde
86e3ebb748
Allow embedders to specify arbitrary data to the isolate on launch. ( #13047 )
...
Since this is currently only meant to be used by the embedding internally, the setter in Objective-C is only exposed via the FlutterDartProject private class extension. Unit tests have been added to the shell_unittests harness.
Fixes https://github.com/flutter/flutter/issues/37641
2019-10-10 12:31:14 -07:00
gaaclarke
6b56ed7f6f
Refactor: FlutterDartProject ( #13006 )
...
- Removed unused instance variable
- Explicitly listed nullability
2019-10-09 07:21:44 -07:00
Dan Field
2f352d6629
Fix for a11y crash on iOS ( #12990 )
2019-10-08 16:37:09 -07:00
gaaclarke
9f650edd14
Started setting our debug background task id to invalid after completion. ( #12999 )
2019-10-08 13:12:52 -07:00
Kate Lovett
58d7b84177
Re-land Adding Link Semantics ( #12972 )
2019-10-08 11:27:56 -07:00
Kate Lovett
ac45051f2a
Revert "Adding Link SemanticsFlag ( #12453 )" ( #12815 )
...
This reverts commit 974ca210f5275aee0775b363e9c3416e1603cf73.
2019-10-04 17:06:32 -07:00
Kate Lovett
974ca210f5
Adding Link SemanticsFlag ( #12453 )
2019-10-04 12:51:10 -07:00
gaaclarke
a727401947
Enabled people to chose if SystemNavigator.pop is animated on iOS. ( #12752 )
2019-10-03 16:57:32 -07:00
gaaclarke
142cf001bc
Revert "Manage resource and onscreen contexts using separate IOSGLContext objects ( #12277 )" ( #12773 )
...
This reverts commit 5a8da65592e4bdf0e833bc7bcf30b589bf63ce17.
2019-10-03 13:25:30 -07:00
Chris Yang
bf620dc568
Reland "Add iOS platform view mutation XCUITests to the scenario app( #11652 )" ( #12707 )
2019-10-02 01:51:31 +08:00
gaaclarke
ddf98c0cba
Cleanup: Turned on NS_ASSUME_NONNULL_BEGIN for FlutterViewController. ( #12708 )
...
Cleanup: Turned on NS_ASSUME_NONNULL_BEGIN for FlutterViewController
2019-10-01 09:55:49 -07:00
gaaclarke
669cbba088
Cleanup: Made a macro to assert ARC is enabled. ( #12701 )
...
Cleanup: Made a macro to assert ARC is enabled (and its inverse).
2019-09-30 14:47:54 -07:00
gaaclarke
3c271bb942
Started asserting the FlutterEngine is running before communicating over channels. ( #12469 )
...
Started asserting the FlutterEngine is running before communicating
over channels. This changes a null pointer exception to an
NSException that will provide some meaningful data to clients
incorrectly using the engine in an add-to-app situations.
2019-09-27 15:18:45 -07:00
gaaclarke
57f35d2763
Split out the logic to handle status bar touches into its own function ( #12587 )
...
Split out the logic to handle status bar touches into its own function. This should make add-to-app clients' lives easier.
2019-09-27 15:10:28 -07:00
gaaclarke
92d30c0cc8
Added a default entrypoint variable to match android syntax. ( #12370 )
...
Made creating and using a FlutterEngine a bit easier, to try to get it get it as easy to use as Android's equivalent.
* Added a default entrypoint variable.
* I added `run` to and `initWithName:` to FlutterEngine.
2019-09-26 17:11:45 -07:00
Chinmay Garde
5b5fd7508c
Revert "Support accessibility labels on iOS switches. ( #12404 )" ( #12466 )
...
This reverts commit 147d0c3805499f5302f763da01fc40259b1a22ee.
2019-09-26 12:52:52 -07:00
brandondiamond
147d0c3805
Support accessibility labels on iOS switches. ( #12404 )
2019-09-26 11:14:44 -07:00
xster
4159c2bfed
Make iOS FlutterViewController stop sending inactive/pause on app lifecycle events when not visible ( #12128 )
2019-09-17 12:00:46 -07:00
George Wright
5a8da65592
Manage resource and onscreen contexts using separate IOSGLContext objects ( #12277 )
...
Manage resource and onscreen contexts using separate IOSGLContext objects.
FlutterView owns the onscreen context, and PlatformViewIOS owns the resource context.
2019-09-16 16:17:46 -07:00
Qxyat
7d42bc70cf
Reset NSNetService delegate to nil,when stop service. ( #11270 )
2019-09-16 10:45:52 -07:00
Kaushik Iska
289d1eaaa9
Revert "Add iOS platform view mutation XCUITests to the scenario app ( #11652 )" ( #12292 )
...
This reverts commit b73cfdad4f88ddfad6114c77633a0947f0c5fff5.
2019-09-15 17:57:54 -07:00
Chris Yang
b73cfdad4f
Add iOS platform view mutation XCUITests to the scenario app ( #11652 )
2019-09-16 07:56:24 +08:00
gaaclarke
5075172fe7
FlutterViewController notify will dealloc ( #12232 )
...
Made the flutter view controllers dealloc notification more
generic and started turning off semantics when the view controller
is remotely deleted.
2019-09-13 17:33:03 -07:00
Jim Graham
bbb1f12467
Adjust iOS frame start times to match the platform info ( #11802 )
2019-09-11 19:08:56 -07:00
Jim Graham
da84d59f64
Revert "Manage iOS contexts separately ( #12078 )" ( #12233 )
...
This reverts commit 4ac0663db7addd6c27904131d8260df66fa8c722.
2019-09-11 17:56:24 -07:00
George Wright
4ac0663db7
Manage iOS contexts separately ( #12078 )
...
Manage resource and onscreen contexts using separate IOSGLContext objects. FlutterView owns the onscreen context, and PlatformViewIOS owns the resource context.
2019-09-11 14:32:26 -07:00
Chinmay Garde
03e773a902
Guard availability of user notification related methods to iOS 10.0 ( #12084 )
...
* `NS_AVAILABLE_IOS(10_0)` makes us tell our compiler that the method needs
to be stamped into the TU but we promise to do stuff in it only on iOS 10.0
and above.
* `@availability` ensures that if those methods are called on iOS versions less
than 10.0, we will do nothing with it. This guards us against the case where
iOS introduced the functionality privately in older versions of iOS.
2019-09-09 20:25:29 -04:00
Maurice Parrish
9c00c26c8f
Add capability to add AppDelegate as UNUserNotificationCenterDelegate ( #9864 )
2019-09-09 14:54:00 -07:00
xster
8cdb3afd65
Annotate nullability on FlutterEngine to make swift writing more ergonomic ( #11808 )
2019-09-08 00:25:07 -07:00
Kaushik Iska
35875e0f00
Revert "Manage resource and onscreen contexts using separate IOSGLContext objects ( #11798 )" ( #12055 )
...
This reverts commit a353f93d370dded7bc7756082fbab8b519679d4d.
2019-09-06 18:12:16 -07:00
George Wright
a353f93d37
Manage resource and onscreen contexts using separate IOSGLContext objects ( #11798 )
...
Manage resource and onscreen contexts using separate IOSGLContext objects
2019-09-06 16:44:49 -07:00
xster
dd71e7be8e
remove extra redundant channels setup in iOS embedding engine ( #11886 )
2019-09-05 11:13:04 -07:00
Core
27955f2477
Fix deleting Thai vowel bug on iOS (skip string range sanitization) ( #11807 )
2019-09-04 13:19:53 -07:00
Maurice Parrish
ccdadb1dac
Add check to enable metal for import ( #11537 )
2019-08-27 14:47:14 -07:00
Qxyat
11e3ade157
Release _ongoingTouches when FlutterViewController dealloc ( #11049 )
2019-08-26 10:49:54 -07:00
Dan Field
d4932ba714
update method for skia ( #11436 )
2019-08-25 20:06:12 -07:00
Dan Field
66636eaded
Platform View implemenation for Metal ( #11070 )
2019-08-23 16:15:41 -07:00
Kaushik Iska
1e828b2326
Ios simulator unittests seem to not consider the full compilation unit ( #11413 )
...
They only reference the headers, so temporarily declaring and defining
in the header
2019-08-23 09:32:00 -07:00
Chinmay Garde
84bd736656
Update metal layer drawable size on relayout. ( #11224 )
...
This makes it so that the texture obtained by the next frame has the same dimensions as the frame being renderered.
Fixes https://github.com/flutter/flutter/issues/38754
2019-08-19 13:01:11 -07:00
Kaushik Iska
2897917b45
[dynamic_thread_merging] Resubmit only on the frame where the merge ( #11075 )
...
fixes https://github.com/flutter/flutter/issues/38735
2019-08-17 01:48:28 -07:00
Matt Carroll
5bb144ca8b
Re-lands platform brightness support on iOS, plus platform contrast ( #10791 )
2019-08-15 14:51:07 -07:00
Dan Field
f062ac44b0
Fix first frame logic ( #11027 )
2019-08-15 14:38:43 -07:00
Chinmay Garde
4c4c999778
On iOS report the preferred frames per second to tools via service protocol. ( #11006 )
2019-08-14 16:47:57 -07:00
Dan Field
90656d8824
Add isDisplayingFlutterUI to FlutterViewController ( #10816 )
2019-08-14 09:10:22 -07:00
Dan Field
e22893966a
Expose isolateId for engine ( #10823 )
2019-08-12 21:20:59 -07:00
Kaushik Iska
b5c198b699
Fix iOS references to PostPrerollResult ( #10949 )
2019-08-12 13:01:11 -07:00