AppRegistry. registerHeadlessTask


I am trying to registerHeadlessTask in my detached expo app in app.js. But I am getting following error on start itself. “undefined is not an object (evaluating ‘_react2.AppRegistry.registerHeadlessTask’)”

I am trying following :
AppRegistry.registerHeadlessTask(‘abc’, () => abc);

Any help will be appreciated. Thanks

Headless tasks are currently broken in expo

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.