This commit is contained in:
ali1169251107 2020-11-19 09:14:05 +08:00
commit f46962da29

View File

@ -34,6 +34,7 @@
NSLog(@"error: IFlySpeechConfig.plist not found"); NSLog(@"error: IFlySpeechConfig.plist not found");
assert(0); assert(0);
} }
NSMutableDictionary *plistData = [[NSMutableDictionary alloc] initWithContentsOfFile:plistPath];
self.appId = [plistData valueForKey:@"AppKey"]; self.appId = [plistData valueForKey:@"AppKey"];
} }
@ -42,10 +43,6 @@
} }
- (void) loadAppID{
NSMutableDictionary *plistData = [[NSMutableDictionary alloc] initWithContentsOfFile:plistPath];
}
#pragma mark - #pragma mark -
- (void)startListening:(CDVInvokedUrlCommand*)command - (void)startListening:(CDVInvokedUrlCommand*)command