diff --git a/src/@ionic-native/plugins/firebase-x/index.ts b/src/@ionic-native/plugins/firebase-x/index.ts index 1e4846ae8d..fb94a74685 100644 --- a/src/@ionic-native/plugins/firebase-x/index.ts +++ b/src/@ionic-native/plugins/firebase-x/index.ts @@ -302,6 +302,26 @@ export class FirebaseX extends IonicNativePlugin { return; } + /** + * Enable/disable Crashlytics collection. + * @param {boolean} enabled + * @returns {Promise} + */ + @Cordova() + setCrashlyticsCollectionEnabled(enabled: boolean): Promise { + return; + } + + /** + * Enable/disable performance collection. + * @param {boolean} enabled + * @returns {Promise} + */ + @Cordova() + setPerformanceCollectionEnabled(enabled: boolean): Promise { + return; + } + /** * Log an event using Analytics * @param {string} type @@ -387,10 +407,11 @@ export class FirebaseX extends IonicNativePlugin { * The error message will appear in the Logs section of the non-fatal error event. * Also logs the error message to the native device console. * @param {string} error + * @param {object} (optional) a stack trace generated by stacktrace.js * @return {Promise} */ @Cordova() - logError(error: string): Promise { + logError(error: string, stackTrace?: object): Promise { return; }