Bug 14670 - Support Launch due to a background fetch event
Summary: Support Launch due to a background fetch event
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
: 14671 ()
Depends on:
Blocks:
 
Reported: 2013-09-11 21:41 UTC by t9mike
Modified: 2014-03-13 12:31 UTC (History)
5 users (show)

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

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 FIXED

Description t9mike 2013-09-11 21:41:23 UTC
Xcode supports launching app as if it was awoken due to background fetch. This is in 19:00 mark of WWDC 2013 What's New in Multitasking video.
Comment 9 Mikayla Hutchinson [MSFT] 2013-12-12 17:23:01 UTC
IMO this should be exposed via Run -> Run With -> Custom parameters
Comment 10 Miguel de Icaza [MSFT] 2013-12-12 17:30:48 UTC
I would like to have:

Run -> "As Background Fetch"

The user should not have to learn about the command line option, or that this is a custom parameter to do this.
Comment 11 Rolf Bjarne Kvinge [MSFT] 2013-12-12 20:09:36 UTC
You'll probably want to verify that background fetch is enabled in Info.plist before allowing the user to try it (or warn somehow if it isn't enabled).

The simulator will fail quite miserably otherwise.
Comment 12 Jeffrey Stedfast 2014-01-30 14:53:49 UTC
*** Bug 14671 has been marked as a duplicate of this bug. ***
Comment 19 Miguel de Icaza [MSFT] 2014-01-31 12:54:23 UTC
Hey guys,

The desired user experience should be this:

Run->Start in Background Fetch Mode

That option would then:

(a) Check if the proper bits are set on Info.plist, if not, we say "Hey, your app does not seem to be configured for background fetch, do you want me to set this up?"

(b) If the above is already set, we start the app in background fetch mode (as described by Rolf).
Comment 22 Jeffrey Stedfast 2014-03-13 12:31:59 UTC
fixed in git master