React Native Android Firebase Crashlytics: Must Initialize Fabric before Using singleton()How do I use Crashlytics for my React Native Android App?Compile react-native with react-native-firebaseWhy is Fabric not initialized? java.lang.IllegalStateException: Must Initialize Fabric before using singleton()react native stucked at loading from localhost:8081 firebase NotificationFirebase Crashlytics not working without Fabric API keyFabric crashlytics with react native errorreact-native-firebase Crashlytics getting error on AndroidReact Native 0.57 + React Native Firebase Crashlytics - Reports not getting submitted in iOSreact-native-firebase crashlytics not showing up on firebase dashboardHow to disable Crashlytics while in debug mode, in react-native-firebase?
Misaligned Columns
Is it possible to spoof an IP address to an exact number?
Term for a character that only exists to be talked to
How did sloshing prevent the Apollo Service Module from moving safely away from the Command Module and how was this fixed?
Olive oil in Japanese cooking
Why did my leaking pool light trip the circuit breaker, but not the GFCI?
Is it possible that Curiosity measured its own methane or failed doing the spectrometry?
What can a novel do that film and TV cannot?
What does the ash content of broken wheat really mean?
PhD: When to quit and move on?
Show that there are infinitely more problems than we will ever be able to compute
Did Snape really give Umbridge a fake Veritaserum potion that Harry later pretended to drink?
Is よう an adjective or a noun?
Auto replacement of characters
Can Monks cast spells?
Sleepy tired vs physically tired
Should I cheat if the majority does it?
Upload csv into QGIS
gzip compress a local folder and extract it to remote server
Cannot update a field to a Lookup, MasterDetail, or Hierarchy from something else (44:13)
My mother co-signed for my car. Can she take it away from me if I am the one making car payments?
Bypass with wrong cvv of debit card and getting OTP
What is meaning of 4 letter acronyms in Roman names like Titus Flavius T. f. T. n. Sabinus?
How can solar sailed ships be protected from space debris?
React Native Android Firebase Crashlytics: Must Initialize Fabric before Using singleton()
How do I use Crashlytics for my React Native Android App?Compile react-native with react-native-firebaseWhy is Fabric not initialized? java.lang.IllegalStateException: Must Initialize Fabric before using singleton()react native stucked at loading from localhost:8081 firebase NotificationFirebase Crashlytics not working without Fabric API keyFabric crashlytics with react native errorreact-native-firebase Crashlytics getting error on AndroidReact Native 0.57 + React Native Firebase Crashlytics - Reports not getting submitted in iOSreact-native-firebase crashlytics not showing up on firebase dashboardHow to disable Crashlytics while in debug mode, in react-native-firebase?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a react native app that already has Firebase installed on it. I am attempting to get the Crashlytics firebase module installed on it now.
I have gotten iOS to build and seems to be doing some sort of reporting to the firebase Dashboard as the dashboard no longer is prompting to install crashlytics. For Android I have followed these instructions: https://rnfirebase.io/docs/v5.x.x/crashlytics/android and have gotten the app to build but within the react-native code when I try to use the API (something like firebase.crashlytics().log('hi there') on app initialization) iOS proceeds as expected but Android throws "Must Initialize Fabric before Using singleton()".
I have tried getting around this with the method here: https://github.com/corymsmith/react-native-fabric/issues/82
by adding
@Override
public void onCreate()
super.onCreate();
Fabric.with(this, new Crashlytics());
/android/app/src/main/java/host/exp/exponent/MainApplication.java file
When I try to do this the app then does not build and gives me the error:
error: cannot find symbol class Crashlytics
at the line (Fabric.with(this, new Crashlytics());). I'm not really sure where to proceed from here so some help would be appreciated.
android reactjs firebase react-native crashlytics
add a comment |
I have a react native app that already has Firebase installed on it. I am attempting to get the Crashlytics firebase module installed on it now.
I have gotten iOS to build and seems to be doing some sort of reporting to the firebase Dashboard as the dashboard no longer is prompting to install crashlytics. For Android I have followed these instructions: https://rnfirebase.io/docs/v5.x.x/crashlytics/android and have gotten the app to build but within the react-native code when I try to use the API (something like firebase.crashlytics().log('hi there') on app initialization) iOS proceeds as expected but Android throws "Must Initialize Fabric before Using singleton()".
I have tried getting around this with the method here: https://github.com/corymsmith/react-native-fabric/issues/82
by adding
@Override
public void onCreate()
super.onCreate();
Fabric.with(this, new Crashlytics());
/android/app/src/main/java/host/exp/exponent/MainApplication.java file
When I try to do this the app then does not build and gives me the error:
error: cannot find symbol class Crashlytics
at the line (Fabric.with(this, new Crashlytics());). I'm not really sure where to proceed from here so some help would be appreciated.
android reactjs firebase react-native crashlytics
add a comment |
I have a react native app that already has Firebase installed on it. I am attempting to get the Crashlytics firebase module installed on it now.
I have gotten iOS to build and seems to be doing some sort of reporting to the firebase Dashboard as the dashboard no longer is prompting to install crashlytics. For Android I have followed these instructions: https://rnfirebase.io/docs/v5.x.x/crashlytics/android and have gotten the app to build but within the react-native code when I try to use the API (something like firebase.crashlytics().log('hi there') on app initialization) iOS proceeds as expected but Android throws "Must Initialize Fabric before Using singleton()".
I have tried getting around this with the method here: https://github.com/corymsmith/react-native-fabric/issues/82
by adding
@Override
public void onCreate()
super.onCreate();
Fabric.with(this, new Crashlytics());
/android/app/src/main/java/host/exp/exponent/MainApplication.java file
When I try to do this the app then does not build and gives me the error:
error: cannot find symbol class Crashlytics
at the line (Fabric.with(this, new Crashlytics());). I'm not really sure where to proceed from here so some help would be appreciated.
android reactjs firebase react-native crashlytics
I have a react native app that already has Firebase installed on it. I am attempting to get the Crashlytics firebase module installed on it now.
I have gotten iOS to build and seems to be doing some sort of reporting to the firebase Dashboard as the dashboard no longer is prompting to install crashlytics. For Android I have followed these instructions: https://rnfirebase.io/docs/v5.x.x/crashlytics/android and have gotten the app to build but within the react-native code when I try to use the API (something like firebase.crashlytics().log('hi there') on app initialization) iOS proceeds as expected but Android throws "Must Initialize Fabric before Using singleton()".
I have tried getting around this with the method here: https://github.com/corymsmith/react-native-fabric/issues/82
by adding
@Override
public void onCreate()
super.onCreate();
Fabric.with(this, new Crashlytics());
/android/app/src/main/java/host/exp/exponent/MainApplication.java file
When I try to do this the app then does not build and gives me the error:
error: cannot find symbol class Crashlytics
at the line (Fabric.with(this, new Crashlytics());). I'm not really sure where to proceed from here so some help would be appreciated.
android reactjs firebase react-native crashlytics
android reactjs firebase react-native crashlytics
edited Mar 25 at 18:28
David Jarrin
asked Mar 25 at 18:22
David JarrinDavid Jarrin
3582 gold badges4 silver badges23 bronze badges
3582 gold badges4 silver badges23 bronze badges
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344260%2freact-native-android-firebase-crashlytics-must-initialize-fabric-before-using-s%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55344260%2freact-native-android-firebase-crashlytics-must-initialize-fabric-before-using-s%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown