Skip to content

Commit 29a8b0a

Browse files
committed
MOBILE-171: Fix doc paths and clarify Flutter version note in scene example
After UISCENE_MIGRATION.md moved to the repo root, the in-source link in SceneDelegate.swift and two relative paths inside the doc still pointed at the old `mindbox_ios/...` and `../example/...` locations. Switched them to absolute GitHub URLs on `develop`, matching the developers.mindbox.ru callout and the in-source comment. Also rewrote the SceneDelegate.swift header comment: `FlutterSceneDelegate` itself needs Flutter ≥ 3.35, but the example app pins to ≥ 3.41 because of `FlutterImplicitEngineDelegate` in AppDelegate.
1 parent 7c89744 commit 29a8b0a

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

UISCENE_MIGRATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ forward them from your scene delegate.
4343
## What to add in your scene delegate
4444

4545
Copy
46-
[`example/flutter_example/ios/Runner/SceneDelegate.swift`](../example/flutter_example/ios/Runner/SceneDelegate.swift)
46+
[`example/flutter_example/ios/Runner/SceneDelegate.swift`](https://github.com/mindbox-cloud/flutter-sdk/blob/develop/example/flutter_example/ios/Runner/SceneDelegate.swift)
4747
into your `Runner` target. The two relevant calls:
4848

4949
```swift
@@ -103,7 +103,7 @@ nothing to do with the host app's scene flow. They need no changes.
103103

104104
## Reference implementation
105105

106-
[`example/flutter_example/ios/Runner`](../example/flutter_example/ios/Runner)
106+
[`example/flutter_example/ios/Runner`](https://github.com/mindbox-cloud/flutter-sdk/tree/develop/example/flutter_example/ios/Runner)
107107
is fully migrated and serves as a working reference for both the
108108
Flutter-side and Mindbox-side parts of the migration.
109109

example/flutter_example/ios/Runner/SceneDelegate.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ import UIKit
22
import Flutter
33
import Mindbox
44

5-
// Sample SceneDelegate forwarding scene events to Mindbox. Requires Flutter >= 3.35.
5+
// Sample SceneDelegate forwarding scene events to Mindbox.
6+
// `FlutterSceneDelegate` itself requires Flutter >= 3.35; this example app
7+
// also relies on `FlutterImplicitEngineDelegate` in AppDelegate, which is
8+
// Flutter >= 3.41.
69
// Mindbox-side notes:
7-
// https://github.com/mindbox-cloud/flutter-sdk/blob/develop/mindbox_ios/UISCENE_MIGRATION.md
10+
// https://github.com/mindbox-cloud/flutter-sdk/blob/develop/UISCENE_MIGRATION.md
811
@available(iOS 13.0, *)
912
class SceneDelegate: FlutterSceneDelegate {
1013

0 commit comments

Comments
 (0)