Comments (13)
I had the same issue. Changing the callback to just "twitter://" worked for me. Not sure if it is the specific name or just that it doesn't work with any special characters like "-" or "." in the scheme...
So:
<data android:scheme="twitter"/>
in the AndroidManifest.xml
and
redirectURI: 'twitter://',
in the TwitterLogin
constructor
from twitter_login.
@0maru But slil not getting any response.
Screen.Recording.2022-07-18.at.12.43.40.PM.mov
from twitter_login.
@Androidsignal
Are you registering test://
as a Callback URI / Redirect URL
in the Twitter Developer portal?
from twitter_login.
@0maru Please help
from twitter_login.
Same problem. I can't solve this problem for 2 weeks now.
My code in AndroidManifest
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<data android:scheme="twitter-audioRoulette-auth"/>
</intent-filter>
My login settings:
final twitterLogin = TwitterLogin(
apiKey: 'xxxxxx',
apiSecretKey: 'xxxx',
redirectURI: 'twitter-audioRoulette-auth://',
);
from twitter_login.
Also i am faceting same issue. Any solution ?
My AndroidManifest Code
here i'm using multiple and this for twitter.
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="twoitwoi.com"
android:scheme="test" />
</intent-filter>
Login code:
final twitterLogin = TwitterLogin(
apiKey: dotenv.env['TWITTER_API_key'].toString(),
apiSecretKey: dotenv.env['TWITTER_API_SECRET_key'].toString(),
redirectURI: "test://twoitwoi.com",
);
from twitter_login.
Please check to see if deeplink is functioning by using the adb command.
If the configuration is correct, the application will start.
adb shell am start -W -a android.intent.action.VIEW -d <deeplink url> <your app name>
for example
adb shell am start -W -a android.intent.action.VIEW -d "test://twoitwoi.com" com.flutter.sample.app
from twitter_login.
Same problem, and I have verify that I have added the callback url in twitter developer portal @0maru
from twitter_login.
Hello @0maru any update on this I have same problem, please update us on this, Thanks!
@bulgarian-beast are you find any solution this also , please update Thanks!
from twitter_login.
@KuldeepVagadiya @bulgarian-beast
Clone the twitter_login repository and verify that the example project works.
If the sample does not work, the minimum reproducible code sample and procedure that will cause this error.
from twitter_login.
Make the host empty or better still remove the host
from twitter_login.
Did anyone solve the issue? iOS everything works fine but for Android I stuck on the callback screen
from twitter_login.
Close Issue.
If a similar error occurs, reopen the issue.
from twitter_login.
Related Issues (20)
- This api.twitter.com page can’t be found HOT 9
- HttpException: Failed Forbidden Flutter HOT 2
- Stuck on redirected URL after authentication & authorization with Twitter HOT 4
- Support other signins from Twitter HOT 1
- PlatformException(400, Failed to generate request token., Please check your APIKey or APISecret., null) HOT 6
- this plugin cannot use the Firebase default callback URL. HOT 15
- W/ActivityThread(16564): handleWindowVisibility: no activity for token android.os.BinderProxy@cd66bb HOT 3
- How to open Twitter login app instead of the website? HOT 1
- Is there a plan to make this package compatible with the new pricing plans of the Twitter API? HOT 5
- Unable to login for iOS or Android HOT 3
- Firebase Auth Handle is not working HOT 3
- vivo, Android,Could not open browser HOT 4
- Type 'VoidCallback' not found HOT 3
- Compatibility issue http migration HOT 1
- Webview opens the swcond time when closing the first one HOT 1
- Change the old Twitter logo HOT 2
- This page isn't working showed up when clicking sign out
- PlatformException(INVALID_AUTHORIZATION, can not open custom tabs., null, null) HOT 1
- No Access Token
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twitter_login.