Skip to content

Commit eefa5a9

Browse files
committed
Add missing search paths step on ios doc
1 parent 0e6ac83 commit eefa5a9

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

docs/ios-installation.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,17 @@ You'll now have the Library included.
5656

5757
![iOS Other libraries](pictures/ios-other-libraries.png)
5858

59-
### 2. Allow voip background
59+
### 2. Add header search path
6060

61-
2.1. Open `Info.plist` file and add `voip` in `UIBackgroundModes`.
61+
2.1. Click on `Build Settings` tab, then search for `Header Search Paths`.
62+
63+
2.2. Add `$(SRCROOT)/../node_modules/react-native-callkeep/ios/RNCallKeep`.
64+
65+
![iOS Search Paths](pictures/ios-search-paths.png)
66+
67+
### 3. Allow voip background
68+
69+
3.1. Open `Info.plist` file and add `voip` in `UIBackgroundModes`.
6270

6371
![iOS info.plist](pictures/ios-info-plist.png)
6472

@@ -71,15 +79,15 @@ By editing this file with a text editor, your should see:
7179
</array>
7280
```
7381

74-
### 3. Updating AppDelegate.m
82+
### 4. Updating AppDelegate.m
7583

76-
3.1. Import Library:
84+
4.1. Import Library:
7785

7886
```diff
7987
+ #import "RNCallKeep.h"
8088
```
8189

82-
3.2. Handling User Activity.
90+
4.2. Handling User Activity.
8391

8492
This delegate will be called when the user tries to start a call from native Phone App.
8593

docs/pictures/ios-search-paths.png

670 KB
Loading

0 commit comments

Comments
 (0)