using Firebase Crashlytics in Xamarin iOSHow to set user information to Crashlytics api in AndroidHow to get Xamarin.Android.Support.v4 and Xamarin.Android.Support.v7.AppCompat NuGet packagesCrashlytics reports EXC_BAD_ACCESS KERN_INVALID_ADDRESS. No traces of sourceXamarin Firebase Cloud Messaging for iOS (appDelegate) RemoteMessageDelegate errorfinding dsyms for CrashlyticsTokBox OpenTok SDK for Xamarin FormsHow do I deobfuscate Proguard in Firebase CrashlyticsTwitter login is not working with crashlytics sdk. Error: Must start Twitter Kit with Fabric.with() firstI have an iOS app in xamarin native, we are trying to integrate crashlyticsHow to connect xamarin android app to Cloud Firestore db

Where is the bomb: How to estimate the probability, given row and column totals?

Can I build a half bath without permits?

Garage door sticks on a bolt

What happens to a net with the Returning Weapon artificer infusion after it hits?

London Congestion Charge on A205

What would influence an alien race to map their planet in a way other than the traditional map of the Earth

Fix Ethernet 10/100 PoE cable with 7 out of 8 wires alive

What is Weapon Handling?

Is determiner 'a' needed here?

お仕事に学校頑張って meaning

If a spaceship ran out of fuel somewhere in space between Earth and Mars, does it slowly drift off to the Sun?

Does variance make sense in a fully immutable language?

"I will not" or "I don't" as an answer for negative orders?

Why is a road bike faster than a city bike with the same effort? How much faster it can be?

How do my husband and I get over our fear of having another difficult baby?

What are examples of EU policies that are beneficial for one EU country, disadvantagious for another?

Create the same subfolders in another folder

Convert a string of digits from words to an integer

Smallest number containing the first 11 primes as sub-strings

Lambda functions with template parameters, not in function parameters

Why is STARTTLS still used?

Read-once memory

I transpose the source code, you transpose the input!

An impressive body of work



using Firebase Crashlytics in Xamarin iOS


How to set user information to Crashlytics api in AndroidHow to get Xamarin.Android.Support.v4 and Xamarin.Android.Support.v7.AppCompat NuGet packagesCrashlytics reports EXC_BAD_ACCESS KERN_INVALID_ADDRESS. No traces of sourceXamarin Firebase Cloud Messaging for iOS (appDelegate) RemoteMessageDelegate errorfinding dsyms for CrashlyticsTokBox OpenTok SDK for Xamarin FormsHow do I deobfuscate Proguard in Firebase CrashlyticsTwitter login is not working with crashlytics sdk. Error: Must start Twitter Kit with Fabric.with() firstI have an iOS app in xamarin native, we are trying to integrate crashlyticsHow to connect xamarin android app to Cloud Firestore db






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















Could anyone please help me in how to use Xamarin.Firebase.iOS.Crashlytics nuget package for Xamarin iOS. I am getting SIGSEGV code error in my code at random places and I am not able to figure out the actual problem.
Have searched a lot regarding how to implement Crashlytics in Xamarin iOS , but I was not able to find any.
Have followed the steps given in the below two links, but I was only able to implement Crashlytics in xcode with the help of these two links.
Link 1 Link 2










share|improve this question



















  • 1





    Hi, Paul from Crashlytics here. FYI, we don't officially support Xamarin at this time.

    – buser
    Aug 6 '18 at 13:46






  • 1





    Hi, Paul. If there is no support for Crashlytics in Xamarin. Then what does Xamarin.Firebase.Crashlytics nuget package does?? I can see two packages in Xamarin Nuget Manager, one for Firebase Crash Reporting and one for Crashlytics?

    – Anshuman Singh
    Aug 10 '18 at 6:09











  • @buser well, Xamarin team does it

    – Mikalai Daronin
    Aug 10 '18 at 21:24











  • @MikalaiDaronin could you please tell me the steps? I am not able to implement it in Xamarin iOS project

    – Anshuman Singh
    Aug 16 '18 at 5:51






  • 1





    @AnshumanSingh the readme file should help. There is nothing expect adding the Nuget, GoogleService-Info.plist and a few lines of code.

    – Mikalai Daronin
    Aug 16 '18 at 9:04


















2















Could anyone please help me in how to use Xamarin.Firebase.iOS.Crashlytics nuget package for Xamarin iOS. I am getting SIGSEGV code error in my code at random places and I am not able to figure out the actual problem.
Have searched a lot regarding how to implement Crashlytics in Xamarin iOS , but I was not able to find any.
Have followed the steps given in the below two links, but I was only able to implement Crashlytics in xcode with the help of these two links.
Link 1 Link 2










share|improve this question



















  • 1





    Hi, Paul from Crashlytics here. FYI, we don't officially support Xamarin at this time.

    – buser
    Aug 6 '18 at 13:46






  • 1





    Hi, Paul. If there is no support for Crashlytics in Xamarin. Then what does Xamarin.Firebase.Crashlytics nuget package does?? I can see two packages in Xamarin Nuget Manager, one for Firebase Crash Reporting and one for Crashlytics?

    – Anshuman Singh
    Aug 10 '18 at 6:09











  • @buser well, Xamarin team does it

    – Mikalai Daronin
    Aug 10 '18 at 21:24











  • @MikalaiDaronin could you please tell me the steps? I am not able to implement it in Xamarin iOS project

    – Anshuman Singh
    Aug 16 '18 at 5:51






  • 1





    @AnshumanSingh the readme file should help. There is nothing expect adding the Nuget, GoogleService-Info.plist and a few lines of code.

    – Mikalai Daronin
    Aug 16 '18 at 9:04














2












2








2








Could anyone please help me in how to use Xamarin.Firebase.iOS.Crashlytics nuget package for Xamarin iOS. I am getting SIGSEGV code error in my code at random places and I am not able to figure out the actual problem.
Have searched a lot regarding how to implement Crashlytics in Xamarin iOS , but I was not able to find any.
Have followed the steps given in the below two links, but I was only able to implement Crashlytics in xcode with the help of these two links.
Link 1 Link 2










share|improve this question














Could anyone please help me in how to use Xamarin.Firebase.iOS.Crashlytics nuget package for Xamarin iOS. I am getting SIGSEGV code error in my code at random places and I am not able to figure out the actual problem.
Have searched a lot regarding how to implement Crashlytics in Xamarin iOS , but I was not able to find any.
Have followed the steps given in the below two links, but I was only able to implement Crashlytics in xcode with the help of these two links.
Link 1 Link 2







firebase xamarin.ios crashlytics






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 6 '18 at 10:07









Anshuman SinghAnshuman Singh

127 bronze badges




127 bronze badges










  • 1





    Hi, Paul from Crashlytics here. FYI, we don't officially support Xamarin at this time.

    – buser
    Aug 6 '18 at 13:46






  • 1





    Hi, Paul. If there is no support for Crashlytics in Xamarin. Then what does Xamarin.Firebase.Crashlytics nuget package does?? I can see two packages in Xamarin Nuget Manager, one for Firebase Crash Reporting and one for Crashlytics?

    – Anshuman Singh
    Aug 10 '18 at 6:09











  • @buser well, Xamarin team does it

    – Mikalai Daronin
    Aug 10 '18 at 21:24











  • @MikalaiDaronin could you please tell me the steps? I am not able to implement it in Xamarin iOS project

    – Anshuman Singh
    Aug 16 '18 at 5:51






  • 1





    @AnshumanSingh the readme file should help. There is nothing expect adding the Nuget, GoogleService-Info.plist and a few lines of code.

    – Mikalai Daronin
    Aug 16 '18 at 9:04













  • 1





    Hi, Paul from Crashlytics here. FYI, we don't officially support Xamarin at this time.

    – buser
    Aug 6 '18 at 13:46






  • 1





    Hi, Paul. If there is no support for Crashlytics in Xamarin. Then what does Xamarin.Firebase.Crashlytics nuget package does?? I can see two packages in Xamarin Nuget Manager, one for Firebase Crash Reporting and one for Crashlytics?

    – Anshuman Singh
    Aug 10 '18 at 6:09











  • @buser well, Xamarin team does it

    – Mikalai Daronin
    Aug 10 '18 at 21:24











  • @MikalaiDaronin could you please tell me the steps? I am not able to implement it in Xamarin iOS project

    – Anshuman Singh
    Aug 16 '18 at 5:51






  • 1





    @AnshumanSingh the readme file should help. There is nothing expect adding the Nuget, GoogleService-Info.plist and a few lines of code.

    – Mikalai Daronin
    Aug 16 '18 at 9:04








1




1





Hi, Paul from Crashlytics here. FYI, we don't officially support Xamarin at this time.

– buser
Aug 6 '18 at 13:46





Hi, Paul from Crashlytics here. FYI, we don't officially support Xamarin at this time.

– buser
Aug 6 '18 at 13:46




1




1





Hi, Paul. If there is no support for Crashlytics in Xamarin. Then what does Xamarin.Firebase.Crashlytics nuget package does?? I can see two packages in Xamarin Nuget Manager, one for Firebase Crash Reporting and one for Crashlytics?

– Anshuman Singh
Aug 10 '18 at 6:09





Hi, Paul. If there is no support for Crashlytics in Xamarin. Then what does Xamarin.Firebase.Crashlytics nuget package does?? I can see two packages in Xamarin Nuget Manager, one for Firebase Crash Reporting and one for Crashlytics?

– Anshuman Singh
Aug 10 '18 at 6:09













@buser well, Xamarin team does it

– Mikalai Daronin
Aug 10 '18 at 21:24





@buser well, Xamarin team does it

– Mikalai Daronin
Aug 10 '18 at 21:24













@MikalaiDaronin could you please tell me the steps? I am not able to implement it in Xamarin iOS project

– Anshuman Singh
Aug 16 '18 at 5:51





@MikalaiDaronin could you please tell me the steps? I am not able to implement it in Xamarin iOS project

– Anshuman Singh
Aug 16 '18 at 5:51




1




1





@AnshumanSingh the readme file should help. There is nothing expect adding the Nuget, GoogleService-Info.plist and a few lines of code.

– Mikalai Daronin
Aug 16 '18 at 9:04






@AnshumanSingh the readme file should help. There is nothing expect adding the Nuget, GoogleService-Info.plist and a few lines of code.

– Mikalai Daronin
Aug 16 '18 at 9:04













3 Answers
3






active

oldest

votes


















1
















not sure if you solved the problem already or not but I will give it a go since this post almost got me to the finish line. And there might be others out there looking for how to do this.



As of late 2018 the Crashlytics is going from Fabric to Firebase this has resulted in a lot of old posts that are not applicable any more.



To get nuGet package to work you will need to do the following:



Head over to the firebase console and create a project. Then add an app input a "bundle ID", this needs to be the same as what you have in your xamarin app. The nick and App Store ID is optional.



You will now get a GoogleService-Info.plist file, download this file. Now comes the the tricky part. To initialize the firebase app you need to create a dummy xCode project with the same bundle identifier as your project to do this:



Make a new xCode project and follow the instructions from firebase



Remember to use the .xcworkspace file to open the project after insatlling the pods.



Compile and run this app on a device in the firebase console you will hopefully see some reaction if everything has worked out correctly.



Now to add this to your visualStudio xamarin app first include the GoogleService-Info.plist to your project and change the build action to "Bundle Resource"
Then add the Xamarin.Firebase.iOS.Core and Xamarin.Firebase.iOS.Crashlytics packages to the iOS project.



Almost there, only two things left to do.



In the AppDelegate.cs file in the FinishedLaunching function add:



Firebase.Core.App.Configure();
Crashlytics.Configure();
Fabric.Fabric.SharedSdk.Debug = true; // To enable debugging


and also remember to add the two namespaces Firebase.Core and Firebase.Crashlytics to the top of the file.



The last step is to run the app witout the debugger as the debugger will eat all the errors.



This should be it.



More info on the crashlytics nuGet see the github page



Edit



2019-08-03: updated link to getting started NuGet






share|improve this answer



























  • The GitHub link does not work you might wanna update that!!

    – FreakyAli
    Aug 2 at 10:59






  • 1





    Should be updated now upstream repo had some restructuring done without leaving a trace.,, making dead links :(

    – Morten
    Aug 3 at 12:17


















0
















For iOS:



  • Add GoogleService-Info.plist file to your app project.

  • Set GoogleService-Info.plist build action behaviour to Bundle Resource by Right-clicking/Build Action.

  • Add the Xamarin.Firebase.iOS.Core NuGet to your iOS project: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/


  • Add the following lines of code somewhere in your app, typically in your AppDelegate’s FinishedLaunching method (don't forget to import Firebase.Core and Firebase.Crashlytics namespace):



     App.Configure ();
    Crashlytics.Configure ();


For Android:



  • Make sure you have a project set up in the Firebase Developer Console.

  • Download your project’s file and place it in the folder of your Xamarin.Android project.

  • Add the Xamarin.Android.Crashlytics NuGet package: https://www.nuget.org/packages/Xamarin.Android.Crashlytics/

  • Restart your IDE

  • Add google-services.json to your Xamarin.Android app project.

  • Set the build action google-services.json to GoogleServicesJson


  • Create a string resource with the name com.crashlytics.android.build_id. The value can be whatever you want to uniquely identify a particular build with.
    Clean and Rebuild your solution.



    Fabric.Fabric.With(this, new Crashlytics.Crashlytics());
    Crashlytics.Crashlytics.HandleManagedExceptions();


I had recently written a blog for integrating your Xamarin Apps with Firebase Crashlytics where I have gone in detail on how it can be configured which can be found here:



https://medium.com/@hakimgulamali88/firebase-crashlytics-with-xamarin-5421089bb561






share|improve this answer
































    -2
















    There are few steps needed to be performed in order to implement Firebase Crashlytics in Xamarin.



    First of all you have to create a dummy project in Xcode with same bundle identifier.



    You can follow this https://fabric.io/kits/ios/crashlytics/install , to implement Crashlytics in Xcode.



    Now for Xamarin, use the same Bundle Identifier, and in the info.plist file add the below lines



    <key>Fabric</key>
    <dict>
    <key>APIKey</key>
    <string>Your api key</string>
    <key>Kits</key>
    <array>
    <dict>
    <key>KitInfo</key>
    <dict/>
    <key>KitName</key>
    <string>Crashlytics</string>
    </dict>
    </array>
    </dict>


    Now import Fabric and Crashlytics in the AppDelegate , then initialize Fabric instance with:



    Fabric.with([Crashlytics.self])





    share|improve this answer

























    • Unable to use the above code to initialise Crashlytics. If anyone has solved it, Please share the steps.

      – soan saini
      Nov 14 '18 at 1:03











    • As the questioner, I would like to view my crashes on Firebase Crashlytics, not on Fabric dashboard (which will be not supported soon)

      – anitteb
      Nov 21 '18 at 10:20













    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/4.0/"u003ecc by-sa 4.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
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51705163%2fusing-firebase-crashlytics-in-xamarin-ios%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1
















    not sure if you solved the problem already or not but I will give it a go since this post almost got me to the finish line. And there might be others out there looking for how to do this.



    As of late 2018 the Crashlytics is going from Fabric to Firebase this has resulted in a lot of old posts that are not applicable any more.



    To get nuGet package to work you will need to do the following:



    Head over to the firebase console and create a project. Then add an app input a "bundle ID", this needs to be the same as what you have in your xamarin app. The nick and App Store ID is optional.



    You will now get a GoogleService-Info.plist file, download this file. Now comes the the tricky part. To initialize the firebase app you need to create a dummy xCode project with the same bundle identifier as your project to do this:



    Make a new xCode project and follow the instructions from firebase



    Remember to use the .xcworkspace file to open the project after insatlling the pods.



    Compile and run this app on a device in the firebase console you will hopefully see some reaction if everything has worked out correctly.



    Now to add this to your visualStudio xamarin app first include the GoogleService-Info.plist to your project and change the build action to "Bundle Resource"
    Then add the Xamarin.Firebase.iOS.Core and Xamarin.Firebase.iOS.Crashlytics packages to the iOS project.



    Almost there, only two things left to do.



    In the AppDelegate.cs file in the FinishedLaunching function add:



    Firebase.Core.App.Configure();
    Crashlytics.Configure();
    Fabric.Fabric.SharedSdk.Debug = true; // To enable debugging


    and also remember to add the two namespaces Firebase.Core and Firebase.Crashlytics to the top of the file.



    The last step is to run the app witout the debugger as the debugger will eat all the errors.



    This should be it.



    More info on the crashlytics nuGet see the github page



    Edit



    2019-08-03: updated link to getting started NuGet






    share|improve this answer



























    • The GitHub link does not work you might wanna update that!!

      – FreakyAli
      Aug 2 at 10:59






    • 1





      Should be updated now upstream repo had some restructuring done without leaving a trace.,, making dead links :(

      – Morten
      Aug 3 at 12:17















    1
















    not sure if you solved the problem already or not but I will give it a go since this post almost got me to the finish line. And there might be others out there looking for how to do this.



    As of late 2018 the Crashlytics is going from Fabric to Firebase this has resulted in a lot of old posts that are not applicable any more.



    To get nuGet package to work you will need to do the following:



    Head over to the firebase console and create a project. Then add an app input a "bundle ID", this needs to be the same as what you have in your xamarin app. The nick and App Store ID is optional.



    You will now get a GoogleService-Info.plist file, download this file. Now comes the the tricky part. To initialize the firebase app you need to create a dummy xCode project with the same bundle identifier as your project to do this:



    Make a new xCode project and follow the instructions from firebase



    Remember to use the .xcworkspace file to open the project after insatlling the pods.



    Compile and run this app on a device in the firebase console you will hopefully see some reaction if everything has worked out correctly.



    Now to add this to your visualStudio xamarin app first include the GoogleService-Info.plist to your project and change the build action to "Bundle Resource"
    Then add the Xamarin.Firebase.iOS.Core and Xamarin.Firebase.iOS.Crashlytics packages to the iOS project.



    Almost there, only two things left to do.



    In the AppDelegate.cs file in the FinishedLaunching function add:



    Firebase.Core.App.Configure();
    Crashlytics.Configure();
    Fabric.Fabric.SharedSdk.Debug = true; // To enable debugging


    and also remember to add the two namespaces Firebase.Core and Firebase.Crashlytics to the top of the file.



    The last step is to run the app witout the debugger as the debugger will eat all the errors.



    This should be it.



    More info on the crashlytics nuGet see the github page



    Edit



    2019-08-03: updated link to getting started NuGet






    share|improve this answer



























    • The GitHub link does not work you might wanna update that!!

      – FreakyAli
      Aug 2 at 10:59






    • 1





      Should be updated now upstream repo had some restructuring done without leaving a trace.,, making dead links :(

      – Morten
      Aug 3 at 12:17













    1














    1










    1









    not sure if you solved the problem already or not but I will give it a go since this post almost got me to the finish line. And there might be others out there looking for how to do this.



    As of late 2018 the Crashlytics is going from Fabric to Firebase this has resulted in a lot of old posts that are not applicable any more.



    To get nuGet package to work you will need to do the following:



    Head over to the firebase console and create a project. Then add an app input a "bundle ID", this needs to be the same as what you have in your xamarin app. The nick and App Store ID is optional.



    You will now get a GoogleService-Info.plist file, download this file. Now comes the the tricky part. To initialize the firebase app you need to create a dummy xCode project with the same bundle identifier as your project to do this:



    Make a new xCode project and follow the instructions from firebase



    Remember to use the .xcworkspace file to open the project after insatlling the pods.



    Compile and run this app on a device in the firebase console you will hopefully see some reaction if everything has worked out correctly.



    Now to add this to your visualStudio xamarin app first include the GoogleService-Info.plist to your project and change the build action to "Bundle Resource"
    Then add the Xamarin.Firebase.iOS.Core and Xamarin.Firebase.iOS.Crashlytics packages to the iOS project.



    Almost there, only two things left to do.



    In the AppDelegate.cs file in the FinishedLaunching function add:



    Firebase.Core.App.Configure();
    Crashlytics.Configure();
    Fabric.Fabric.SharedSdk.Debug = true; // To enable debugging


    and also remember to add the two namespaces Firebase.Core and Firebase.Crashlytics to the top of the file.



    The last step is to run the app witout the debugger as the debugger will eat all the errors.



    This should be it.



    More info on the crashlytics nuGet see the github page



    Edit



    2019-08-03: updated link to getting started NuGet






    share|improve this answer















    not sure if you solved the problem already or not but I will give it a go since this post almost got me to the finish line. And there might be others out there looking for how to do this.



    As of late 2018 the Crashlytics is going from Fabric to Firebase this has resulted in a lot of old posts that are not applicable any more.



    To get nuGet package to work you will need to do the following:



    Head over to the firebase console and create a project. Then add an app input a "bundle ID", this needs to be the same as what you have in your xamarin app. The nick and App Store ID is optional.



    You will now get a GoogleService-Info.plist file, download this file. Now comes the the tricky part. To initialize the firebase app you need to create a dummy xCode project with the same bundle identifier as your project to do this:



    Make a new xCode project and follow the instructions from firebase



    Remember to use the .xcworkspace file to open the project after insatlling the pods.



    Compile and run this app on a device in the firebase console you will hopefully see some reaction if everything has worked out correctly.



    Now to add this to your visualStudio xamarin app first include the GoogleService-Info.plist to your project and change the build action to "Bundle Resource"
    Then add the Xamarin.Firebase.iOS.Core and Xamarin.Firebase.iOS.Crashlytics packages to the iOS project.



    Almost there, only two things left to do.



    In the AppDelegate.cs file in the FinishedLaunching function add:



    Firebase.Core.App.Configure();
    Crashlytics.Configure();
    Fabric.Fabric.SharedSdk.Debug = true; // To enable debugging


    and also remember to add the two namespaces Firebase.Core and Firebase.Crashlytics to the top of the file.



    The last step is to run the app witout the debugger as the debugger will eat all the errors.



    This should be it.



    More info on the crashlytics nuGet see the github page



    Edit



    2019-08-03: updated link to getting started NuGet







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Aug 3 at 12:15

























    answered Mar 28 at 19:01









    MortenMorten

    1022 silver badges7 bronze badges




    1022 silver badges7 bronze badges















    • The GitHub link does not work you might wanna update that!!

      – FreakyAli
      Aug 2 at 10:59






    • 1





      Should be updated now upstream repo had some restructuring done without leaving a trace.,, making dead links :(

      – Morten
      Aug 3 at 12:17

















    • The GitHub link does not work you might wanna update that!!

      – FreakyAli
      Aug 2 at 10:59






    • 1





      Should be updated now upstream repo had some restructuring done without leaving a trace.,, making dead links :(

      – Morten
      Aug 3 at 12:17
















    The GitHub link does not work you might wanna update that!!

    – FreakyAli
    Aug 2 at 10:59





    The GitHub link does not work you might wanna update that!!

    – FreakyAli
    Aug 2 at 10:59




    1




    1





    Should be updated now upstream repo had some restructuring done without leaving a trace.,, making dead links :(

    – Morten
    Aug 3 at 12:17





    Should be updated now upstream repo had some restructuring done without leaving a trace.,, making dead links :(

    – Morten
    Aug 3 at 12:17













    0
















    For iOS:



    • Add GoogleService-Info.plist file to your app project.

    • Set GoogleService-Info.plist build action behaviour to Bundle Resource by Right-clicking/Build Action.

    • Add the Xamarin.Firebase.iOS.Core NuGet to your iOS project: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/


    • Add the following lines of code somewhere in your app, typically in your AppDelegate’s FinishedLaunching method (don't forget to import Firebase.Core and Firebase.Crashlytics namespace):



       App.Configure ();
      Crashlytics.Configure ();


    For Android:



    • Make sure you have a project set up in the Firebase Developer Console.

    • Download your project’s file and place it in the folder of your Xamarin.Android project.

    • Add the Xamarin.Android.Crashlytics NuGet package: https://www.nuget.org/packages/Xamarin.Android.Crashlytics/

    • Restart your IDE

    • Add google-services.json to your Xamarin.Android app project.

    • Set the build action google-services.json to GoogleServicesJson


    • Create a string resource with the name com.crashlytics.android.build_id. The value can be whatever you want to uniquely identify a particular build with.
      Clean and Rebuild your solution.



      Fabric.Fabric.With(this, new Crashlytics.Crashlytics());
      Crashlytics.Crashlytics.HandleManagedExceptions();


    I had recently written a blog for integrating your Xamarin Apps with Firebase Crashlytics where I have gone in detail on how it can be configured which can be found here:



    https://medium.com/@hakimgulamali88/firebase-crashlytics-with-xamarin-5421089bb561






    share|improve this answer





























      0
















      For iOS:



      • Add GoogleService-Info.plist file to your app project.

      • Set GoogleService-Info.plist build action behaviour to Bundle Resource by Right-clicking/Build Action.

      • Add the Xamarin.Firebase.iOS.Core NuGet to your iOS project: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/


      • Add the following lines of code somewhere in your app, typically in your AppDelegate’s FinishedLaunching method (don't forget to import Firebase.Core and Firebase.Crashlytics namespace):



         App.Configure ();
        Crashlytics.Configure ();


      For Android:



      • Make sure you have a project set up in the Firebase Developer Console.

      • Download your project’s file and place it in the folder of your Xamarin.Android project.

      • Add the Xamarin.Android.Crashlytics NuGet package: https://www.nuget.org/packages/Xamarin.Android.Crashlytics/

      • Restart your IDE

      • Add google-services.json to your Xamarin.Android app project.

      • Set the build action google-services.json to GoogleServicesJson


      • Create a string resource with the name com.crashlytics.android.build_id. The value can be whatever you want to uniquely identify a particular build with.
        Clean and Rebuild your solution.



        Fabric.Fabric.With(this, new Crashlytics.Crashlytics());
        Crashlytics.Crashlytics.HandleManagedExceptions();


      I had recently written a blog for integrating your Xamarin Apps with Firebase Crashlytics where I have gone in detail on how it can be configured which can be found here:



      https://medium.com/@hakimgulamali88/firebase-crashlytics-with-xamarin-5421089bb561






      share|improve this answer



























        0














        0










        0









        For iOS:



        • Add GoogleService-Info.plist file to your app project.

        • Set GoogleService-Info.plist build action behaviour to Bundle Resource by Right-clicking/Build Action.

        • Add the Xamarin.Firebase.iOS.Core NuGet to your iOS project: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/


        • Add the following lines of code somewhere in your app, typically in your AppDelegate’s FinishedLaunching method (don't forget to import Firebase.Core and Firebase.Crashlytics namespace):



           App.Configure ();
          Crashlytics.Configure ();


        For Android:



        • Make sure you have a project set up in the Firebase Developer Console.

        • Download your project’s file and place it in the folder of your Xamarin.Android project.

        • Add the Xamarin.Android.Crashlytics NuGet package: https://www.nuget.org/packages/Xamarin.Android.Crashlytics/

        • Restart your IDE

        • Add google-services.json to your Xamarin.Android app project.

        • Set the build action google-services.json to GoogleServicesJson


        • Create a string resource with the name com.crashlytics.android.build_id. The value can be whatever you want to uniquely identify a particular build with.
          Clean and Rebuild your solution.



          Fabric.Fabric.With(this, new Crashlytics.Crashlytics());
          Crashlytics.Crashlytics.HandleManagedExceptions();


        I had recently written a blog for integrating your Xamarin Apps with Firebase Crashlytics where I have gone in detail on how it can be configured which can be found here:



        https://medium.com/@hakimgulamali88/firebase-crashlytics-with-xamarin-5421089bb561






        share|improve this answer













        For iOS:



        • Add GoogleService-Info.plist file to your app project.

        • Set GoogleService-Info.plist build action behaviour to Bundle Resource by Right-clicking/Build Action.

        • Add the Xamarin.Firebase.iOS.Core NuGet to your iOS project: https://www.nuget.org/packages/Xamarin.Firebase.iOS.Crashlytics/


        • Add the following lines of code somewhere in your app, typically in your AppDelegate’s FinishedLaunching method (don't forget to import Firebase.Core and Firebase.Crashlytics namespace):



           App.Configure ();
          Crashlytics.Configure ();


        For Android:



        • Make sure you have a project set up in the Firebase Developer Console.

        • Download your project’s file and place it in the folder of your Xamarin.Android project.

        • Add the Xamarin.Android.Crashlytics NuGet package: https://www.nuget.org/packages/Xamarin.Android.Crashlytics/

        • Restart your IDE

        • Add google-services.json to your Xamarin.Android app project.

        • Set the build action google-services.json to GoogleServicesJson


        • Create a string resource with the name com.crashlytics.android.build_id. The value can be whatever you want to uniquely identify a particular build with.
          Clean and Rebuild your solution.



          Fabric.Fabric.With(this, new Crashlytics.Crashlytics());
          Crashlytics.Crashlytics.HandleManagedExceptions();


        I had recently written a blog for integrating your Xamarin Apps with Firebase Crashlytics where I have gone in detail on how it can be configured which can be found here:



        https://medium.com/@hakimgulamali88/firebase-crashlytics-with-xamarin-5421089bb561







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 19 at 9:50









        FreakyAliFreakyAli

        6,6652 gold badges12 silver badges37 bronze badges




        6,6652 gold badges12 silver badges37 bronze badges
























            -2
















            There are few steps needed to be performed in order to implement Firebase Crashlytics in Xamarin.



            First of all you have to create a dummy project in Xcode with same bundle identifier.



            You can follow this https://fabric.io/kits/ios/crashlytics/install , to implement Crashlytics in Xcode.



            Now for Xamarin, use the same Bundle Identifier, and in the info.plist file add the below lines



            <key>Fabric</key>
            <dict>
            <key>APIKey</key>
            <string>Your api key</string>
            <key>Kits</key>
            <array>
            <dict>
            <key>KitInfo</key>
            <dict/>
            <key>KitName</key>
            <string>Crashlytics</string>
            </dict>
            </array>
            </dict>


            Now import Fabric and Crashlytics in the AppDelegate , then initialize Fabric instance with:



            Fabric.with([Crashlytics.self])





            share|improve this answer

























            • Unable to use the above code to initialise Crashlytics. If anyone has solved it, Please share the steps.

              – soan saini
              Nov 14 '18 at 1:03











            • As the questioner, I would like to view my crashes on Firebase Crashlytics, not on Fabric dashboard (which will be not supported soon)

              – anitteb
              Nov 21 '18 at 10:20















            -2
















            There are few steps needed to be performed in order to implement Firebase Crashlytics in Xamarin.



            First of all you have to create a dummy project in Xcode with same bundle identifier.



            You can follow this https://fabric.io/kits/ios/crashlytics/install , to implement Crashlytics in Xcode.



            Now for Xamarin, use the same Bundle Identifier, and in the info.plist file add the below lines



            <key>Fabric</key>
            <dict>
            <key>APIKey</key>
            <string>Your api key</string>
            <key>Kits</key>
            <array>
            <dict>
            <key>KitInfo</key>
            <dict/>
            <key>KitName</key>
            <string>Crashlytics</string>
            </dict>
            </array>
            </dict>


            Now import Fabric and Crashlytics in the AppDelegate , then initialize Fabric instance with:



            Fabric.with([Crashlytics.self])





            share|improve this answer

























            • Unable to use the above code to initialise Crashlytics. If anyone has solved it, Please share the steps.

              – soan saini
              Nov 14 '18 at 1:03











            • As the questioner, I would like to view my crashes on Firebase Crashlytics, not on Fabric dashboard (which will be not supported soon)

              – anitteb
              Nov 21 '18 at 10:20













            -2














            -2










            -2









            There are few steps needed to be performed in order to implement Firebase Crashlytics in Xamarin.



            First of all you have to create a dummy project in Xcode with same bundle identifier.



            You can follow this https://fabric.io/kits/ios/crashlytics/install , to implement Crashlytics in Xcode.



            Now for Xamarin, use the same Bundle Identifier, and in the info.plist file add the below lines



            <key>Fabric</key>
            <dict>
            <key>APIKey</key>
            <string>Your api key</string>
            <key>Kits</key>
            <array>
            <dict>
            <key>KitInfo</key>
            <dict/>
            <key>KitName</key>
            <string>Crashlytics</string>
            </dict>
            </array>
            </dict>


            Now import Fabric and Crashlytics in the AppDelegate , then initialize Fabric instance with:



            Fabric.with([Crashlytics.self])





            share|improve this answer













            There are few steps needed to be performed in order to implement Firebase Crashlytics in Xamarin.



            First of all you have to create a dummy project in Xcode with same bundle identifier.



            You can follow this https://fabric.io/kits/ios/crashlytics/install , to implement Crashlytics in Xcode.



            Now for Xamarin, use the same Bundle Identifier, and in the info.plist file add the below lines



            <key>Fabric</key>
            <dict>
            <key>APIKey</key>
            <string>Your api key</string>
            <key>Kits</key>
            <array>
            <dict>
            <key>KitInfo</key>
            <dict/>
            <key>KitName</key>
            <string>Crashlytics</string>
            </dict>
            </array>
            </dict>


            Now import Fabric and Crashlytics in the AppDelegate , then initialize Fabric instance with:



            Fabric.with([Crashlytics.self])






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Oct 18 '18 at 10:23









            Anshuman SinghAnshuman Singh

            127 bronze badges




            127 bronze badges















            • Unable to use the above code to initialise Crashlytics. If anyone has solved it, Please share the steps.

              – soan saini
              Nov 14 '18 at 1:03











            • As the questioner, I would like to view my crashes on Firebase Crashlytics, not on Fabric dashboard (which will be not supported soon)

              – anitteb
              Nov 21 '18 at 10:20

















            • Unable to use the above code to initialise Crashlytics. If anyone has solved it, Please share the steps.

              – soan saini
              Nov 14 '18 at 1:03











            • As the questioner, I would like to view my crashes on Firebase Crashlytics, not on Fabric dashboard (which will be not supported soon)

              – anitteb
              Nov 21 '18 at 10:20
















            Unable to use the above code to initialise Crashlytics. If anyone has solved it, Please share the steps.

            – soan saini
            Nov 14 '18 at 1:03





            Unable to use the above code to initialise Crashlytics. If anyone has solved it, Please share the steps.

            – soan saini
            Nov 14 '18 at 1:03













            As the questioner, I would like to view my crashes on Firebase Crashlytics, not on Fabric dashboard (which will be not supported soon)

            – anitteb
            Nov 21 '18 at 10:20





            As the questioner, I would like to view my crashes on Firebase Crashlytics, not on Fabric dashboard (which will be not supported soon)

            – anitteb
            Nov 21 '18 at 10:20


















            draft saved

            draft discarded















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f51705163%2fusing-firebase-crashlytics-in-xamarin-ios%23new-answer', 'question_page');

            );

            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







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript