OneSignal / OneSignal-Xamarin-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Xamarin app with OneSignal. https://onesignal.com
Other
105 stars 50 forks source link

Error Default FirebaseApp is not initialized in this process #122

Closed javitoHertfy closed 5 years ago

javitoHertfy commented 5 years ago

Description:

I have followed all the instructions listed in the documentation and once I launch the application I get the following error:

Unhandled Exception:

Java.Lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.fxstreet.mobile. Make sure to call FirebaseApp.initializeApp(Context) first. occurred

Environment

Nuget packages Xamarin Forms v 3.4 Xamarin Firebase Messaging and the rest of GooglePlayServices 42.1021

Steps to Reproduce Issue:

Followed steps described in documentation

  1. Added all the nugets with the right version
  2. Add the code in the xaml.cs and in the MainActivity
  3. Changed Manifest

Anything else:

The application starts but gets unresponsive quickly and throws the error

jkasten2 commented 5 years ago

@javitoHertfy Thanks for the details, could you and provide the full stack trace?

rgomezp commented 5 years ago

closing due to no response