-
Notifications
You must be signed in to change notification settings - Fork 94
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
Android only - PlatformException(-120, Trouble initializing Branch. Task exceeded timeout., null, null) #406
Comments
When opening an issue, fill in all the requested information. Do not delete any sessions. Without this information, it is not possible to analyze the problem in detail and reproduce it. If the requested information is not provided, the issue will be closed. |
Requested info was edited in, is there a fix on the way? any suggestions how can i workaround the issue? branch sdk completely crashes on android... |
Are you running from an emulator? Have you given internet permission in the Have you checked if the device has internet access? Can it access pages via the browser? This error message is returned by the Branch SDK, not the Flutter plugin. Open a support ticket for Branch at the link or open an issue in the platform repository: |
Is there any other required configuration for android support beside what is described in the readme that might be required. |
Ad blockers interfere with the SDK's operation. I don't know if this is the case. As I mentioned above. This is a message returned by the Native SDK. I suggest you contact the Branch support team. |
I've contacted the native team but no response... D/FlutterBranchSDK(17786): triggered onAttachedToEngine D/FlutterBranchSDK(17786): triggered setupBranch Does anything here would suggest what went wrong? |
E/BranchSDK(17786): Branch Networking Error: |
Description
When app starts, there's a throw that occurs. after that the app deeplink data is clear , FlutterBranchSdk.getLatestReferringParams() fails to retrieve the data, also FlutterBranchSdk.listSession().listen is never triggered.
Everything works on iOS. Happens only on android.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Init should complete without throwing on android, listener should be called when app is opened by deeplink
Screenshots
Mobile:
Additional context
When link is clicked log shows the following:
D/FlutterBranchSDK( 2190): triggered onInitFinished
D/FlutterBranchSDK( 2190): BranchReferralInitListener - error: Trouble initializing Branch. Task exceeded timeout.
E/flutter ( 2190): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(-120, Trouble initializing Branch. Task exceeded timeout., null, null)
E/TRuntime.CctTransportBackend( 2190): Couldn't encode request, returning with 400
E/TRuntime.CctTransportBackend( 2190): javax.net.ssl.SSLHandshakeException: connection closed
E/TRuntime.CctTransportBackend( 2190): at com.android.org.conscrypt.SSLUtils.toSSLHandshakeException(SSLUtils.java:358)
The text was updated successfully, but these errors were encountered: