fix Alloy context problem by faking ios background service