Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c2b57f5

Browse files
committed
Merge pull request #136 from chinmaygarde/mac
Use "org.domokit" in Sky shell iOS
2 parents e62f51a + 72032a6 commit c2b57f5

File tree

4 files changed

+15
-26
lines changed

4 files changed

+15
-26
lines changed

BUILD.gn

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@
66
group("default") {
77
testonly = true
88

9-
deps = [
10-
"//sky",
11-
"//services/sky",
12-
]
9+
if (is_ios || is_mac) {
10+
deps = [
11+
"//sky/shell",
12+
]
13+
} else {
14+
deps = [
15+
"//sky",
16+
"//services/sky",
17+
]
18+
}
1319
}

sky/shell/ios/Entitlements.xcent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
<plist version="1.0">
44
<dict>
55
<key>application-identifier</key>
6-
<string>F5T262WGN6.com.google.sky</string>
6+
<string>F5T262WGN6.org.domokit.sky</string>
77
<key>com.apple.developer.team-identifier</key>
88
<string>F5T262WGN6</string>
99
<key>get-task-allow</key>
1010
<true/>
1111
<key>keychain-access-groups</key>
1212
<array>
13-
<string>F5T262WGN6.com.google.sky</string>
13+
<string>F5T262WGN6.org.domokit.sky</string>
1414
</array>
1515
</dict>
1616
</plist>

sky/shell/ios/Info.plist

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<string>Sky</string>
1414

1515
<key>CFBundleIdentifier</key>
16-
<string>com.google.sky</string>
16+
<string>org.domokit.sky</string>
1717

1818
<key>CFBundleInfoDictionaryVersion</key>
1919
<string>6.0</string>
@@ -32,27 +32,10 @@
3232
<string>armv7</string>
3333
</array>
3434

35-
<!--
36-
mojo:// URL handlers
37-
-->
38-
<key>CFBundleURLTypes</key>
39-
<array>
40-
<dict>
41-
<key>CFBundleTypeRole</key>
42-
<string>Viewer</string>
43-
<key>CFBundleURLName</key>
44-
<string>com.google.mojo</string>
45-
<key>CFBundleURLSchemes</key>
46-
<array>
47-
<string>mojo</string>
48-
</array>
49-
</dict>
50-
</array>
51-
5235
<!--
5336
Sky Load URL
5437
-->
55-
<key>com.google.sky.load_url</key>
38+
<key>org.domokit.sky.load_url</key>
5639
<string>https://domokit.github.io/home.dart</string>
5740

5841
<!--

sky/shell/ios/sky_surface.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ - (void)notifySurfaceCreation {
125125
}
126126

127127
- (NSString*)skyInitialLoadURL {
128-
return [NSBundle mainBundle].infoDictionary[@"com.google.sky.load_url"];
128+
return [NSBundle mainBundle].infoDictionary[@"org.domokit.sky.load_url"];
129129
}
130130

131131
- (void)connectToEngineAndLoad {

0 commit comments

Comments
 (0)