I am developing a Siri enabled (Payments Domain) Application.
If I open my application first time and do not answer the Siri Authorization pop-up and say "Hey Siri send money with my 'Application Name'", Siri answers as "I need to access your 'Application Name' data to do this. Is that OK?" with NO & YES buttons.
After that there happens two different results according to my answer by speech or by touching the button;
1. If I answer by touching the button, Siri can continue the operations.
2. If I answer by speech, Siri gives error as "'My Name', we've had a problem. Please try again."
I put the Siri Authorization code as below;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Other codes here
// ....
// Ask Siri Authorization now
[INPreferences requestSiriAuthorization:^(INSiriAuthorizationStatus status) {
NSLog(@"SiriKit | Siri Authorization status %ld", (long)status);
}];
}
Is there any idea why I got the second problem?