Skip to content

Commit 7d81e62

Browse files
authored
Merge pull request #157 from xmartlabs/update-readme
[Chore] Update Readme
2 parents 9231dc7 + c2dcde6 commit 7d81e62

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,21 @@ Line SDK wrapper for React Native 🚀
5858
cd ios && pod install
5959
```
6060

61-
3. Change your `AppDelegate.m` to match the following:
61+
3. Change your `AppDelegate` to match the following:
62+
63+
#### With Swift
64+
65+
```swift
66+
import RNLine
67+
68+
...
69+
70+
override func application(_ application: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
71+
return LineLogin.application(application, open: url, options: options)
72+
}
73+
```
74+
75+
#### With Objective-C
6276

6377
```objectivec
6478
#import "RNLine-Swift.h"

0 commit comments

Comments
 (0)