Skip to content

Commit e8be329

Browse files
committed
remove memory access token cache when logging out, bump up version to 1.7.6
1 parent d2fd60b commit e8be329

File tree

9 files changed

+60
-9
lines changed

9 files changed

+60
-9
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Build generated
66
build/
77
DerivedData/
8-
xcuserdata/
8+
/xcuserdata/
99

1010
## Various settings
1111
*.pbxuser

Example/Example/Example.xcworkspace/xcuserdata/li.jiantang.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

+50
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,54 @@
22
<Bucket
33
type = "0"
44
version = "2.0">
5+
<Breakpoints>
6+
<BreakpointProxy
7+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
8+
<BreakpointContent
9+
shouldBeEnabled = "Yes"
10+
ignoreCount = "0"
11+
continueAfterRunningActions = "No"
12+
filePath = "Example/ViewController.swift"
13+
timestampString = "545583872.6795681"
14+
startingColumnNumber = "9223372036854775807"
15+
endingColumnNumber = "9223372036854775807"
16+
startingLineNumber = "48"
17+
endingLineNumber = "48"
18+
landmarkName = "login()"
19+
landmarkType = "7">
20+
<Locations>
21+
<Location
22+
shouldBeEnabled = "Yes"
23+
ignoreCount = "0"
24+
continueAfterRunningActions = "No"
25+
symbolName = "Example.ViewController.login() -&gt; ()"
26+
moduleName = "Example"
27+
usesParentBreakpointCondition = "Yes"
28+
urlString = "file:///Users/li.jiantang/workspace/Github/LinkedinSwift/Example/Example/Example/ViewController.swift"
29+
timestampString = "545583872.999633"
30+
startingColumnNumber = "9223372036854775807"
31+
endingColumnNumber = "9223372036854775807"
32+
startingLineNumber = "48"
33+
endingLineNumber = "48"
34+
offsetFromSymbolStart = "56">
35+
</Location>
36+
<Location
37+
shouldBeEnabled = "Yes"
38+
ignoreCount = "0"
39+
continueAfterRunningActions = "No"
40+
symbolName = "closure #1 (__ObjC.LSLinkedinToken) -&gt; () in Example.ViewController.login() -&gt; ()"
41+
moduleName = "Example"
42+
usesParentBreakpointCondition = "Yes"
43+
urlString = "file:///Users/li.jiantang/workspace/Github/LinkedinSwift/Example/Example/Example/ViewController.swift"
44+
timestampString = "545583873.00188"
45+
startingColumnNumber = "9223372036854775807"
46+
endingColumnNumber = "9223372036854775807"
47+
startingLineNumber = "48"
48+
endingLineNumber = "48"
49+
offsetFromSymbolStart = "28">
50+
</Location>
51+
</Locations>
52+
</BreakpointContent>
53+
</BreakpointProxy>
54+
</Breakpoints>
555
</Bucket>

LinkedinSwift.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "LinkedinSwift"
4-
s.version = "1.7.5"
4+
s.version = "1.7.6"
55
s.summary = "Linkedin Oauth Helper, depend on Linkedin Native App installed or not, using Linkdin IOS SDK or UIWebView to login, support Swift with iOS 7"
66

77
s.homepage = "https://github.com/tonyli508/LinkedinSwift.git"

LinkedinSwift/LinkedinSwift.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@
471471
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
472472
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
473473
COPY_PHASE_STRIP = NO;
474-
CURRENT_PROJECT_VERSION = 1.3;
474+
CURRENT_PROJECT_VERSION = 1.7.6;
475475
DEBUG_INFORMATION_FORMAT = dwarf;
476476
ENABLE_STRICT_OBJC_MSGSEND = YES;
477477
ENABLE_TESTABILITY = YES;
@@ -526,7 +526,7 @@
526526
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
527527
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
528528
COPY_PHASE_STRIP = NO;
529-
CURRENT_PROJECT_VERSION = 1.3;
529+
CURRENT_PROJECT_VERSION = 1.7.6;
530530
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
531531
ENABLE_NS_ASSERTIONS = NO;
532532
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -556,7 +556,7 @@
556556
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
557557
DEFINES_MODULE = YES;
558558
DYLIB_COMPATIBILITY_VERSION = 1;
559-
DYLIB_CURRENT_VERSION = 1.3;
559+
DYLIB_CURRENT_VERSION = 1.7.6;
560560
DYLIB_INSTALL_NAME_BASE = "@rpath";
561561
ENABLE_BITCODE = NO;
562562
FRAMEWORK_SEARCH_PATHS = (
@@ -608,7 +608,7 @@
608608
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
609609
DEFINES_MODULE = YES;
610610
DYLIB_COMPATIBILITY_VERSION = 1;
611-
DYLIB_CURRENT_VERSION = 1.3;
611+
DYLIB_CURRENT_VERSION = 1.7.6;
612612
DYLIB_INSTALL_NAME_BASE = "@rpath";
613613
ENABLE_BITCODE = NO;
614614
FRAMEWORK_SEARCH_PATHS = (

LinkedinSwift/LinkedinSwift/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<string>1.7.6</string>
2323
<key>NSPrincipalClass</key>
2424
<string></string>
2525
</dict>

LinkedinSwift/LinkedinSwift/sources/LinkedinSwiftHelper.m

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ - (void)authorizeSuccess:(LinkedinSwiftAuthRequestSuccessCallback)successCallbac
8787
}
8888

8989
- (void)logout {
90+
lsAccessToken = nil;
9091
/// logout all sessions
9192
[nativeClient logout];
9293
[webClient logout];

LinkedinSwift/LinkedinSwiftTests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>1</string>
22+
<string>1.7.6</string>
2323
</dict>
2424
</plist>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Latest version is based on [LinkedIn SDK 1.0.7](https://content.linkedin.com/con
1515
## How to use
1616

1717
```ruby
18-
pod 'LinkedinSwift', '~> 1.7.5'
18+
pod 'LinkedinSwift', '~> 1.7.6'
1919
```
2020

2121
Check out Example project.

0 commit comments

Comments
 (0)