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

Everytime getting null on link click #1

Open
Bharavi26 opened this issue Jan 24, 2020 · 4 comments
Open

Everytime getting null on link click #1

Bharavi26 opened this issue Jan 24, 2020 · 4 comments

Comments

@Bharavi26
Copy link

in android on link click redirect to app, but on DeepLinkBloc everytime returns null

[√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.18362.592], locale en-US)
• Flutter version 1.12.13+hotfix.5 at F:\flutter_sdk\flutter
• Framework revision 27321ebbad (6 weeks ago), 2019-12-10 18:15:01 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at D:/adt-bundle-windows-x86-20130514/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = D:/adt-bundle-windows-x86-20130514/sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.

[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] Connected device (1 available)
• SM G615F • 4200169d96a47449 • android-arm • Android 8.1.0 (API 27)

• No issues found!

@Noyal
Copy link

Noyal commented Jan 27, 2020

which link you tried @Bharavi26.
Add one more intent filter with scheme as "https",

           <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:scheme="poc"
                    android:host="deeplink.flutter.dev" />
            </intent-filter>
            <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:scheme="https"
                    android:host="deeplink.flutter.dev" />
            </intent-filter>

save the url in note or some draft, then click on the link

https://deeplink.flutter.dev

you will get the app as the prompt to open

@Bharavi26
Copy link
Author

sorry about my type mistake, its working in android but not in ios
thank you for your reply.
in ios , link not open application

@DenisovAV
Copy link
Owner

Sorry for the delayed answer. I've committed the fix for iOS part. Could you try again? Everything works on my side.

@Bharavi26
Copy link
Author

Bharavi26 commented Mar 2, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants