Skip to content

Commit

Permalink
Update FAQ.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rdelrosario authored Nov 27, 2017
1 parent 2bb9f9e commit 12bf13e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. Getting <b>java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process {your_package_name}</b>. Make sure the google-services.json has the GoogleServicesJson build action. If you have that set, then clean and build again, this is a known issue when using Firebase Component. More info and fix here: https://bugzilla.xamarin.com/show_bug.cgi?id=56108.

Solution 1
Workaround 1

Add the following to the android project .csproj file:

Expand All @@ -14,7 +14,7 @@ Solution 1
</Target>
```

Solution 2
Workaround 2

Add the following call:
```
Expand All @@ -31,7 +31,16 @@ Solution 2
FirebasePushNotificationManager.Initialize(this, true);
```

Workaround 3

Install Xamarin.GooglePlayServices.Basement v60.1142.0-rc1 on Android

References:

https://forums.xamarin.com/discussion/comment/308465/#Comment_308465
https://bugzilla.xamarin.com/show_bug.cgi?id=56108#c41
https://bugzilla.xamarin.com/show_bug.cgi?id=56108
https://github.com/CrossGeeks/FirebasePushNotificationPlugin/issues/67

### Screenshots
![screen shot 2017-11-25 at 00 29 40](https://user-images.githubusercontent.com/315282/33225450-09bc3720-d178-11e7-9200-21b46f0d6309.png)
Expand Down

0 comments on commit 12bf13e

Please sign in to comment.