Well, I'm still angry with Flutterflow that doesn't allow me to retrieve a share on my app and doesn't force me to use an external tool. I don't understand why they release all these useless features and don't solve this problem that many of us have.
Receiving urls in my app with Android studio
So, I tried to solve the problem myself:
In Flutterflow
- I created an appstate
- I made it so that if this appstate is not empty, to call a widget that will contain the appstate
- I also added this dependency because ChatGPT told me to do it: https://pub.dev/packages/receive_sharing_intent/versions/1.8.1
Then I exported my code to try to edit it with chatgpt. I modified the manifest, the main activity and the main.dart. Unfortunately it doesn't compile, I have these two errors:
- "Couldn't resolve the package 'receive_sharing_intent' in 'package:receive_sharing_intent/receive_sharing_intent.dart'."
- "Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\Flutter\flutter\bin\flutter.bat'' finished with non-zero exit value 1
*Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 17s
319 actionable tasks: 1 executed, 318 up-to-date"
I'm not a developer, so I'm fumbling. It's frustrating because I'm trying to do something that should be simple but I can't.
Does anyone have a step-by-step explanation to help me add the feature? Thanks!