microsoft / appcenter

Central repository for App Center open source resources and planning.
https://appcenter.ms
Creative Commons Attribution 4.0 International
1.01k stars 225 forks source link

UWP full crash support, publish to Windows store and UI automation #459

Closed dbnex14 closed 3 years ago

dbnex14 commented 5 years ago

Description

I am interested in finding more about AppCenter support for .NETStandard 2.0 Xamarin.Forms (all 3 platforms Android, IOS, and UWP). Is this supported? I am bit confused because I have been finding lots of links, even MS ones that are confusing on this topic especially when it comes to Xamarin.UWP support and need clear answer.

Repro Steps

Please list the steps used to reproduce your issue.

NA

Details

  1. What is your app platform (Xamarin.Android or Xamarin.iOS or UWP)?

    • Interested only in Xamarin.Forms on all 3 platforms (Android, iOS and UWP).
  2. If using Xamarin.Forms or if using portable/shared code to call our SDK APIs, are you using shared project, PCL code or .NET standard code for the application? Which .NET standard version or which PCL profile?

    • .NET standard 2.0.
  3. Which SDK version are you using?

    • NA
  4. Which OS version did you experience the issue on?

    • NA
  5. What device version did you see this error on? Were you using an emulator or a physical device?

    • NA
  6. What third party libraries are you using?

    • NA, none for reporting
  7. Please enable verbose logging for your app using AppCenter.LogLevel = LogLevel.Verbose before your call to AppCenter.Start(...) and include the logs here: NA

guperrot commented 5 years ago

Hi, specifically we support Xamarin.Forms projects that used shared code, PCL, or .NET standard for the portable part of their application.

The AppCenter code you reference in the .NET standard project are just API stubs and the implementation is replaced at runtime by the real one depending on the target of the real project (Android, iOS or UWP).

So in order to use the SDK you need to install nugets in both the portable project (.NET standard) and also install the same nugets in all platform specific projects so that the runtime is switched to the real platform implementation.

Also UWP has less supported methods than their Xamarin counterpart, some UWP methods will be stubbed and do nothing.

You can refer to both our https://docs.microsoft.com/en-us/appcenter/sdk/ SDK pages for Xamarin and UWP to integrate it in your application.

dbnex14 commented 5 years ago

Hi, specifically we support Xamarin.Forms projects that used shared code, PCL, or .NET standard for the portable part of their application.

The AppCenter code you reference in the .NET standard project are just API stubs and the implementation is replaced at runtime by the real one depending on the target of the real project (Android, iOS or UWP).

So in order to use the SDK you need to install nugets in both the portable project (.NET standard) and also install the same nugets in all platform specific projects so that the runtime is switched to the real platform implementation.

Also UWP has less supported methods than their Xamarin counterpart, some UWP methods will be stubbed and do nothing.

You can refer to both our https://docs.microsoft.com/en-us/appcenter/sdk/ SDK pages for Xamarin and UWP to integrate it in your application.

Thanks for great explanation @guperrot Are there plans in place to provide the functionality for UWP and how recent? Thanks again

guperrot commented 5 years ago

What specific features do you need on UWP?

dbnex14 commented 5 years ago

What specific features do you need on UWP?

Crash reporting and logging Delivery to Win app store Possibly: CI Possibly: UI Automation

guperrot commented 5 years ago

We have basic crash reporting for store apps: https://docs.microsoft.com/en-us/appcenter/sdk/crashes/uwp (only starting and reporting is supported, no advanced client side API). We do have plans to improve crash support on UWP to have parity with Xamarin.

CI: we have support for building UWP applications on AppCenter already.

Manage windows store and UI tests: I'm not sure but can forward the feedback.

guperrot commented 5 years ago

In the meantime you can consult https://github.com/Microsoft/appcenter/blob/windows/specs/2019-04/Windows-Plan.md.

dhei commented 5 years ago

In the meantime you can consult Microsoft/appcenter:specs/2019-04/Windows-Plan.md@windows .

The link is broken, now is https://github.com/microsoft/appcenter/blob/specs/specs/2019-04/Windows-Plan.md.

mzhukovs commented 5 years ago

https://github.com/microsoft/appcenter/issues/25 - UWP UI Testing https://github.com/microsoft/appcenter/issues/383 - UWP Store Support

dinobu commented 5 years ago

In the meantime you can consult https://github.com/Microsoft/appcenter/blob/windows/specs/2019-04/Windows-Plan.md.

I am unable to open that link

ghost commented 3 years ago

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost commented 3 years ago

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.