Fixes build issues

release
Laurent 3 years ago
parent 515ca9fb76
commit f01d44b547
  1. 2
      LeCountdown/AppDelegate.swift
  2. 12
      LeCountdown/SiriIntents.intentdefinition

@ -13,7 +13,7 @@ class AppDelegate : NSObject, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
UNUserNotificationCenter.current().delegate = self UNUserNotificationCenter.current().delegate = self
Conductor.maestro.cleanupCountdowns() Conductor.maestro.cleanup()
return true return true
} }

@ -37,6 +37,10 @@
<dict> <dict>
<key>INIntentParameterCombinationSupportsBackgroundExecution</key> <key>INIntentParameterCombinationSupportsBackgroundExecution</key>
<true/> <true/>
<key>INIntentParameterCombinationTitle</key>
<string>Launch your timer</string>
<key>INIntentParameterCombinationTitleID</key>
<string>PE02Dd</string>
<key>INIntentParameterCombinationUpdatesLinked</key> <key>INIntentParameterCombinationUpdatesLinked</key>
<true/> <true/>
</dict> </dict>
@ -53,6 +57,10 @@
<true/> <true/>
<key>INIntentParameterCombinationSupportsBackgroundExecution</key> <key>INIntentParameterCombinationSupportsBackgroundExecution</key>
<true/> <true/>
<key>INIntentParameterCombinationTitle</key>
<string>Launch your timer</string>
<key>INIntentParameterCombinationTitleID</key>
<string>JfqtH6</string>
</dict> </dict>
</dict> </dict>
<key>INIntentParameters</key> <key>INIntentParameters</key>
@ -83,6 +91,10 @@
<dict> <dict>
<key>INIntentParameterPromptDialogCustom</key> <key>INIntentParameterPromptDialogCustom</key>
<true/> <true/>
<key>INIntentParameterPromptDialogFormatString</key>
<string>This is the mandatory prompt for your ${timer}</string>
<key>INIntentParameterPromptDialogFormatStringID</key>
<string>6ZcaR8</string>
<key>INIntentParameterPromptDialogType</key> <key>INIntentParameterPromptDialogType</key>
<string>Primary</string> <string>Primary</string>
</dict> </dict>

Loading…
Cancel
Save