Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 140 additions & 0 deletions .dart_tool/package_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
{
"configVersion": 2,
"packages": [
{
"name": "async",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.6.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "boolean_selector",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "characters",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "charcode",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "clock",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "collection",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "fake_async",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter",
"rootUri": "file:///opt/flutter/packages/flutter",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter_test",
"rootUri": "file:///opt/flutter/packages/flutter_test",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "matcher",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "meta",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "sky_engine",
"rootUri": "file:///opt/flutter/bin/cache/pkg/sky_engine",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "source_span",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "stack_trace",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "stream_channel",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "string_scanner",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "term_glyph",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "test_api",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "typed_data",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "vector_math",
"rootUri": "file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "flutter_twitter_login",
"rootUri": "../",
"packageUri": "lib/",
"languageVersion": "2.12"
}
],
"generated": "2021-08-04T17:21:05.011018Z",
"generator": "pub",
"generatorVersion": "2.13.4"
}
89 changes: 89 additions & 0 deletions .dart_tool/package_config_subset
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
flutter_twitter_login
2.12
file:///home/navin/Docs/flutter/flutter_twitter_login/
file:///home/navin/Docs/flutter/flutter_twitter_login/lib/
async
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.6.1/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.6.1/lib/
boolean_selector
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
characters
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
charcode
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/lib/
clock
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
collection
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
fake_async
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
matcher
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/lib/
meta
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/lib/
path
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
source_span
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.1/lib/
stack_trace
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
stream_channel
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
string_scanner
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
term_glyph
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
test_api
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.3.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.3.0/lib/
typed_data
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
vector_math
2.12
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/
file:///opt/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
sky_engine
2.12
file:///opt/flutter/bin/cache/pkg/sky_engine/
file:///opt/flutter/bin/cache/pkg/sky_engine/lib/
flutter
2.12
file:///opt/flutter/packages/flutter/
file:///opt/flutter/packages/flutter/lib/
flutter_test
2.12
file:///opt/flutter/packages/flutter_test/
file:///opt/flutter/packages/flutter_test/lib/
2
1 change: 1 addition & 0 deletions .dart_tool/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.2.3
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
compileSdkVersion 27
compileSdkVersion 28

defaultConfig {
minSdkVersion 16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import android.webkit.CookieManager;
import android.webkit.CookieSyncManager;

import androidx.annotation.NonNull;

import com.twitter.sdk.android.core.Callback;
import com.twitter.sdk.android.core.Twitter;
import com.twitter.sdk.android.core.TwitterAuthConfig;
Expand Down Expand Up @@ -45,7 +47,7 @@ private TwitterLoginPlugin(Registrar registrar) {
}

@Override
public void onMethodCall(MethodCall call, Result result) {
public void onMethodCall(MethodCall call,@NonNull Result result) {
switch (call.method) {
case METHOD_GET_CURRENT_SESSION:
getCurrentSession(result, call);
Expand All @@ -62,7 +64,7 @@ public void onMethodCall(MethodCall call, Result result) {
}
}

private void setPendingResult(String methodName, MethodChannel.Result result) {
private void setPendingResult(@NonNull String methodName, MethodChannel.Result result) {
if (pendingResult != null) {
result.error(
"TWITTER_LOGIN_IN_PROGRESS",
Expand Down
Loading