Skip to content

Commit

Permalink
docs (iOS): adding import statement (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
theproducer authored Aug 21, 2023
1 parent a3a986e commit 0bf3c65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ If you will be making use of Geolocation or Push Notifications, enable `Location

After enabling the Background Modes capability, add the following to your app's `AppDelegate.swift`:

At the top of the file, under `import Capacitor` add:
```swift
import CapacitorBackgroundRunner
```

```swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

Expand Down
5 changes: 5 additions & 0 deletions packages/capacitor-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ If you will be making use of Geolocation or Push Notifications, enable `Location

After enabling the Background Modes capability, add the following to your app's `AppDelegate.swift`:

At the top of the file, under `import Capacitor` add:
```swift
import CapacitorBackgroundRunner
```

```swift
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

Expand Down

0 comments on commit 0bf3c65

Please sign in to comment.