RESOLVED FIXED 210945
[iOS] Stop using legacy BKSApplicationStateMonitor
https://bugs.webkit.org/show_bug.cgi?id=210945
Summary [iOS] Stop using legacy BKSApplicationStateMonitor
Chris Dumez
Reported 2020-04-23 17:38:49 PDT
Stop using legacy BKSApplicationStateMonitor and use RunningBoard API instead.
Attachments
Patch (11.03 KB, patch)
2020-04-23 17:41 PDT, Chris Dumez
no flags
Patch (11.02 KB, patch)
2020-04-23 17:45 PDT, Chris Dumez
no flags
Patch (11.01 KB, patch)
2020-04-23 17:50 PDT, Chris Dumez
no flags
Patch (11.09 KB, patch)
2020-04-23 17:53 PDT, Chris Dumez
no flags
Patch (11.09 KB, patch)
2020-04-23 17:54 PDT, Chris Dumez
no flags
Patch (11.76 KB, patch)
2020-04-23 18:09 PDT, Chris Dumez
no flags
Patch (11.75 KB, patch)
2020-04-23 18:41 PDT, Chris Dumez
no flags
Patch (11.75 KB, patch)
2020-04-23 19:02 PDT, Chris Dumez
thorton: review+
Chris Dumez
Comment 1 2020-04-23 17:41:57 PDT
Chris Dumez
Comment 2 2020-04-23 17:45:38 PDT
Chris Dumez
Comment 3 2020-04-23 17:50:35 PDT
Chris Dumez
Comment 4 2020-04-23 17:53:55 PDT
Chris Dumez
Comment 5 2020-04-23 17:54:32 PDT
Chris Dumez
Comment 6 2020-04-23 18:09:27 PDT
Chris Dumez
Comment 7 2020-04-23 18:41:46 PDT
Tim Horton
Comment 8 2020-04-23 18:55:09 PDT
Comment on attachment 397414 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397414&action=review > Source/WebKit/Configurations/WebKit.xcconfig:53 > +WK_ASSERTION_SERVICES_LDFLAGS_iphoneos = $(WK_ASSERTION_SERVICES_LDFLAGS_IOS$(WK_IOS_14)); > +WK_ASSERTION_SERVICES_LDFLAGS_iphonesimulator = $(WK_ASSERTION_SERVICES_LDFLAGS_IOS$(WK_IOS_14)); Drop the extra _IOS: WK_ASSERTION_SERVICES_LDFLAGS_iphoneos = $(WK_ASSERTION_SERVICES_LDFLAGS$(WK_IOS_14)); WK_ASSERTION_SERVICES_LDFLAGS_iphonesimulator = $(WK_ASSERTION_SERVICES_LDFLAGS$(WK_IOS_14)); and you should be good. Sorry for the typo! > Source/WebKit/Configurations/WebKit.xcconfig:59 > +WK_ASSERTION_SERVICES_LDFLAGS_watchos = -framework AssertionServices; > +WK_ASSERTION_SERVICES_LDFLAGS_watchsimulator = -framework AssertionServices; > +WK_ASSERTION_SERVICES_LDFLAGS_appletvos = -framework AssertionServices; > +WK_ASSERTION_SERVICES_LDFLAGS_appletvsimulator = -framework AssertionServices; At some point we should get some nice target conditional macros for these too > Source/WebKit/Configurations/WebKit.xcconfig:60 > +WK_ASSERTION_SERVICES_LDFLAGS_maccatalyst = -framework AssertionServices; You can totally use WK_MACOS_whatever for macCatalyst
Chris Dumez
Comment 9 2020-04-23 19:02:29 PDT
Tim Horton
Comment 10 2020-04-23 22:32:58 PDT
Comment on attachment 397415 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397415&action=review > Source/WebKit/Configurations/WebKit.xcconfig:55 > +// FIXME: It is unecessary to link against AssertionServices with the latest SDK for the following platforms too. sp: "unecessary"
Chris Dumez
Comment 11 2020-04-24 07:57:38 PDT
Radar WebKit Bug Importer
Comment 12 2020-04-24 07:58:14 PDT
Note You need to log in before you can comment on or make changes to this bug.