Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2207 from MicrosoftDocs/master
master -> live
- Loading branch information
Showing
9 changed files
with
117 additions
and
8 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
34 changes: 34 additions & 0 deletions
34
docs/sdk/getting-started/includes/apple-configure-appcenter.md
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 @@ | ||
--- | ||
title: Shared docs for Apple SDKs | ||
description: Shared docs for Apple SDKs | ||
keywords: sdk | ||
author: king-of-spades | ||
ms.author: kegr | ||
ms.date: 01/18/2021 | ||
ms.topic: include | ||
ms.assetid: 1cef8428-597e-11eb-ae93-0242ac130002 | ||
ms.tgt_pltfrm: apple | ||
dev_langs: | ||
- swift | ||
- objc | ||
--- | ||
If you need to start App Center services separately, you should: | ||
|
||
1. Configure or start it with the App Secret. | ||
1. If the code can be called multiple times, check if the App Center is already configured. | ||
1. Start the required service(s) without the App Secret. | ||
|
||
```objc | ||
[MSACAppCenter configureWithAppSecret:@"{Your App Secret}"]; | ||
if ([MSACAppCenter isConfigured]) { | ||
[MSACAppCenter startService:[MSACAnalytics class]]; | ||
[MSACAppCenter startService:[MSACCrashes class]]; | ||
} | ||
``` | ||
```swift | ||
AppCenter.configure(withAppSecret: "{Your App Secret}") | ||
if AppCenter.isConfigured { | ||
AppCenter.startService(Analytics.self) | ||
AppCenter.startService(Crashes.self) | ||
} | ||
``` |
27 changes: 27 additions & 0 deletions
27
docs/sdk/getting-started/includes/windows-configure-appcenter.md
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,27 @@ | ||
--- | ||
title: Shared docs for .Net SDKs | ||
description: Shared docs for .Net SDKs | ||
keywords: sdk | ||
author: king-of-spades | ||
ms.author: kegr | ||
ms.date: 01/18/2021 | ||
ms.topic: include | ||
ms.assetid: a05d996a-5980-11eb-ae93-0242ac130002 | ||
ms.tgt_pltfrm: wpf-winforms | ||
dev_langs: | ||
- csharp | ||
--- | ||
If you need to start App Center services separately, you should: | ||
|
||
1. Configure or start it with the App Secret. | ||
1. If the code can be called multiple times, check if the App Center is already configured. | ||
1. Start the required service(s) without the App Secret. | ||
|
||
```csharp | ||
AppCenter.Configure("{Your App Secret}"); | ||
if (AppCenter.Configured) | ||
{ | ||
AppCenter.Start(typeof(Analytics)); | ||
AppCenter.Start(typeof(Crashes)); | ||
} | ||
``` |
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
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