Thanks to visit codestin.com
Credit goes to github.com

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

Use "org.domokit" in Sky shell iOS #136

Merged
merged 2 commits into from
Jul 20, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
group("default") {
testonly = true

deps = [
"//sky",
"//services/sky",
]
if (is_ios || is_mac) {
deps = [
"//sky/shell",
]
} else {
deps = [
"//sky",
"//services/sky",
]
}
}
4 changes: 2 additions & 2 deletions sky/shell/ios/Entitlements.xcent
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>F5T262WGN6.com.google.sky</string>
<string>F5T262WGN6.org.domokit.sky</string>
<key>com.apple.developer.team-identifier</key>
<string>F5T262WGN6</string>
<key>get-task-allow</key>
<true/>
<key>keychain-access-groups</key>
<array>
<string>F5T262WGN6.com.google.sky</string>
<string>F5T262WGN6.org.domokit.sky</string>
</array>
</dict>
</plist>
21 changes: 2 additions & 19 deletions sky/shell/ios/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<string>Sky</string>

<key>CFBundleIdentifier</key>
<string>com.google.sky</string>
<string>org.domokit.sky</string>

<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
Expand All @@ -32,27 +32,10 @@
<string>armv7</string>
</array>

<!--
mojo:// URL handlers
-->
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleURLName</key>
<string>com.google.mojo</string>
<key>CFBundleURLSchemes</key>
<array>
<string>mojo</string>
</array>
</dict>
</array>

<!--
Sky Load URL
-->
<key>com.google.sky.load_url</key>
<key>org.domokit.sky.load_url</key>
<string>https://domokit.github.io/home.dart</string>

<!--
Expand Down
2 changes: 1 addition & 1 deletion sky/shell/ios/sky_surface.mm
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ - (void)notifySurfaceCreation {
}

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

- (void)connectToEngineAndLoad {
Expand Down