Skip to content

Conversation

a-k-o-r-e-d-e
Copy link

Hello,

W.r.t to issue #227 . Here is a PR that implements the suggested changes.

** Improved the function type specification of BackgroundFetch.regist…erHeadlessTask from "BackgroundFetch.registerHeadlessTask(Function callback)" to "BackgroundFetch.registerHeadlessTask(Function(HeadlessTask) callback)"

** also improved the BackgroundFetch.configure parameter "onFetch" Function declaration from "Function onFetch" to "Function(String taskId) onFetch". A similar thing was done for the "onTimeout" parameter

…erHeadlessTask from "BackgroundFetch.registerHeadlessTask(Function callback)" to "BackgroundFetch.registerHeadlessTask(Function(HeadlessTask) callback)"

** also improved the BackgroundFetch.configure parameter "onFetch" Function declaration from "Function onFetch" to "Function(String taskId) onFetch". A similar thing was done for the "onTimeout" parameter
@christocracy
Copy link
Member

Looks good, thanks. I try it out next week and release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants