Skip to content
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

Set Number Value Not Being Remembered #210

Open
ddn2003 opened this issue Dec 27, 2023 · 5 comments
Open

Set Number Value Not Being Remembered #210

ddn2003 opened this issue Dec 27, 2023 · 5 comments

Comments

@ddn2003
Copy link

ddn2003 commented Dec 27, 2023

At random when I recall a number using the Get Number function it gets the wrong value. For example, I set the value to 0.625 and at random, it will be recalled as 1.000. This only started with the most recent Actions update.

This is an exactly of a Shortcut that this happens in.
https://www.icloud.com/shortcuts/3e1485e931804bf99ba972a278b9aa4f


Actions 3.0.0 (58) - com.sindresorhus.Actions
iOS 17.3
iPhone16,2

@sindresorhus
Copy link
Owner

Nothing changed with this action in v3.

I recommend reducing the shortcut down to just "Set Number" and "Get Number" to make sure the problem is with those actions and not any of the other actions in the shortcut. Also try restarting your device.

@ddn2003
Copy link
Author

ddn2003 commented Dec 28, 2023

I’ve tried that. I’ve added a “Show Alert” to each part of the If Then statement so I can monitor the Set Number value before the volume is changed. I’ll monitor it and see if it still happens.

@ddn2003
Copy link
Author

ddn2003 commented Dec 28, 2023

Nothing changed with this action in v3.

I recommend reducing the shortcut down to just "Set Number" and "Get Number" to make sure the problem is with those actions and not any of the other actions in the shortcut. Also try restarting your device.

I think I may have figured it out. I have 2 other shortcuts, one runs when an app is opened and the other when it closes. When I open the app, all appears to work well. When I tap on a notification to open the app, that’s where the Get number messes up and re-sets it to 1.000.

Open:
https://www.icloud.com/shortcuts/fc06ac55769f4ac4b4f58432ff903649

Close:
https://www.icloud.com/shortcuts/33a4b2116a1b4df086e8fe65fc6f826b

@ddn2003
Copy link
Author

ddn2003 commented Dec 31, 2023

Nothing changed with this action in v3.
I recommend reducing the shortcut down to just "Set Number" and "Get Number" to make sure the problem is with those actions and not any of the other actions in the shortcut. Also try restarting your device.

I think I may have figured it out. I have 2 other shortcuts, one runs when an app is opened and the other when it closes. When I open the app, all appears to work well. When I tap on a notification to open the app, that’s where the Get number messes up and re-sets it to 1.000.

Open: https://www.icloud.com/shortcuts/fc06ac55769f4ac4b4f58432ff903649

Close: https://www.icloud.com/shortcuts/33a4b2116a1b4df086e8fe65fc6f826b

I can confirm the Get Number action does not work when opening the app from a notification. It always re-sets to 1 instead of 0.625.

@ddn2003
Copy link
Author

ddn2003 commented Jan 26, 2024

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants