This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit 8225b56
Chris Yang
[ios] Fix app extension not able to find assets from unloaded bundle (#46283)
Directly use "flutter_assets" as the default path to find the asset path, this works for app extension when the bundle is unloaded.
This PR also adds integration tests for app extensions, which also tests the asset path.
Fixes flutter/flutter#124292
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style1 parent 8bbf25e commit 8225b56
File tree
32 files changed
+1163
-16
lines changed- shell/platform/darwin
- common/framework/Source
- ios/framework/Source
- testing/scenario_app
- ios
- FlutterAppExtensionTestHost
- FlutterAppExtensionTestHost.xcodeproj
- project.xcworkspace
- FlutterAppExtensionTestHost
- Assets.xcassets
- AccentColor.colorset
- AppIcon.appiconset
- Base.lproj
- Scenarios
- Scenarios.xcworkspace
- Scenarios
- Scenarios.xcodeproj
- ScenariosUITests
- lib/src
32 files changed
+1163
-16
lines changedLines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
61 | 70 | | |
62 | 71 | | |
63 | 72 | | |
64 | | - | |
65 | | - | |
| 73 | + | |
66 | 74 | | |
67 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
68 | 79 | | |
69 | 80 | | |
70 | 81 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
0 commit comments