You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ import com.reactlibrary.linkedinsdk.RNLinkedInSessionManagerPackage; // Add this
55
55
56
56
57
57
## iOS
58
+
58
59
Follow instructions from [Official Guide](https://developer.linkedin.com/docs/ios-sdk) to:
59
60
-[Create an application on LinkedIn](https://www.linkedin.com/secure/developer?newapp=), if haven't done it for Android already.
60
61
-[Configure your app on LinkedIn](https://www.linkedin.com/developer/apps).
@@ -89,6 +90,26 @@ Add to your `{YourApp}/ios/{YourApp}/AppDelegate.h`:
89
90
#import <LinkedinSwift/LSHeader.h>
90
91
```
91
92
93
+
Make sure you have a Swift Bridging Header for your project. Here's [how to create one](http://www.learnswiftonline.com/getting-started/adding-swift-bridging-header/), if you don't.
94
+
Add to your Swift Bridging Header, `{YourApp}-Bridging-Header.h`:
95
+
```
96
+
#import <React/RCTBridgeModule.h>
97
+
#import <React/RCTViewManager.h>
98
+
#import <React/RCTEventEmitter.h>
99
+
#import <LinkedInSwift/LSHeader.h>
100
+
```
101
+
102
+
103
+
Link `react-native-linkedin-sdk`
104
+
- Open up your project in xcode and right click the package.
105
+
- Click `Add files to '{YourApp}'`.
106
+
- Select to `{YourApp}/node_modules/react-native-linkedin-sdk/ios/RNLinkedInSessionManager`.
107
+
- Click 'Add'.
108
+
- Click your project in the navigator on the left and go to `Build Settings`.
0 commit comments