Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit f0e21ef

Browse files
authored
#154 - fix fresco conflict
1 parent 01c2c54 commit f0e21ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firebase.android.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ firebase.init = function (arg) {
185185
}
186186

187187
// Facebook
188-
if (typeof(com.facebook) !== "undefined") {
188+
if (typeof(com.facebook) !== "undefined" && typeof(com.facebook.FacebookSdk) !== "undefined") {
189189
com.facebook.FacebookSdk.sdkInitialize(appModule.android.context);
190190
fbCallbackManager = com.facebook.CallbackManager.Factory.create();
191191
appModule.android.on(appModule.AndroidApplication.activityResultEvent, function(eventData){
@@ -1294,4 +1294,4 @@ firebase.sendCrashLog = function (arg) {
12941294
};
12951295
*/
12961296

1297-
module.exports = firebase;
1297+
module.exports = firebase;

0 commit comments

Comments
 (0)