This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Firebase][Crashlytics] Updated to version 3.14.0
* Added a flag that handles the upload dSYM process, so the user can now decide if wants to execute the process * Added a flag that handles the error, if any, of the upload process as a warning or as an error * This closes issue #210 * This closes issue #275
- Loading branch information
1 parent
b476668
commit c3ae085
Showing
7 changed files
with
80 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
samples/Firebase/Crashlytics/CrashlyticsSample/CrashlyticsSample.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<!-- | ||
This value defines if we should upload the dSYM of your app to Firebase console. | ||
The default value is to upload symbols only when building on Release. | ||
--> | ||
<FirebaseCrashlyticsUploadSymbolsEnabled Condition="'$(FirebaseCrashlyticsUploadSymbolsEnabledEnabled)'=='' AND '$(Configuration)'=='Release'">True</FirebaseCrashlyticsUploadSymbolsEnabled> | ||
|
||
<!-- | ||
This value defines if the build should continue if the dSYM upload fails. | ||
The default value is true. | ||
--> | ||
<FirebaseCrashlyticsUploadSymbolsContinueOnError Condition="'$(FirebaseCrashlyticsUploadSymbolsContinueOnError)'==''">True</FirebaseCrashlyticsUploadSymbolsContinueOnError> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
////////////////////////////////////// | ||
// Xamarin.Firebase.iOS.Crashlytics // | ||
////////////////////////////////////// | ||
|
||
Xamarin.Firebase.iOS.Crashlytics NuGet has an MSBuild task that uploads the | ||
dSYM symbols of your app to Firebase Console at build time. | ||
|
||
This upload process happens only when building on Release and if a device is | ||
selected. If you want to upload the dSYM regardless of the configuration, | ||
define the following property anywhere in your .csproj but before of the | ||
Xamarin.Firebase.iOS.Crashlytics.targets import: | ||
|
||
``` | ||
<PropertyGroup> | ||
<FirebaseCrashlyticsUploadSymbolsEnabled>True</FirebaseCrashlyticsUploadSymbolsEnabled> | ||
</PropertyGroup> | ||
``` | ||
|
||
If you want to disable the upload dSYM process, regardless of the configuration, | ||
change the value from 'True' to 'False'. | ||
|
||
The upload process is disabled for simulators. | ||
|
||
Also, there's a property that helps you to keep building your app even if the | ||
upload process fails. This is 'True' by default and the error will be treated as | ||
a warning, but if you want it to be treated as an error, define the following | ||
property anywhere in your .csproj but before of the | ||
Xamarin.Firebase.iOS.Crashlytics.targets import: | ||
|
||
``` | ||
<PropertyGroup> | ||
<FirebaseCrashlyticsUploadSymbolsContinueOnError>False</FirebaseCrashlyticsUploadSymbolsContinueOnError> | ||
</PropertyGroup> | ||
``` |