AppRegistry. registerHeadlessTask

#1

Hi,

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

#2

Headless tasks are currently broken in expo

closed #3

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