This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed
shell/platform/darwin/ios/framework/Source Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -337,24 +337,4 @@ + (NSString*)defaultBundleIdentifier {
337337 return @" io.flutter.flutter.app" ;
338338}
339339
340- #pragma mark - Settings utilities
341-
342- - (void )setPersistentIsolateData : (NSData *)data {
343- if (data == nil ) {
344- return ;
345- }
346-
347- NSData * persistent_isolate_data = [data copy ];
348- fml::NonOwnedMapping::ReleaseProc data_release_proc = [persistent_isolate_data](auto , auto ) {
349- [persistent_isolate_data release ];
350- };
351- _settings.persistent_isolate_data = std::make_shared<fml::NonOwnedMapping>(
352- static_cast <const uint8_t *>(persistent_isolate_data.bytes ), // bytes
353- persistent_isolate_data.length , // byte length
354- data_release_proc // release proc
355- );
356- }
357-
358- #pragma mark - PlatformData utilities
359-
360340@end
Original file line number Diff line number Diff line change @@ -36,19 +36,6 @@ flutter::Settings FLTDefaultSettingsForBundle(NSBundle* bundle = nil);
3636+ (NSString *)domainNetworkPolicy : (NSDictionary *)appTransportSecurity ;
3737+ (bool )allowsArbitraryLoads : (NSDictionary *)appTransportSecurity ;
3838
39- /* *
40- * The embedder can specify data that the isolate can request synchronously on launch. Engines
41- * launched using this configuration can access the persistent isolate data via the
42- * `PlatformDispatcher.getPersistentIsolateData` accessor.
43- *
44- * @param data The persistent isolate data. This data is persistent for the duration of the Flutter
45- * application and is available even after isolate restarts. Because of this lifecycle,
46- * the size of this data must be kept to a minimum and platform channels used for
47- * communication that does not require synchronous embedder to isolate communication
48- * close to isolate launch.
49- **/
50- - (void )setPersistentIsolateData : (NSData *)data ;
51-
5239@end
5340
5441NS_ASSUME_NONNULL_END
You can’t perform that action at this time.
0 commit comments