austinlarue

Results comments of austinlarue

I just ran into this and thought I would share my work around in case anyone else runs into it. In my ts file I added a simple method to...

Thanks for the quick response Eddy!

I had this same issue and disabling the Firebase/Crash pod did the trick.

@mschahczinski @EddyVerbruggen I was wrong. It looks like it's the Firebase/Messaging pod that is causing the crash for me. Back when I thought it was the Crash pod, I didn't...

@EddyVerbruggen That's how I'm building it right now to try and track down the cause of this issue. This also happens when using `tns publish ios`

@EddyVerbruggen I've narrowed it down to this line in firebase.ios.js in the function `firebase._onTokenRefreshNotification`: `var token = FIRInstanceID.instanceID().token();` Removing that line (and the subsequent code that relies on it) prevents...

@EddyVerbruggen @mschahczinski I just tried this out and can confirm that it does fix the crashing issue.

I'm having the same issue on iOS10 simulator and iOS10 device. This is the error message I receive: `Oct 20 16:03:09 Austins-MacBook-Pro com.apple.CoreSimulator.SimDevice.FBE00800-99EE-425C-9B75-FACE6ADA04FF.launchd_sim[40033] (UIKitApplication:[0x3014][18277]): Service exited with abnormal code: 1`

We've had the most success by putting it in the ngOnInit method within app.component. After you init firebase, you can use it from anywhere else in the app.