Skip to content

Commit 73b05aa

Browse files
committed
rn .17 bump + moved to vector-icons
1 parent bc770bd commit 73b05aa

File tree

30 files changed

+238
-3280
lines changed

30 files changed

+238
-3280
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Let your users sign in with their Linkedin account.
88
## Requirements
99

1010
Node version 4.3.1
11-
React Native 0.14.2 or greater
11+
React Native 0.14.2 to 0.17.0
1212

1313
## Installation
1414

android/src/main/java/net/jodybrewster/linkedinlogin/RNLinkedinLoginModule.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ public void onApiError(LIApiError apiError) {
187187
@ReactMethod
188188
public void login(final String clientId, final String redirectUrl, final String clientSecret, final String state, final ReadableArray scopes) {
189189

190+
Log.d(TAG, "login: " + clientId);
190191
_activity.runOnUiThread(new Runnable() {
191192
@Override
192193
public void run() {
@@ -199,13 +200,15 @@ public void onAuthSuccess() {
199200
// Authentication was successful. You can now do
200201
// other calls with the SDK.
201202

203+
Log.d(TAG, "onAuthSuccess");
204+
202205

203206
String accessToken = LISessionManager.getInstance(_context).getSession().getAccessToken().getValue();
204-
Log.d(TAG, accessToken);
207+
Log.d(TAG, "onAuthSuccess: " + accessToken);
205208

206209
WritableMap params = Arguments.createMap();
207-
params.putString("accessToken", LISessionManager.getInstance(_context).getSession().getAccessToken().getValue());
208-
params.putDouble("expiresOn", LISessionManager.getInstance(_context).getSession().getAccessToken().getExpiresOn());
210+
params.putString("accessToken", LISessionManager.getInstance(_context).getSession().getAccessToken().getValue());
211+
params.putDouble("expiresOn", LISessionManager.getInstance(_context).getSession().getAccessToken().getExpiresOn());
209212

210213
_context.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class)
211214
.emit("linkedinLogin", params);
-104 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)