Hello, I have the problem that my API Calls works on Android and in Browser but somehow they dont work on iOS Apps? And yes im using https.
Im using import { Http } from '@angular/http';
for my Calls.
Anyone did faced the same issue?
Hello, I have the problem that my API Calls works on Android and in Browser but somehow they dont work on iOS Apps? And yes im using https.
Im using import { Http } from '@angular/http';
for my Calls.
Anyone did faced the same issue?
See: https://sentry.io/
sentry-error-handler.ts:
import { IonicErrorHandler } from 'ionic-angular';
import { ENV } from '@env';
import * as Raven from 'raven-js';
const ravenConfig = {
release: ENV.version
};
Raven.config(ENV.sentryDsn, ravenConfig).install();
export class SentryErrorHandler extends IonicErrorHandler {
constructor() {
super();
}
handleError(error: any): void {
if (!ENV.production) {
return super.handleError(error);
}
try {
Raven.captureException(error.originalError || error);
} catch (err) {}
}
}
Ref: https://robferguson.org/blog/2018/09/14/pwa-tips-and-tricks/