Code Monkey home page Code Monkey logo

Comments (14)

bermudalocket avatar bermudalocket commented on August 16, 2024

Yikes, sorry about that! I've confirmed this is a bug and I am able to reproduce it. I'm very surprised this slipped by the App Store reviewer.

A fix will be in the next update (which should hopefully be approved and released within the next few hours). Thanks for reporting this!

from tweaks-for-reddit.

Fofer avatar Fofer commented on August 16, 2024

You're welcome, and thanks for the quick reply!

I just updated the app, and tried again, but unfortunately I'm still unable to enable this feature. Here's a screen recording: http://i.imgur.com/xt4UWZe.gif

from tweaks-for-reddit.

bermudalocket avatar bermudalocket commented on August 16, 2024

You're welcome, and thanks for the quick reply!

I just updated the app, and tried again, but unfortunately I'm still unable to enable this feature. Here's a screen recording: http://i.imgur.com/xt4UWZe.gif

Hmmm. If you open the main app and select Debug in the sidebar, could you take a screenshot?

from tweaks-for-reddit.

Fofer avatar Fofer commented on August 16, 2024

Sure thing:

http://i.imgur.com/13MVChZ.png

from tweaks-for-reddit.

bermudalocket avatar bermudalocket commented on August 16, 2024

Sure thing:

http://i.imgur.com/13MVChZ.png

Hm, ok. The app knows you made the purchase since 1) it says "Yes" on the Debug view, and 2) it says "Thanks for your support!" on the IAP view. That's good. But clearly there's a disconnect with Safari. Have you restarted Safari since updating Tweaks for Reddit? The popover is supposed to pull changes from iCloud every time it's opened, but there could be some Safari weirdness going on.

Thanks for helping me debug this. This is the first time I've ever offered an in-app purchase and there's clearly a bit of a learning curve :)

from tweaks-for-reddit.

Fofer avatar Fofer commented on August 16, 2024

No problem, happy to help! I tried restarting Safari after updating TfR. I also tried restarting the whole Mac. Same results, the app shows I have paid for IAP, but the checkbox for the live preview feature doesn't stay checked, it just opens the TfR app. Anything else I can try?

from tweaks-for-reddit.

bermudalocket avatar bermudalocket commented on August 16, 2024

No problem, happy to help! I tried restarting Safari after updating TfR. I also tried restarting the whole Mac. Same results, the app shows I have paid for IAP, but the checkbox for the live preview feature doesn't stay checked, it just opens the TfR app. Anything else I can try?

Yeah, one last idea before I dig into the code:

  1. Close Safari
  2. Drag and drop the Tweaks for Reddit.app file in your Applications folder to the trash
  3. Empty your trash to completely remove the app
  4. Confirm the app has been removed by opening Safari, opening Preferences, and checking to make sure Tweaks for Reddit doesn't appear in the extensions list
  5. Close Safari
  6. Reinstall the app from the Mac App Store
  7. Launch the main app
  8. Restore purchases
  9. Launch Safari
  10. Enable the extension in Safari Preferences
  11. Try enabling the in-app purchase from the popover

from tweaks-for-reddit.

Fofer avatar Fofer commented on August 16, 2024

OK, I tried that, and it still didn't work. Same "unable to check the box" behavior even though my purchase of the IAP is already restored and confirmed.

I tried it again, using a utility called "Remove-It" to also delete any preferences or other leftover files related to this app:

CleanShot 2021-05-19 at 22 05 05

Unfortunately, even after a fresh re-install of the Tweaks for Reddit app, and a restore of the purchases, the checkbox in question still didn't work.

from tweaks-for-reddit.

bermudalocket avatar bermudalocket commented on August 16, 2024

@Fofer just wanted to let you know I've been working on this today. I'm rewriting the IAPHelper class by wrapping all of the "delegate Hell" in publishers which, in my opinion, are much easier to handle and reason about. Shouldn't take long.

from tweaks-for-reddit.

bermudalocket avatar bermudalocket commented on August 16, 2024

Okay, I've got this fixed. I'm going to blame it on misunderstanding how iCloud containers work with app groups within the sandbox. The current solution isn't the best for me but on the user's end it's perfectly secure. At some point in the future I'll spin up a web server so I can leverage true App Store receipt validation. We'll see when inspiration strikes.

from tweaks-for-reddit.

Fofer avatar Fofer commented on August 16, 2024

Great, thanks. Looking forward to checking it out.

Awesome work on this BTW, it's very much appreciated.

from tweaks-for-reddit.

bermudalocket avatar bermudalocket commented on August 16, 2024

Great, thanks. Looking forward to checking it out.

Awesome work on this BTW, it's very much appreciated.

Just checking in to see if you've had a chance to update to 1.11.1 and try out the IAP?

from tweaks-for-reddit.

Fofer avatar Fofer commented on August 16, 2024

Yes, I updated and it’s working now! Thanks again! This is great work.

from tweaks-for-reddit.

bermudalocket avatar bermudalocket commented on August 16, 2024

Yes, I updated and it’s working now! Thanks again! This is great work.

Awesome, and thanks!

from tweaks-for-reddit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.