Hi Dennis,
Just for more information
I am developing a custom browser based on chromium for iOS.
I checkout the tag 92.0.4515.90 and ran the application.
When I am tapping the voice icon in search bar, a prompt occurs which asks for microphone permission for the first time and on allowing it the app is crashing and unfortunately I am unable to find any workaround.
Application is crashing in following function in browser_view_controller class of Chrome iOS:
---Here the _ voiceSearchController variable turns out to be a nullptr
#pragma mark - Private Methods: Voice Search
- (void)ensureVoiceSearchControllerCreated {
if (!_voiceSearchController) {
VoiceSearchProvider* provider =
ios::GetChromeBrowserProvider()->GetVoiceSearchProvider();
if (provider) {
_voiceSearchController =
provider->CreateVoiceSearchController(self.browser);
if (self.primaryToolbarCoordinator) {
_voiceSearchController->SetDispatcher(
static_cast<id<LoadQueryCommands>>(self.commandDispatcher));
}
}
}
}
Need help in figuring out if I am missing anything to use voice search.
From:
Dennis Sebalemba <dennis.s...@gmail.com>
Date: Wednesday, 15 September 2021 at 5:51 PM
To: Chromium-dev <chromi...@chromium.org>
Cc: Arora, Akhil <ts-akhi...@rakuten.com>
Subject: Re: Regarding Voice Search Search in Chrome iOS
[EXTERNAL] This message comes from an external organization.