I’ve upgraded to Capacitor 4.3 and am using the new Http plugin. I’m having issues accessing local files after upgrading. The particular example I have is for loading ngx-translate translation files. It appears that it is trying to use the native HTTP rather than loading from the local filesystem. Anyone have any ideas on how to bypass or work around this? Thanks!
import { HttpClient } from '@angular/common/http';
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
export function createTranslateLoader(http: HttpClient) {
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
}