mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
FbHeadlessJsTaskService -> HeadlessJsTaskService
Summary: Closes https://github.com/facebook/react-native/pull/10849 Differential Revision: D4159555 Pulled By: foghina fbshipit-source-id: 075c3744d5c13d7b0656733973974aaa3e6cc7d6
This commit is contained in:
parent
8965f11769
commit
70f40ce52b
@ -33,7 +33,7 @@ You can do anything in your task as long as it doesn't touch UI: network request
|
||||
Yes, this does still require some native code, but it's pretty thin. You need to extend `HeadlessJsTaskService` and override `getTaskConfig`, e.g.:
|
||||
|
||||
```java
|
||||
public class MyTaskService extends FbHeadlessJsTaskService {
|
||||
public class MyTaskService extends HeadlessJsTaskService {
|
||||
|
||||
@Override
|
||||
protected @Nullable HeadlessJsTaskConfig getTaskConfig(Intent intent) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user