I get the same error ,but when i add "No Parameters" in "suggestions" of the intent define file, it fixed, but no matter how to change my intent's parameters of donation, it always show the summary of "No parameters". And i dont know why. Below it's my code
// If i didn't add "No parameters" in intent file, it will show the error
ControlRoomIntent *intent = [[ControlRoomIntent alloc] init];
intent.state = StateOn;
intent.ROOMNAME = @"MY BIG BIG HOUSE";
INInteraction *interaction = [[INInteraction alloc] initWithIntent:intent response:nil];
interaction.identifier = @"com.xxx.test";
[interaction donateInteractionWithCompletion:^(NSError * _Nullable error) {
if(error){
NSLog(@"donation fail %@",error.localizedDescription);
}else {
NSLog(@"donation success");
}
}];
Topic:
App & System Services
SubTopic:
General
Tags: