Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Redirect to App #73

Open
afdaldev opened this issue Jul 5, 2023 · 2 comments
Open

Can't Redirect to App #73

afdaldev opened this issue Jul 5, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@afdaldev
Copy link

afdaldev commented Jul 5, 2023

1. Current bug behavior

  • after authorize app no,, auth successfully but, not redirect to App (without twitter app)
  • can't authorize if use twitter app

2. Expected behavior

  • After authorize app, automatic redirect to app

3. Steps to reproduce

i'have follow step :

  1. add activity Manifest scheme: app.name and host: callback
  2. in Twitter OAuth Client:
    -redirectUri: 'app.name:https://callback/'
    -customUriScheme: app.name

callback in Developer Portal : app.name:https://callback/

4. Flutter doctor output

[!] Flutter (Channel stable, 3.10.4, on macOS 11.3.1 20E241 darwin-x64, locale en-ID)
    • Flutter version 3.10.4 on channel stable at /Users/afdaldev/fvm/versions/stable
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/2.18.5/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/afdaldev/fvm/versions/stable. Consider adding /Users/afdaldev/fvm/versions/stable/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 682aa387cf (4 weeks ago), 2023-06-05 18:04:56 -0500
    • Engine revision 2a3401c9bb
    • Dart version 3.0.3
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/afdaldev/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.78.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.64.0

[✓] Connected device (3 available)
    • M2012K11AG (mobile) • 1029b3f0 • android-arm64  • Android 13 (API 33)
    • macOS (desktop)     • macos    • darwin-x64     • macOS 11.3.1 20E241 darwin-x64
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 114.0.5735.198

[✓] Network resources
    • All expected network resources are available.

5. More environment information

6. Log information

Just this log after hit authorize app button
D/MiuiMultiWindowAdapter(17268): MiuiMultiWindowAdapter::getFreeformVideoWhiteListInSystem::LIST_ABOUT_SUPPORT_LANDSCAPE_VIDEO = [com.hunantv.imgo.activity, com.tencent.qqlive, com.qiyi.video, com.hunantv.imgo.activity.inter, com.tencent.qqlivei18n, com.iqiyi.i18n, tv.danmaku.bili]
D/AppScoutStateMachine(17268): 17268-ScoutStateMachinecreated
D/IS_CTS_MODE(17268): false
D/MULTI_WINDOW_ENABLED(17268): false

@afdaldev afdaldev added the bug Something isn't working label Jul 5, 2023
@afdaldev afdaldev changed the title No Redirect to App Can't Redirect to App Jul 7, 2023
@afdaldev afdaldev changed the title Can't Redirect to App Not Redirect to App Jul 7, 2023
@afdaldev afdaldev changed the title Not Redirect to App Can't Redirect to App Jul 7, 2023
@junixapp
Copy link

junixapp commented Aug 9, 2023

me too

@yubenben
Copy link

try android:launchMode="singleTask" fix my problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants