Bug 33323 - Using MPRemoteCommandCenter in Xamarin forms iOS project results in crash on iOS 7.1.2
Summary: Using MPRemoteCommandCenter in Xamarin forms iOS project results in crash on ...
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 1.4.4
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-08-24 08:07 UTC by emils
Modified: 2016-12-01 07:08 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
There are two Xamarin solutions one written in Xamarin iOS which works on iOS 7.1.2 and other written in Xamarin Forms iOS that crashes on button press on iOS 7.1.2 (1.53 MB, application/zip)
2015-08-24 08:07 UTC, emils
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description emils 2015-08-24 08:07:25 UTC
Created attachment 12616 [details]
There are two Xamarin solutions one written in Xamarin iOS which works on iOS 7.1.2 and other written in Xamarin Forms iOS that crashes on button press on iOS 7.1.2

While creating remote event handler for lockskreen buttons for our music player i did notice that Xamarin Forms crashes in the native code on iPhone 4 running iOS 7.1.2 when i press any button in lockscreen or that toolbar that slides from bottom.

I did found out that the issue is somewhere in "Xamarin.Forms.Platform.iOS.FormsApplicationDelegate" FinishedLaunching method... If i comment 'base.FinishedLaunching' out in AppDelegate the buttons work on iOS 7.1.2 and there is no crash...

I provided two solutions that demonstrates this problem in Xamarin Forms.

Best Regards.
Comment 1 Paul DiPietro [MSFT] 2016-12-01 07:08:25 UTC
Closing due to iOS 7 being obsolete in terms of being testable at this point in time.