transistorsoft / nativescript-background-fetch

iOS Background Fetch API Implementation for NativeScript
Other
28 stars 9 forks source link

[iOS] Argument of type 'UIApplicationState' is not assignable to parameter of type 'Function'. #13

Closed FranciZ closed 6 years ago

FranciZ commented 6 years ago
Argument of type 'UIApplicationState' is not assignable to parameter of type 'Function'.

When trying to build for iOS this error keeps popping up for the below line. I've followed the instructions and have the references.d.ts setup.

BackgroundFetch.performFetchWithCompletionHandler(completionHandler, application.applicationState);
FranciZ commented 6 years ago

Oops, wrong repo!