flutter_branch_sdk
flutter_branch_sdk copied to clipboard
crash on ios plugin v8.0.3
Hi , when I create share link on ios real device i got the attached error in xcode log
flutter doctor
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-x64, locale en-EG) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.2) [✓] VS Code (version 1.90.2) [✓] Connected device (3 available) [✓] Network resources
• No issues found!
Please do not remove the additional information that is requested when opening the issue, otherwise your issue will be closed due to lack of detailed information.
Which package version? Which operating system version?
Did you call FlutterBranchSdk.validateSDKIntegration() in your project? Did the result return successfully?
From your screenshot, both the error and url variables are null. This condition should never occur.
Your project has some configuration error.
Please do not remove the additional information that is requested when opening the issue, otherwise your issue will be closed due to lack of detailed information.
Which package version? Which operating system version?
Did you call
FlutterBranchSdk.validateSDKIntegration()in your project? Did the result return successfully?From your screenshot, both the
errorandurl variables are null. This condition should never occur.Your project has some configuration error.
hi,
running on plugin v8.0.3 ios device v : 17.5.1
Did you call FlutterBranchSdk.validateSDKIntegration() in your project? Did the result return successfully?
yes, see the screenshot
your project's uri scheme is strange. should be displayed as in the example
Not "https"
Hi ,
It was working before and here is branch dashboard configs
In my opinion, https is not a schema for an application. it should be the name of the Application or similar to the name. This may be causing an error in the branch's SDK. my first suggestion would be to review the Dashboard and project settings to change this.
If the problem persists after the change, you will have to open an issue with Branch. As the SDK is returning an error, only they can evaluate it.
If the problem persists after the change, you will have to open an issue with Branch. As the SDK is returning an error, only they can evaluate it.
changed the url scheme and I got same error
Code correction made to avoid crash if the URL is not returned
Available in version 8.0.4