appcenter-sdk-apple icon indicating copy to clipboard operation
appcenter-sdk-apple copied to clipboard

Support CLI/non-UI applications

Open sschilli opened this issue 6 years ago • 5 comments

Is your feature request related to a problem? Please describe. The instructions for initializing the SDK say to call MSAppCenter.start in applicationDidFinishLaunching of the AppDelegate. Obviously this does not exist for a standard CLI application, and attempting to initialize in a CLI application fails, meaning analytics features are not available in such apps.

Describe the solution you'd like The ability to use AppCenter and its analytics without requiring UI/an AppDelegate. This way we could use analytics in a CLI application.

Describe alternatives you've considered No other libraries I've found seem to support analytics with pure CLI apps either.

Additional context N/A

sschilli avatar Nov 13 '19 22:11 sschilli

Hey, @sschilli, thanks for bringing this to our sight. I'll notify our PMs team so that they can prioritize this request.

Jamminroot avatar Nov 14 '19 12:11 Jamminroot

Hi @sschilli - We don't officially support CLI applications at this time. I'll leave this issue open so we can come back to this if it's something that more people want.

thyeggman avatar Nov 14 '19 22:11 thyeggman

+1, in our case we ship a number of xpc processes that I'd like to add crash reporting to.

mikewoodworth avatar Jul 03 '20 04:07 mikewoodworth

same. How can we get crash reports for our app's XPC processes?

kaspesla avatar Oct 22 '20 20:10 kaspesla

Hi @kaspesla , as described here https://github.com/microsoft/appcenter/wiki/Roadmap through mid-2021 work on new features significantly reduced. We come back to this feature request later. Thanks

olmisa avatar Oct 23 '20 10:10 olmisa

As we do not have plans to add support for this feature in the next year, I'm closing the issue.

DmitriyKirakosyan avatar Apr 15 '24 05:04 DmitriyKirakosyan