Correct, i receive the console.log correctly with the message, etc. But then it crashes.
At the moment I’m using Android.
The console is not showing any errors, or anything, thats why I dont know why the app is crashing.
This code should be in the app.component.ts? Or anywhere else? I wrote the code there, just to have it when the app launches.