Skip to content

[app_extension_safe] Make iOS embedder extension safe when extension_safe build flag is true #124289

@cyanglaz

Description

@cyanglaz

Adding APPLICATION_EXTENSION_API_ONLY to the defines, only compile app extension unsafe code when the flag is false.
e.g.

_isGpuDisabled =
#if APPLICATION_EXTENSION_API_ONLY      
    NO
;#else      
    [UIApplication sharedApplication].applicationState == UIApplicationStateBackground;
#endif

Part of #124287

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions