Merge pull request #136 from chinmaygarde/mac

Use "org.domokit" in Sky shell iOS
This commit is contained in:
Chinmay Garde 2015-07-20 11:22:26 -07:00
commit c2b57f58ff
4 changed files with 15 additions and 26 deletions

View File

@ -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",
]
}
}

View File

@ -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>

View File

@ -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>
@ -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>
<!--

View File

@ -125,7 +125,7 @@ static sky::InputEventPtr BasicInputEventFromRecognizer(
}
- (NSString*)skyInitialLoadURL {
return [NSBundle mainBundle].infoDictionary[@"com.google.sky.load_url"];
return [NSBundle mainBundle].infoDictionary[@"org.domokit.sky.load_url"];
}
- (void)connectToEngineAndLoad {