File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 11
11
12
12
3. The ` refreshToken ` function is now called `refreshAccessToken`.
13
13
14
+ 4. Remove the function `application` from `AppDelegate`:
15
+ #### With Swift
16
+ ```swift
17
+ func application(_ application : UIApplication , didFinishLaunchingWithOptions launchOptions : [UIApplication .LaunchOptionsKey : Any ]? ) -> Bool {
18
+ LineLogin .setup (channelID : " YOUR_CHANNEL_ID" , universalLinkURL : nil )
19
+ return true
20
+ }
21
+ ```
22
+
23
+ #### With Objective - C
24
+ ` ` ` objectivec
25
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
26
+ {
27
+ [LineLogin setupWithChannelID:@"YOUR_CHANNEL_ID" universalLinkURL:nil];
28
+ }
29
+ ` ` `
30
+
31
+ 5. Remove the string ` line_channel_id ` from Android resources :
32
+ ` ` ` xml
33
+ <string name="line_channel_id" translatable="false">YOUR_CHANNEL_ID</string>
34
+ ` ` `
35
+
14
36
## v4 → v5
15
37
16
38
1. The file name in the ` AppDelegate ` import has changed .
You can’t perform that action at this time.
0 commit comments