From 0b5daf5db0df97a52cbb30e7998b80b3b79530c8 Mon Sep 17 00:00:00 2001 From: bartonstee <66774568+bartonstee@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:22:54 +0200 Subject: [PATCH] Update README.md --- README.md | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2897f1e..32e36f2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,31 @@ [feature highlights] ## Usage -[step by step instructions] +- Clone this Git +- Go to cloned directory +- Run: npm i +- Run: cd ios && pod install +- Follow steps below: + +iOS + Select the root of your project. Select Capabilities tab. Enable Background Modes and enable the following mode: + + +Background fetch + +Background processing (🆕 iOS 13+; Only if you intend to use BackgroundFetch.scheduleTask) + +68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f732f3976696b356b786f6b6c6b36336f622f696f732d73657475702d6261636b67726f756e642d6d6f6465732e706e673f646c3d31 + +Configure Info.plist (iOS 13+) + + Open your Info.plist and add the key "Permitted background task scheduler identifiers" + 68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f732f7435786667616832676768717477732f696f732d73657475702d7065726d69747465642d6964656e746966696572732e706e673f646c3d31 + + Add the required identifier com.transistorsoft.fetch. + 68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f732f6b7764696f327272323536643835322f696f732d73657475702d7065726d69747465642d6964656e746966696572732d6164642e706e673f646c3d31 + + ## Demo project [link to sandbox]