Giter Site home page Giter Site logo

Comments (13)

KammererTob avatar KammererTob commented on July 18, 2024 3

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.

Androidsignal avatar Androidsignal commented on July 18, 2024 1

image

@0maru But slil not getting any response.

Screen.Recording.2022-07-18.at.12.43.40.PM.mov

from twitter_login.

0maru avatar 0maru commented on July 18, 2024 1

@Androidsignal
Are you registering test:// as a Callback URI / Redirect URL in the Twitter Developer portal?

from twitter_login.

dqcuong2 avatar dqcuong2 commented on July 18, 2024

@0maru Please help

from twitter_login.

han-tm avatar han-tm commented on July 18, 2024

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.

Androidsignal avatar Androidsignal commented on July 18, 2024

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.

0maru avatar 0maru commented on July 18, 2024

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.

bulgarian-beast avatar bulgarian-beast commented on July 18, 2024

Same problem, and I have verify that I have added the callback url in twitter developer portal @0maru

from twitter_login.

KuldeepVagadiya avatar KuldeepVagadiya commented on July 18, 2024

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.

0maru avatar 0maru commented on July 18, 2024

@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.

tobi-ayeni avatar tobi-ayeni commented on July 18, 2024

Make the host empty or better still remove the host

from twitter_login.

LoadJulz avatar LoadJulz commented on July 18, 2024

Did anyone solve the issue? iOS everything works fine but for Android I stuck on the callback screen

from twitter_login.

0maru avatar 0maru commented on July 18, 2024

Close Issue.
If a similar error occurs, reopen the issue.

from twitter_login.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.