-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Open
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Use case
I came across these functions in FlutterAppDelegate.mm:
- (BOOL)application:(UIApplication*)application shouldSaveApplicationState:(NSCoder*)coder {
[coder encodeInt64:self.lastAppModificationTime forKey:kRestorationStateAppModificationKey];
return YES;
}
These APIs are also deprecated, and we should check if they are still working after adopting SceneDelegate.
Unlike other APIs, the new state restoration API seems to be a non-trivial change: https://developer.apple.com/documentation/uikit/restoring-your-app-s-state
Proposal
- Double check if the existing state restoration still works after adopting scene delegate
- Migrate to SceneDelegate APIs
gaaclarke
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team