Closed zhpixel517 closed 1 month ago
Turns out it was because the app was in debug mode, not release mode! Running flutter run --release
, closing the app, then clicking the link worked.
@zhpixel517
hello. In my case, the same phenomenon is seen in the release version as in the video. Is there a solution?
Keep the template and provide all requested information:
Describe the bug I recently implemented deep linking with Branch.io for my flutter app running on iOS. It works as expected when the app is running in the background. When the Branch.io link is clicked, it will open in my Flutter app. However, when the app is completely closed and in a cold state, tapping the link will begin to redirect to the application but then the app crashes immediately.
This is my code for creating and opening deep links:
I made sure to run
FlutterBranchSdk.validateSDKIntegration();
and all the checks passed - myInfo.plist
file configuration appears to be correct.I was able to watch my device's output with Mac's Console app, and when the app crashes, I see some error messages like this:
I also tried following this solution to no success.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expected it to open the app!
Screenshots
https://github.com/user-attachments/assets/1b916e40-62bf-467a-9c41-db013059810c
Mobile (Please complete the following information. remove session if not Mobile):
Flutter: version: 3.24.0
flutter_branch_sdk version: ^8.2.0
OS: iOS 18
Device: iPhone 12 Mini
Additional context N/A