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

Account gone after restart #56

Open
royduin opened this issue Oct 26, 2021 · 11 comments
Open

Account gone after restart #56

royduin opened this issue Oct 26, 2021 · 11 comments

Comments

@royduin
Copy link

royduin commented Oct 26, 2021

Every time I restart the app the accounts are gone and I've to reconfigure it. I'm having that issue for years, also with the v1 app. After the 2.0.0 update the app also stays in the dock. When I close it it closes completely. Any ideas?

@ashchan
Copy link
Owner

ashchan commented Oct 26, 2021

@royduin Sorry you have this issue. 2.0 has different account storage from previous 1.x versions (but they still persist to system defaults store), I have no idea why this would happen. Is this happening on the same machine, or is it behaving that on multiple Macs?

Would you mind running this in Terminal.app to reset app data, then relaunch and see if it works properly?

defaults delete com.ashchan.GmailNotifr`

Regarding the app staying in dock, it only does that for the first launch (or when it starts and there's no accounts yet). This is to show the UI by default to add account.

@royduin
Copy link
Author

royduin commented Oct 26, 2021

Got just one Mac so no idea

2021-10-26 13:59:20.418 defaults[51952:18792029]
Domain (com.ashchan.GmailNotifr) not found.
Defaults have not been changed.

Maybe it stays in the dock because of the persistent data issue. I'll try to remove it completely and reinstall.

And what's the current state? It's fully free? Used the free version for years but I'd some issues so I bought the payed version, now it's all free and fully open source again?

@ashchan
Copy link
Owner

ashchan commented Oct 26, 2021

@royduin Yes it’s totally free and will always be (decided to do so during the pandemic). It has been open source from the very beginning.

I rewrote it in SwiftUI but the main update purpose is to bring the long waited google oauth. After I fix new bugs I guess we can leave it as for another few years.

@royduin
Copy link
Author

royduin commented Oct 26, 2021

Awsome, thanks for your work! Removed it, including everything related in Keychain and reinstalled through the App Store, same issues. Got a MacBook Pro (Retina, 15-inch, Mid 2015) on Big Sur 11.1 (20C69).

@ashchan
Copy link
Owner

ashchan commented Oct 26, 2021

That’s sad. Does ‘defaults read com.ashchan.GmailNotifr‘ show any data?

@royduin
Copy link
Author

royduin commented Oct 26, 2021

No nothing:

2021-10-26 15:37:49.213 defaults[55327:18844704]
Domain com.ashchan.GmailNotifr does not exist

Also no results with

defaults domains | grep ashchan

Maybe some permission issue?

@ashchan
Copy link
Owner

ashchan commented Oct 27, 2021

@royduin That's really strange. FYI the actual UserDefaults value should be persisted in this sandbox location:

~/Library/Containers/com.ashchan.GmailNotifr/Data/Library/Preferences/com.ashchan.GmailNotifr.plist

I don't know if uninstalling and deleting the full ~/Library/Containers/com.ashchan.GmailNotifr folder would help a bit.

@royduin
Copy link
Author

royduin commented Oct 27, 2021

Removed the folder but no difference, any other suggestions?

@ashchan
Copy link
Owner

ashchan commented Oct 27, 2021

Unfortunately no. I never encountered this issue before. 🙈

@royduin
Copy link
Author

royduin commented Oct 27, 2021

I'll ask someone else to install it and see if it's working properly. Thanks for your help!

@ashchan
Copy link
Owner

ashchan commented Oct 27, 2021

@royduin thank you for your patience.

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