Closed HudsonProenca-sf closed 5 months ago
The Flutter plugin retrieves messages from the Branch SDK.
If there is any difference between the API callback and the Flutter plugin, it must be something internal to the native SDK
Closed. No activity in the last 14 days. If necessary open again.
Which problem is this feature request solving? When receiving an error from Branch, the error looks like:
PlatformException(-116, Trouble initializing Branch. The request was invalid., null, null)
We can't do too much based on the message and code we received.
Describe the solution you'd like When debugging the app natively and enabling the branch logs, I noticed when an error was thrown, we received:
The
message = "Invalid value for property of '$fallback_url', url doesn't pass security tests";
information is a real game changer, and could help me triage and fix issues that are reported by Sentry, for example (where I can't see the native logs because its errors thrown by the user).The idea was to add the additional native information into Flutter's PlatformException, and expose it to the app that is using the branch Flutter plugin.
Describe alternatives you've considered
Can you submit a pull request?
Yes/No.