-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
iOS Interactive Button Action not sent to App (HomeWidgetBackgroundWorker isSetupComplete always false) #219
Comments
I also experienced the same problem. My current solution is to directly go to the source code for home_widget and set the isSetupComplete variable to true right before the codes in the method. So far no issues, on both simulator and physical device, and after reboots. |
Aaah thanks!! This helped me figure it out. I for once dug a bit deeper and realised that I hadn't set the appGroupID in my dart code before registering the interactive callback 🤦 Therefore it really wasn't setup.. |
I created a fork with an option flag Use it like this: Update pubspec.yaml:
|
Hey all! Is it really that the setup never completes? |
Yes, the |
I've noticed that sometimes, when I try to perform an action in a widget, it doesn't go through. This usually happens after a longer period of inactivity. The first action receives no response, but the second works as it should. I suspect this is due to the removal of |
I also encountered this, I had to tap twice for the widget to retrieve data from the app. |
Here is a PR with a proper fix: #229 |
Hi, I just implemented the interactive functionality, where I increase a value that is displayed in my app(s).
Everything works well in Android, but for some reason the iOS action does not.
I noticed that:
I am happy for any pointer in the right direction!
Let me know if you need further info.
The text was updated successfully, but these errors were encountered: