If you launch your app on debug, work on it, change something and save, the app gets reloaded, and then you get this:
I think Eddy got this once.
firebase().initializeApp().then(
() => {
firebase().database().persistenceEnabled = true;
firebase().crashlytics().setCrashlyticsCollectionEnabled(true);
console.log("firebase.init done");
},
error => {
console.log(`firebase.init error: ${error}`);
}
);
{
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"dependencies": {
"@angular/animations": "~13.2.0",
"@angular/common": "~13.2.0",
"@angular/compiler": "~13.2.0",
"@angular/core": "~13.2.0",
"@angular/forms": "~13.2.0",
"@angular/platform-browser": "~13.2.0",
"@angular/platform-browser-dynamic": "~13.2.0",
"@angular/router": "~13.2.0",
"@nativescript-community/ui-pulltorefresh": "^2.5.1",
"@nativescript/angular": "^13.0.0",
"@nativescript/background-http": "~5.0.0",
"@nativescript/camera": "^5.0.12",
"@nativescript/core": "^8.2.3",
"@nativescript/datetimepicker": "2.1.9",
"@nativescript/firebase-core": "^2.0.2",
"@nativescript/firebase-crashlytics": "^2.0.2",
"@nativescript/firebase-database": "^2.0.2",
"@nativescript/firebase-storage": "^2.0.2",
"@nativescript/geolocation": "~8.0.0",
"@nativescript/imagepicker": "~1.0.0",
"@nativescript/mlkit-barcode-scanning": "^1.0.5",
"@nativescript/mlkit-core": "^1.0.5",
"@nativescript/mlkit-face-detection": "^1.0.5",
"@nativescript/theme": "^3.0.1",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"@nstudio/nativescript-camera-plus": "^4.1.0",
"@nstudio/nativescript-loading-indicator": "~4.0.0",
"@nstudio/nativescript-snackbar": "~2.0.0",
"crypto-browserify": "^3.12.0",
"latest": "^0.2.0",
"nativescript-imagecropper": "~4.0.0",
"nativescript-nfc": "~5.0.0",
"nativescript-permissions": "^1.3.8",
"nativescript-sound-kak": "^1.2.0",
"nativescript-theme-core": "~1.0.4",
"nativescript-ui-chart": "~9.0.0",
"nativescript-ui-sidedrawer": "~10.0.0",
"nativescript-webview-interface": "^1.4.2",
"rxjs": "^7.4.0",
"stream-browserify": "^3.0.0",
"tns-platform-declarations": "^6.5.15",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^13.3.6",
"@angular-eslint/builder": "13.0.1",
"@angular-eslint/eslint-plugin": "13.0.1",
"@angular-eslint/eslint-plugin-template": "13.0.1",
"@angular-eslint/schematics": "13.0.1",
"@angular-eslint/template-parser": "13.0.1",
"@angular/compiler-cli": "~13.2.0",
"@nativescript/android": "8.2.3",
"@nativescript/ios": "8.2.3",
"@nativescript/schematics": "^0.5.2",
"@nativescript/types": "~8.2.0",
"@nativescript/webpack": "~5.0.0",
"@ngtools/webpack": "~13.2.0",
"@types/jasmine": "^3.5.11",
"@typescript-eslint/eslint-plugin": "5.3.0",
"@typescript-eslint/parser": "5.3.0",
"eslint": "^8.2.0",
"typescript": "~4.5.5"
},
"readme": "NativeScript Application",
"main": "./src/main.ts",
"scripts": {
"lint": "ng lint"
}
}
Probably because the app.component is call again. It can probably occur also if you put the app on background and you come back. If you can help please.
Thanks for your help
Hi,
If you launch your app on debug, work on it, change something and save, the app gets reloaded, and then you get this:
I think Eddy got this once.
app.component:
package.json
Probably because the app.component is call again. It can probably occur also if you put the app on background and you come back. If you can help please.
Thanks for your help